regro / cf-scripts

Flagship repo for cf-regro-autotick-bot
Other
46 stars 70 forks source link

How to automatically update checksums for the source list #2821

Open ZzEeKkAa opened 5 days ago

ZzEeKkAa commented 5 days ago

Is it possible to autogenerate checksums for the source list. We have repack package that contains numerous source and updating it manually one by one would be time consuming. It would be nice to have an option to manually update veraiables in meta.yaml and run script to generate new checksums. Since the repo can do it for autogenerated PRs I've been wondering if it is possible to reuse that code for described scenario.

https://github.com/conda-forge/intel-compiler-repack-feedstock https://github.com/conda-forge/intel_repack-feedstock

beckermr commented 5 days ago

Did you try the admin command that will make version prs for you?

I don't have a docs link handy but you can specify a specific version with that command.

ZzEeKkAa commented 5 days ago

Unfortunately link depends on both version and build_number variable. That means even if version is auto updated, it will result into broken link and there will be nothing to get cache from...

beckermr commented 5 days ago

Ahhhh. That is a use case we don't support. The build number denotes the recipe version for a fixed package version. Your use case breaks that. It sounds like you need to incorporate w/e is in the build number in the software version.