Code Monkey home page Code Monkey logo

Comments (4)

tartley avatar tartley commented on August 15, 2024

When users run ctags --version on the installed snap, the reported version information includes both the 8 character git commit and the date of compilation, so these will be visibly comparable.

from ctags-snap.

tartley avatar tartley commented on August 15, 2024

I'm wondering about whether to make the timestamp embedded in the version contain the hour-minute-second too, so that multiple releases made on the same day, from different commits, will be ordered correctly.

  • 0.2.2019-09-21-39e840e6

vs

  • 0.2.2019-09-21-21-43-55-39e840e6

from ctags-snap.

tartley avatar tartley commented on August 15, 2024

"Snap versions consist of upper- and lower-case alphanumeric characters, as well as periods, colons, plus signs, tildes, and hyphens. They cannot begin or end with a period, colon, or hyphen. They cannot begin with plus sign, tilde."

So we could do

  • 0.2.2019-09-21+21:43:55+39e840e6

from ctags-snap.

tartley avatar tartley commented on August 15, 2024
$ git show --format="%ci %h" -s | cut -d' ' -f1-2,4 | tr ' ' '+'
2019-09-20+13:49:53+39e840e6

from ctags-snap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.