[Repology] [Partial] [Batch] Add URL field to all packages beggining with A letter
Add URL field to yaml melange files to ensure future repology compatibility
Partial Fixes for : https://github.com/wolfi-dev/os/issues/23847
Open questions
Do I need to bump the epoch number (default in this PR) or do we just update the url field and wait for an epoch bump to be taken into account ?
Is it ok to work with batch for resolving this issue ? Is it better to have smaller batch or do we keep the letter partitioning ?
This Pull Request is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.
This is the first step of adding URL information to all the Wolfi package which wasn't set up with it. It will unlock the capability to enable repology and renovate to fetch wolfi meta data.
Resync the pull request with main Waiting for an approval from maintainer to go further
URLs that match git-checkout repository could be automated by making a change to https://github.com/chainguard-dev/melange Or indeed we can mass extract and mass commit them. URLs that point to a homepage are indeed likely only human discoverable and are useful. Epoch bumps are needed to trigger the rebuild, for this field to propagate into .apk, and for it to end up in the apk installed database. Would be nice to have some pedantic consistency, i think we prefer URLs without a trailing '/'. But also we mix & match with and without .git today, I guess I should write a wolfictl lint for this.
That great,
@xnox, after this change gets pushed, I will look at the letter N to Z from now on. @lioneloh do you want to take the rest of the alphabet?
@xnox I removed trailing slash on url, so everything is clean from start. Resync with main and resolved conflict @davzucky I will take letters from B to M. I will stick to one pull request per letter (unless very few package on the given letter) to avoid lengthy resync and conflict resolution
Perfect, I will start after that PR so I can use it as template.
ok build is failing never on the same packages. The failed packages compile flawlessly in local on my computer. Maybe there is too many packages and we are running out of space on runner but i can't access build log to find the root cause. Do i need to split this pull request in smaller chunks ? @xnox any hints ?
I created a PR for the Z letter. https://github.com/wolfi-dev/os/pull/31234
I think first maintainers of melange would like to automate setting url field to the default/first git-checkout or fetch pipeline url. As that will automatically cover majority of things.
If that somehow is not good enough data and more specific homepage urls are desired, we can then merge individual updates to customized / more-common urls.
Thanks for feedback, I will wait for the change to be pushed in this case. I will put on hold this PR for now
Hi @xnox, Any update on the default URL automatic population ?
Have a merry Christmas ! 🎄
Bump this PR for any feedback ...