autospec
autospec copied to clipboard
Add an option to update packages
Currently modifying Makefile to update to a new upstream version for every package; it may be simplified
A proposal:
make autospec upstream-update
which will print a list of newer versions available upstream, then a prompt to pick one, continue building as usual.
The makefiles are used by https://github.com/clearlinux/common. Is there a specific request for autospec here or just the tooling that calls autospec?
Basically, I would like to avoid updating Makefiles manually, instead have autospec do it if it makes sense.
Autospec does not actually use the Makefiles and therefore should not be writing them. The Makefiles are used by the common tooling to construct arguments to pass to autospec (among other things). Modifications to the Makefiles should be done via https://github.com/clearlinux/common
IOH, to add a new package I do make autospecnew URL="foo-x.y.z.tar.bz" NAME="foo".
To update a package I'd like to do something like:
make autospecupdate NAME="foo"
and then it figures out how to update it to foo-x'.y'.z'.
IIUC, today I have to modify Makefile with URL.