Code Monkey home page Code Monkey logo

Comments (9)

 avatar commented on July 17, 2024

Hmm.. will have to see how we do this, since I have no QA process, unstable channels or any of that stuff, so the best version for users is always the latest, as far as I am concerned.

I could tag versions that I feel better about than others, but probably that only means that Debian users will be behind on bug fixes most of the time.

Can you use the date as version? That's what the app itself does (in the about menu). I don't do traditional versions as they tend to become meaningless.

from treesheets.

infinity0 avatar infinity0 commented on July 17, 2024

I can use the date of the last git commit as the version, but this is not the same as __DATE__, which is the build time.

You could do something like CXXFLAGS += -DVERSION=$$(git show -s --format='%ci .%h' | cut -b1-4,6-7,9-10,27-34) in the Makefile which results in something like 20150519.69990a2f. On top of that, it would be good to reflect this in the filename of the tarballs you publish, instead of it being buried in the About dialog box.

(Generally, we're trying to discourage people from using __DATE__ and build-time things, see https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal for background.)

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

I agree they're not quite the same, but the date of the commit is really the canonical version. I use DATE to keep things simple.. same for the tarball naming :)

from treesheets.

infinity0 avatar infinity0 commented on July 17, 2024

Yeah sure, it just makes it a bit awkward to figure out which git commit a particular tarball corresponds to. But I suppose as long as you're not officially releasing source tarballs, I can just fake the "upstream tarball" for Debian and do a "git archive" at a particular commit.

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

What do you need my tarballs for, though? I generate binaries pretty infrequently. The contents of the tarball is simply the TS folder in the repo (with the binary after a build).

from treesheets.

infinity0 avatar infinity0 commented on July 17, 2024

I need tarballs of the source package, it's just how Debian packaging works. Most FOSS projects have these, it's sort of a convention, and the Debian project generally believes this is a good thing to do, so they haven't tried to update the standard to remove this requirement.

For projects released directly from VCS that make no tarball releases, there are some Debian tools that essentially generate a "pretend" upstream tarball, so it's not a massive problem. But let me know if you do decide to release "official" source tarballs one day, and I can then do it the "proper recommended way" and/or give you some info on "best practises" with that.

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

Ahh ok.. yeah people that want source typically are ok with using github.

from treesheets.

Vaelatern avatar Vaelatern commented on July 17, 2024

I'm regularly tagging commits after a flurry of activity and then a period of no action. I assume that if people using HEAD don't notice any problem in a couple weeks, it's safe to tag.

These tags are then pushed to Void Linux's repos, though they are available to other distributions.

I suspect this issue may be closable.

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

@Vaelatern that could even be an automated thing: see commits with longest gap between them :)

from treesheets.

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.