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

Running calcyfy with a -u distribution url adds it to the json, even if it already exists #50

Open
spikelynch opened this issue Feb 2, 2020 · 0 comments

Comments

@spikelynch
Copy link
Contributor

If a distribution url is already defined by the json metadata, and I pass one in with the -u flag, the script adds the -u url to the json file and updates it, even if it's the same URL.

If you aren't aware of this behaviour, repeatedly generating HTML using calcyfy means that each new version has another download link.

The script should probably issue a warning if it gets two distribution urls, and also be smart enough to not generate multiple download links if the metadata has duplicates.

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

No branches or pull requests

1 participant