Skip to content
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

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

loremattei
Copy link
Contributor

@loremattei loremattei commented Oct 12, 2023

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 **

  1. Check CI is green.
  2. Verify unit tests pass.
  3. Smoke test the app to make sure privacy features work.

Internal references:

Software Engineering Expectations
Technical Design Template

@loremattei loremattei requested a review from ayoy October 12, 2023 21:06
@loremattei loremattei marked this pull request as ready for review October 12, 2023 21:06
@loremattei loremattei force-pushed the loremattei/add-note-for-tds-privacy branch from 18e1dcb to 042648b Compare October 12, 2023 21:08
@github-actions
Copy link

github-actions bot commented Oct 12, 2023

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against dfd861d

@@ -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"
Copy link
Contributor

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 :)

Copy link
Contributor Author

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.

Copy link
Contributor

@ayoy ayoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @loremattei!

@loremattei loremattei merged commit 1fef42a into develop Oct 15, 2023
11 checks passed
@loremattei loremattei deleted the loremattei/add-note-for-tds-privacy branch October 15, 2023 19:44
samsymons added a commit that referenced this pull request Oct 17, 2023
* develop:
  address bar position (#2072)
  Fix privacy tests (#2097)
  Add note about Danger matching rules (#2087)
  Release 7.93.0 (#2096)
  Update tabs tests (#2088)
samsymons added a commit that referenced this pull request Oct 27, 2023
* 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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants