Skip to content

v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 22:18
· 7 commits to main since this release

tack now has a book at https://docs.manic.systems/tack, covering everything from tack init to every key in pins.toml.

Breaking

  • follows and omits no longer reach into the .tack of a fetch pin unless that project sets [tack] recomposable = true. tack prints a trace when an override gets skipped.
  • a resolver you took ownership of needs the matching # tack-resolver: line at its top to lock tag or patches entries (#125). tack-managed resolvers get it automatically.
  • an omitted input now evaluates to null with a warning, where it used to throw (#221).
  • pin names have to be plain file names, so no /, . or ...
  • an input field with the wrong type (a string where a bool belongs, say) is an error instead of being ignored.

Highlights

  • declarative patches with tack patch, refreshed when the pull request is rebased and dropped once it lands upstream
  • tag following with tag = "v{version}", named placeholders and tags_from pages
  • pin groups, [groups.<name>] defaults, freeze and unfreeze
  • top-level follows, [tack] type and fetch_mode = "build"
  • commit signature checks against [signers], plus tack verify for CI
  • tack tree, netrc and http.extraHeader auth, and each pin downloaded once across tack update and nix build

What's Changed

  • cli: fix version reporting by @faukah in #98
  • .tack: small nix performance wins by @llakala in #79
  • update: add --exclude argument by @iynaix in #86
  • dedup: use revs for tarball source_identity if available by @bivsk in #102
  • dedup: carry identity kind into Entry instead of erasing it by @amaanq in #104
  • pins: add a group key and print group headers in look and update by @amaanq in #105
  • pins: group selection and frozen pins by @amaanq in #106
  • error: replace eyre and color-eyre with misstep by @amaanq in #107
  • fetch: write git trees directly instead of via gix-worktree-state by @amaanq in #108
  • look: show commit logs for forgejo and gitea pins by @amaanq in #110
  • some preparatory cleanups by @amaanq in #111
  • tree: show each pin's inputs and what they follow by @amaanq in #112
  • meta: add automatic dependabot updates by @faukah in #93
  • pins: verify commit signatures against declared signers by @amaanq in #114
  • dedup/update: various fixes by @atagen in #126
  • pins: add a mechanism for declaring patches by @amaanq in #113
  • pins: follow the newest tag matching a template by @amaanq in #116
  • resolver!: check lock features against the project resolver before saving by @atagen in #125
  • update: show each side's commit date by @amaanq in #128
  • look: compare nixpkgs channel tarballs by their nixpkgs commit by @amaanq in #129
  • small fixes by @amaanq in #130
  • resolver: follow a path through another pin's inputs by @amaanq in #131
  • pins: follow release assets of fixed pins by tag by @amaanq in #132
  • feat(pins,resolver): omit fetch of specified pins by @atagen in #91
  • resolver: expose pin metadata under a root _meta attr by @atagen in #115
  • pins: settle a doubled all_follow alias like the resolver by @amaanq in #135
  • tag: match mixed version separators and stop refetching unchanged assets by @amaanq in #136
  • tag: read a fixed pin's tags from tags_from by @amaanq in #139
  • fetch: lock channel tarballs by their immutable url by @amaanq in #146
  • tag: let a trailing * match anything after the template by @amaanq in #147
  • resolver: use fetchTarball for locked tarball inputs by @ferryfisher in #153
  • release pin: add version to _meta by @Nivalux in #145
  • freeze: record the commit a frozen pin holds by @amaanq in #159
  • source: only look for raw files behind http(s) git urls by @amaanq in #162
  • ci: move onto manic-systems/workflows v2 by @amaanq in #161
  • deps: bump by @amaanq in #160
  • deps: bump pound to 0.3.0 by @amaanq in #164
  • ci: auto-merge bot pull requests by @amaanq in #167
  • fetch: date channel tarballs from their immutable link by @amaanq in #168
  • deps: bump pound to 0.5.1 by @amaanq in #170
  • fetch: verify tls against the system ca store by @amaanq in #176
  • fetch: try pinned commits shallowly before full history by @greyxp1 in #175
  • resolver: build patched trees with nix where tack is not installed by @amaanq in #187
  • tag: order tags that tie on version by commit date by @amaanq in #188
  • pins: let a group table set keys for its pins by @amaanq in #189
  • deps: bump caress, pound and misstep by @amaanq in #194
  • pins: warn about unknown keys by @amaanq in #195
  • resolver: fall back to stable fetchers without fetch-tree by @atagen in #191
  • pins: add fetch_mode to defer github and tarball fetches to build time by @atagen in #192
  • pins: add [tack] type to set the default pin type by @atagen in #196
  • tag: match named placeholders like {commit} and fill them into asset urls by @amaanq in #205
  • resolver: expose each pin's group in _meta by @atagen in #208
  • fetch: only ask for tokens when auth fails by @atagen in #210
  • package: link zstd through pkg-config by @Nivalux in #212
  • fetch: authenticate plain url fetches from netrc by @atagen in #200
  • dedup: verify locked flake.lock fetches in auto-dedup by @atagen in #207
  • pins: update nixpkgs and fenix by @faukah in #214
  • dedup: lock new all_follow targets without a moved pin by @atagen in #206
  • pins: read [inputs..] as a pin in that group by @atagen in #209
  • fetch: sort tarball lock query params (nix #16639) by @atagen in #217
  • fetch: add fixed pin downloads to the nix store by @amaanq in #223
  • resolver: name unlocked all_follow properly by @atagen in #225
  • resolver: make omitted pin eval warn instead of throw by @Kruziikrel13 in #221
  • fetch: skip sparse flake.lock scans of non-http remotes by @faukah in #227
  • fetch: send http.extraHeader from git config by @atagen in #226
  • pins: add top-level follows by @atagen in #224
  • fetch: download each pin once across tack update and nix build by @amaanq in #230
  • patches: refresh rebased pull request patches and drop merged ones by @amaanq in #229
  • cli: add alias for look by @amaanq in #235
  • {nix, docs}: add and document shell completions by @faukah in #237
  • ci: tag and release on version bump by @faukah in #236
  • docs: init book by @atagen in #239
  • cargo: bump to v2.0.0 by @amaanq in #245
  • plus 24 dependency bumps by dependabot and 7 weekly pin updates by manic-bot

New Contributors

Full Changelog: v1.0.1...v2.0.0