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

tools: skip contract date rendering, small CI fixups. #1812

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

cpu
Copy link
Contributor

@cpu cpu commented Jul 26, 2023

Description

This is an alternative to #1809

More cleanup is probably in order (in particular, making a proper Go module for this tool) but for now let's do the simple stuff.

tools: don't render date of contract signature.

ICANN is updating the contract date field in the gtlds.json file for many contracts in the near future. Since including the contract date in the .dat file as comments isn't very helpful to anyone, and leaving it in during this renewal period would result in a large quantity of auto-pull requests for no-op changes, we choose to omit the date as a quick fix.

This commit updates the newtlds.go tool to no longer process/render the DateOfContractSignature. Unit tests are updated to reflect this change.

ci: run Go unit tests as part of test.yml.

Previously the Go unit tests for the newgtlds tool were run as part of the Travis workflow for each branch push. This is helpful to catch breaking changes to the Go tooling before they are merged and used in the tld-update.yml workflow.

This commit adds the required steps to test.yml so that these unit tests are run by GitHub actions similar to the way they were for Travis.

ci: switch to latest stable go.

Does what it says on the tin.

ci: remove stale comment in tld-update.yml

The comment about the automation being on-hold was leftover from a period ~two years ago. It isn't accurate, the automation has been running, and it properly handles the header timestamp issue that caused it to be temporarily disabled.

Meta discussion

Speaking frankly: I find it hard to prioritize supporting this automation. I'm not a maintainer of this repo, I don't have as much stake in the PSL as when I worked at Let's Encrypt, I've been writing less Go lately, and I have other hobby projects to spend my free time on :-)

I'd be happy for someone else to take over maintenance and future development. Alternatively, if Mozilla or another organization has funding I'm available for part-time contract work.

However, since I know many of the folks involved here are volunteers and the PSL is load bearing for the broader internet I will continue to help where I can if there aren't better alternatives. Mostly I feel it's important to lay my cards on the table to help set expectations.

cpu added 4 commits July 26, 2023 17:41
ICANN is updating the contract date field in the `gtlds.json` file for
many contracts in the near future. Since including the contract date in
the `.dat` file as comments isn't very helpful to anyone, and leaving it
in during this renewal period would result in a large quantity of
auto-pull requests for no-op changes, we choose to omit the date as
a quick fix.

This commit updates the `newtlds.go` tool to no longer process/render
the `DateOfContractSignature`. Unit tests are updated to reflect this
change.
Previously the Go unit tests for the `newgtlds` tool were run as part of
the Travis workflow for each branch push. This is helpful to catch
breaking changes to the Go tooling _before_ they are merged and used in
the `tld-update.yml` workflow.

This commit adds the required steps to `test.yml` so that these unit
tests are run by GitHub actions similar to the way they were for Travis.
The comment about the automation being on-hold was leftover from
a period ~two years ago. It isn't accurate, the automation _has_ been
running, and it properly handles the header timestamp issue that caused
it to be temporarily disabled.
@dnsguru dnsguru added ✅ autopull Automation pull from Authoritative ICANN json source 🚩ICANN (IANA/ICP-3) Section PR changes in the ICANN/IANA section typically reserved for TLDs. labels Jul 27, 2023
@dnsguru dnsguru added NOT IOS FB Submitter attests PR is not #1245 related non .dat Change or Coding Review Alteration to code/automation or publicsuffix.org site labels Jul 30, 2023
@weppos
Copy link
Member

weppos commented Aug 2, 2023

Fixes #1806

@weppos weppos closed this Aug 2, 2023
@weppos weppos reopened this Aug 2, 2023
@weppos weppos merged commit c6d22c8 into publicsuffix:master Aug 2, 2023
@cpu cpu deleted the cpu-gtld-gen-no-contract-date branch August 2, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ autopull Automation pull from Authoritative ICANN json source 🚩ICANN (IANA/ICP-3) Section PR changes in the ICANN/IANA section typically reserved for TLDs. non .dat Change or Coding Review Alteration to code/automation or publicsuffix.org site NOT IOS FB Submitter attests PR is not #1245 related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants