-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add note about Danger matching rules #2087
Conversation
18e1dcb
to
042648b
Compare
scripts/update_embedded.sh
Outdated
@@ -60,5 +60,6 @@ performUpdate() { | |||
rm -f "$TEMP_ETAG_FILENAME" | |||
} | |||
|
|||
# The following URLs shall match the ones in AppURLs.swift. Danger checks that the URLs match on every PR. If the code changes, the regex that Danger uses may need an update. | |||
performUpdate 'https://staticcdn.duckduckgo.com/trackerblocking/v5/current/ios-tds.json' "${base_dir}/Core/AppTrackerDataSetProvider.swift" "${base_dir}/Core/trackerData.json" | |||
performUpdate 'https://staticcdn.duckduckgo.com/trackerblocking/config/v2/ios-config.json' "${base_dir}/Core/AppPrivacyConfigurationDataProvider.swift" "${base_dir}/Core/ios-config.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoa, at first I thought that the Danger error for this PR was a false negative, but this URL actually is different than the one in AppURLs.swift
and should be updated 😳 At least we've just verified that your new Danger check works :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
I've updated the link and embedded files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @loremattei!
* develop: (28 commits) Update BSK with autofill 9.0.0 (#2103) Add an “Open VPN Settings” quick action (#2089) bump BSK (changed dashboard API) (#2111) Integrate BSK changes (#2101) bump bsk for duckplayer fixes on BigSur (#2106) iOS VPN Settings part 1 (#2109) Release 7.94.0 (#2107) Append build number to metricKit crash version (#2100) Disable NetP errors temporarily (#2102) NetP: Fix server location formatting (#2099) address bar position (#2072) Fix privacy tests (#2097) Add note about Danger matching rules (#2087) Release 7.93.0 (#2096) Release 7.93.0 (#2096) Update tabs tests (#2088) Ignore form factor specific favorites if they're received in Sync response (#2083) Update BSK with autofill 8.4.2 (#2084) Bump C-S-S to 4.39.0 (#2085) BSK hotfix 80.3.0-1 merged to the main branch (#2079) ...
Task/Issue URL: https://app.asana.com/0/1200194497630846/1205584545360104/f
Tech Design URL:
CC:
Description: Add note about a Danger rule that checks Privacy and TDS files URL matching.
Update: It turned out we actually needed to update the embedded file URL, so I also committed that change.
** Test **
Internal references:
Software Engineering Expectations
Technical Design Template