autospec icon indicating copy to clipboard operation
autospec copied to clipboard

Add an option to update packages

Open chivakker opened this issue 6 years ago • 4 comments

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.

chivakker avatar Jun 01 '18 17:06 chivakker

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?

matthewrsj avatar Jun 01 '18 18:06 matthewrsj

Basically, I would like to avoid updating Makefiles manually, instead have autospec do it if it makes sense.

chivakker avatar Jun 01 '18 19:06 chivakker

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

matthewrsj avatar Jun 01 '18 19:06 matthewrsj

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.

chivakker avatar Jun 01 '18 19:06 chivakker