Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

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

Open

Description

@bktan8

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

Activity

  1. bryteise commented on Jul 12, 2018

    @bryteise
    Contributor

    Version of what? Clear Linux?

  2. bktan8 commented on Jul 12, 2018

    @bktan8
    Author

    autospec / common tooling

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

  3. bryteise commented on Jul 12, 2018

    @bryteise
    Contributor

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

  4. phmccarty commented on Jul 24, 2018

    @phmccarty
    Contributor

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions