Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would be great to have version info about autospec/common #7

Open
bktan8 opened this issue Jul 12, 2018 · 4 comments
Open

Would be great to have version info about autospec/common #7

bktan8 opened this issue Jul 12, 2018 · 4 comments

Comments

@bktan8
Copy link

bktan8 commented Jul 12, 2018

Can we do something like "make version" which shows installed version and available update version?

@bryteise
Copy link
Member

Version of what? Clear Linux?

@bktan8
Copy link
Author

bktan8 commented Jul 12, 2018

autospec / common tooling

i just want to know if i'm behind or not.

@bryteise
Copy link
Member

Those aren't versioned. make pull will update them though.

@phmccarty
Copy link
Contributor

phmccarty commented Jul 24, 2018

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants