Git Product home page Git Product logo

Comments (5)

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024 1

I'm not really familiar with brew, but it seems like the package is pinned to the v0.2.0.1 tag, which is unfortunate since the tags are really meant more for the haskell program than the script.

If you know more about homebrew and could help with this, here is the PR which originally added xdg-ninja to homebrew: Homebrew/homebrew-core#104762.

from xdg-ninja.

KaBankz avatar KaBankz commented on August 18, 2024 1

You can always install using the --HEAD flag to install from the latest commit.

brew install xdg-ninja --HEAD

Then upgrade using the --fetch-HEAD flag (only works if you installed from HEAD)

brew upgrade xdg-ninja --fetch-HEAD

from xdg-ninja.

realitymolder avatar realitymolder commented on August 18, 2024

I'm not really familiar with brew, but it seems like the package is pinned to the v0.2.0.1 tag, which is unfortunate since the tags are really meant more for the haskell program than the script.

If you know more about homebrew and could help with this, here is the PR which originally added xdg-ninja to homebrew: Homebrew/homebrew-core#104762.

Ok, so I did some research, it seems like the progress is manual.
It is mostly dependent on releasing a new binary, but I see that it hasn't been made since May.
So I will suggest 2 solutions:

  1. Release a binary in the repo "release page" every month, a new version with the newest binaries. This will then be updated manually in the brew formula.
  2. Add a function to update the script / JSON database from the script itself - after it has been made, update the Homebrew version "for the last time".

from xdg-ninja.

arcuru avatar arcuru commented on August 18, 2024

The version in nixpkgs also uses the release tags fyi.

These package managers will always be pinned to something, so when there are releases that's generally what they will use. From the package manager's perspective it is a lot easier if a project has occasional releases but they are usually able to just pin to random git commits if necessary.

from xdg-ninja.

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024

but they are usually able to just pin to random git commits if necessary.

At least for nix that's the case, and I think that's probably the best way to go in this case, since it doesn't really make sense to create a release for every program added, and I'm not sure what else to base it on, except for maybe periodical releases every few months.

from xdg-ninja.

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.