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

Includes a copy of publicsuffix.org's effective_tld_names.dat as a test fixture #574

Merged

Conversation

garydgregory
Copy link
Member

@garydgregory garydgregory commented Aug 23, 2024

Includes a copy of in https://publicsuffix.org/list/effective_tld_names.dat in httpclient5/src/test/resources/org/publicsuffix/list/effective_tld_names.dat

Or, should this be a runtime resource?

httpclient5/pom.xml Show resolved Hide resolved
@garydgregory garydgregory force-pushed the 5.4.x_copy_effective_tld_names.dat branch from a848712 to c9fd5a4 Compare August 23, 2024 20:11
httpclient5/pom.xml Outdated Show resolved Hide resolved
https://publicsuffix.org/list/effective_tld_names.dat
in httpclient5/src/test/resources/org/publicsuffix/list/effective_tld_names.dat

Cleanly separate the concerns of which file to copy and whether to
filter it or not by using two <resource> elements:

- We want the .properties file copied and filtered. The git master
version causes only the properties file to be copied, the .dat file is
not copied.
- We want to the .dat file copied but not filtered.
@garydgregory garydgregory force-pushed the 5.4.x_copy_effective_tld_names.dat branch from c9fd5a4 to 46402a5 Compare August 24, 2024 17:27
@ok2c
Copy link
Member

ok2c commented Aug 25, 2024

@garydgregory All looks good. Please go ahead and merge.

@garydgregory garydgregory merged commit 648690f into apache:master Aug 25, 2024
10 checks passed
@garydgregory
Copy link
Member Author

@garydgregory All looks good. Please go ahead and merge.

@ok2c
👍 done!

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