Automatize update of valid TLDs
Closed this issue · 5 comments
Maks3w commented
Actually Hostname validator depends of a regular execution of bin/update_hostname_validator.php for to host an up to date list of IANA TLDs
This should be automatized and even the list could be published in a different package for to allow more regular updates for LTS versions and newer.
Discussion: #2
fntlnz commented
In discussion #2 @weierophinney asked:
And do what? Commit the changes from Travis? That seems risky...
What do you think about marking the build as failed if TLDs are not updated? This would highlight the necessity to update them in order to restore the green badge.
Maks3w commented
That was my suggestion. To execute the script and if git status is dirty then fail
fntlnz commented
mm.. ok I did not notice
fntlnz commented
Yes, sounds good to me