Nixpkgs/Update Scripts: Difference between revisions

Add nix-update-script as alternate to unstableGitUpdater
m Unstable Git Updater: tagConverter: switch to permalink example.
Line 43: Line 43:
   hardcodeZeroVersion = false; # Optional - Use a made-up version "0" instead of latest tag. Use when the project's tagging system is incompatible with what we expect from versions
   hardcodeZeroVersion = false; # Optional - Use a made-up version "0" instead of latest tag. Use when the project's tagging system is incompatible with what we expect from versions
   tagFormat = "*"; # Optional - A `git describe --tags --match '<format>'` pattern that tags must match to be considered
   tagFormat = "*"; # Optional - A `git describe --tags --match '<format>'` pattern that tags must match to be considered
   tagConverter = null; # Optional - command to convert more complex tag formats. It receives the git tag via stdin and should convert it into x.y.z format to stdout. Example: https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ch/chirp/package.nix#L41-L45
   tagConverter = null; # Optional - command to convert more complex tag formats. It receives the git tag via stdin and should convert it into x.y.z format to stdout. Example: https://github.com/NixOS/nixpkgs/blob/c0d71ad01729bf1acca3200ab418301ff2f9ee81/pkgs/by-name/ch/chirp/package.nix#L69-L73
   shallowClone = true; # Optional - do not perform a complete clone
   shallowClone = true; # Optional - do not perform a complete clone
};
};