common
common copied to clipboard
Would be great to have version info about autospec/common
Can we do something like "make version" which shows installed version and available update version?
Version of what? Clear Linux?
autospec / common tooling
i just want to know if i'm behind or not.
Those aren't versioned. make pull will update them though.
@bktan8 I am thinking that the common tooling should support doing a "fetch" operation to retrieve the latest state of common, autospec, etc and possibly all package repos.
A new command like make versionstatus
could then compare the state of the local repos with the remote repos.
Let's say you ran a make pull
at some point, then two weeks later, you want to know how far behind you are. Then perhaps you could do:
$ make versionstatus
*** Repos up-to-date. Run make fetch [REPO=<name>] to retrieve latest repo state
$ make fetch REPO=projects/common
$ make versionstatus
projects/common is 45 commits behind
$ make pull-projects/common
...
Maybe a versiondiff
command would also be helpful to inspect the diff between local and remote branches?