]> git.scottworley.com Git - pinch/log
pinch
4 months agoRelease 3.3.1 master v3.3.1
Scott Worley [Thu, 10 Jul 2025 00:25:24 +0000 (17:25 -0700)]
Release 3.3.1

4 months agoUse new 'nix hash convert' to quiet new nix's depreciation warnings
Scott Worley [Thu, 10 Jul 2025 00:22:56 +0000 (17:22 -0700)]
Use new 'nix hash convert' to quiet new nix's depreciation warnings

4 months agoRemove unused to_Digest32()
Scott Worley [Thu, 10 Jul 2025 00:17:56 +0000 (17:17 -0700)]
Remove unused to_Digest32()

4 months agoStart on 3.3.1
Scott Worley [Thu, 10 Jul 2025 00:19:02 +0000 (17:19 -0700)]
Start on 3.3.1

4 months agoRelease 3.3.0 v3.3.0
Scott Worley [Wed, 9 Jul 2025 23:54:29 +0000 (16:54 -0700)]
Release 3.3.0

4 months agoUse nix executables in $PATH
Scott Worley [Wed, 9 Jul 2025 23:34:55 +0000 (16:34 -0700)]
Use nix executables in $PATH

We started pinning the nix version back Jun 2021 over
<nix/unpack-channel.nix> becoming private.  As a side effect of pinning
(overriding) the nix version, we bundled nix with pinch so that it could
find nix even if it wasn't in $PATH.

We're now unwinding that: We no longer need a specific (ancient) version
of nix, so we're going back to using whatever is laying around in $PATH.

This *could* be a breaking change if you were depending upon pinch's
ability to find nix on its own.  It seems unlikely that there are actually
any users depending on this, so I'm not bumping the major version, but
I am rolling rolling this out in two steps in case anyone is affected &
would find it useful to have an intermediate version of pinch to pin to
while they help newest pinch find nix stuff:

  pinch 3.1.0 - Uses ancient nix_2_3 that now no longer builds
  pinch 3.2.0 - Uses whatever nix is in <nixpkgs>
  pinch 3.3.0 - Uses whatever nix is in $PATH

In case pinch's bundling of its own nix was giving anyone grief because
it *wasn't* using the one in $PATH: Sorry.  It's fixed now.  You can
unwind your hacks around this.  :)

4 months agoStart on 3.3.0
Scott Worley [Wed, 9 Jul 2025 23:33:35 +0000 (16:33 -0700)]
Start on 3.3.0

4 months agoRelease 3.2.0 v3.2.0
Scott Worley [Wed, 9 Jul 2025 23:31:57 +0000 (16:31 -0700)]
Release 3.2.0

4 months agoModern nix always needs --experimental-features
Scott Worley [Thu, 10 Jul 2025 00:07:40 +0000 (17:07 -0700)]
Modern nix always needs --experimental-features

4 months agoStop using ancient nix_2_3
Scott Worley [Wed, 9 Jul 2025 23:17:27 +0000 (16:17 -0700)]
Stop using ancient nix_2_3

Nix commit 787469c7b66aec12ab6847e7db2cdc8aef5c325e removed
<nix/unpack-channel.nix>, preferring to stuff its contents into the nix
binary & write it out to a temp file to use it.

Pinch unpacks channels.  So to retain access to unpack-channel.nix,
pinch pinned its nix dependency to nix 2.3.

This is no longer viable.  The 2.3 branch is no longer maintained.
It now has known security vulnerabilities, noted in knownVulnerabilities
(which causes it to refuse to build).

So now pinch does it the same way as nix, holding its own little
unpack-channel.nix and writing it out to a temp file to use it.

This lets us go back to not caring about the version of the nix
dependency.

4 months agoAppease newer autopep8
Scott Worley [Wed, 9 Jul 2025 23:14:07 +0000 (16:14 -0700)]
Appease newer autopep8

4 months agoStart on 3.2.0
Scott Worley [Wed, 9 Jul 2025 23:12:34 +0000 (16:12 -0700)]
Start on 3.2.0

15 months agoREADME: Link auto-upgrade-with-pinch
Scott Worley [Thu, 8 Aug 2024 18:11:39 +0000 (11:11 -0700)]
README: Link auto-upgrade-with-pinch

17 months agoRelease 3.1.0 v3.1.0
Scott Worley [Sat, 29 Jun 2024 07:05:32 +0000 (00:05 -0700)]
Release 3.1.0

17 months agofallback git-cache 1.4.3 -> 1.5.0 for "git_ref = tag <tag>" support
Scott Worley [Sat, 29 Jun 2024 07:00:54 +0000 (00:00 -0700)]
fallback git-cache 1.4.3 -> 1.5.0 for "git_ref = tag <tag>" support

17 months agoStart on 3.1.0
Scott Worley [Sat, 29 Jun 2024 06:59:44 +0000 (23:59 -0700)]
Start on 3.1.0

20 months agoRelease 3.0.15 v3.0.15
Scott Worley [Thu, 21 Mar 2024 22:51:31 +0000 (15:51 -0700)]
Release 3.0.15

I won't sign the tag for this release this time because of nixpkgs bugs:
  https://github.com/NixOS/nixpkgs/issues/115145
  https://github.com/NixOS/nixpkgs/issues/126848

I'll start signing tags again when a fix for this issue
(such as https://github.com/NixOS/nixpkgs/pull/283663 )
is in all stable nixpkgs channels.

20 months ago.gitignore `result`
Scott Worley [Thu, 21 Mar 2024 22:50:59 +0000 (15:50 -0700)]
.gitignore `result`

20 months agoSimplify example invocation in README
Scott Worley [Thu, 21 Mar 2024 22:47:57 +0000 (15:47 -0700)]
Simplify example invocation in README

When this is built/installed, you get a `pinch` binary in your $PATH;
you don't actually have to say `python3 pinch.py ...`

21 months agoFix package description in setup.py
Scott Worley [Thu, 15 Feb 2024 07:09:11 +0000 (23:09 -0800)]
Fix package description in setup.py

21 months agoFix a bash-ism in test.sh, which is #!/bin/sh
Scott Worley [Thu, 15 Feb 2024 05:27:21 +0000 (21:27 -0800)]
Fix a bash-ism in test.sh, which is #!/bin/sh

21 months agoStart on 3.0.15
Scott Worley [Thu, 15 Feb 2024 05:26:53 +0000 (21:26 -0800)]
Start on 3.0.15

22 months agoFix changelog
Scott Worley [Thu, 25 Jan 2024 03:25:36 +0000 (19:25 -0800)]
Fix changelog

22 months agoRelease 3.0.14 v3.0.14
Scott Worley [Thu, 25 Jan 2024 03:19:42 +0000 (19:19 -0800)]
Release 3.0.14

22 months agoAllow identically-broken symlinks
Scott Worley [Thu, 25 Jan 2024 03:18:18 +0000 (19:18 -0800)]
Allow identically-broken symlinks

22 months agoAllow more specific invalid symlinks
Scott Worley [Thu, 25 Jan 2024 02:42:46 +0000 (18:42 -0800)]
Allow more specific invalid symlinks

At some point, we may want to just examine incomparable files & allow
identically-broken symlinks, rather than explicitly list approved
exceptions here.

22 months agoStart on 3.0.14
Scott Worley [Thu, 25 Jan 2024 02:41:17 +0000 (18:41 -0800)]
Start on 3.0.14

22 months agoUn-deprecate: This continues being useful
Scott Worley [Tue, 23 Jan 2024 20:59:24 +0000 (12:59 -0800)]
Un-deprecate: This continues being useful

2 years agoRelease 3.0.13 v3.0.13
Scott Worley [Fri, 8 Dec 2023 03:41:36 +0000 (19:41 -0800)]
Release 3.0.13

2 years agoAppease new stricter minidom typechecks
Scott Worley [Fri, 8 Dec 2023 03:37:20 +0000 (19:37 -0800)]
Appease new stricter minidom typechecks

2 years agoFix nested-git issues in pre-commit hook
Scott Worley [Fri, 8 Dec 2023 03:31:09 +0000 (19:31 -0800)]
Fix nested-git issues in pre-commit hook

This has been wonky before (eg: 'git add foo; git commit' would work
while 'git commit foo' would not), but between 2.40.1 and 2.42.0
something about git changed such that the pre-commit completely stopped
working.

So now we properly clean the tests' git invocations' environment.

2 years agoTidy Changelog
Scott Worley [Fri, 8 Dec 2023 03:29:26 +0000 (19:29 -0800)]
Tidy Changelog

The Added/Changed/Fixed headers weren't helpful.

2 years agoStart on 3.0.13
Scott Worley [Fri, 8 Dec 2023 03:25:30 +0000 (19:25 -0800)]
Start on 3.0.13

2 years agoRelease 3.0.12 v3.0.12
Scott Worley [Thu, 7 Sep 2023 20:54:43 +0000 (13:54 -0700)]
Release 3.0.12

2 years agoAllow nixpkgs' new intentionally-invalid symlink
Scott Worley [Thu, 7 Sep 2023 20:41:07 +0000 (13:41 -0700)]
Allow nixpkgs' new intentionally-invalid symlink

2 years agoShow which files are unexpectedly incomparable
Scott Worley [Thu, 7 Sep 2023 20:36:46 +0000 (13:36 -0700)]
Show which files are unexpectedly incomparable

2 years agoAppease new pylint
Scott Worley [Thu, 7 Sep 2023 20:36:18 +0000 (13:36 -0700)]
Appease new pylint

2 years agoStart on 3.0.12
Scott Worley [Thu, 7 Sep 2023 20:29:30 +0000 (13:29 -0700)]
Start on 3.0.12

2 years agoRelease 3.0.11 v3.0.11
Scott Worley [Thu, 25 May 2023 02:02:16 +0000 (19:02 -0700)]
Release 3.0.11

2 years agofallback git-cache 1.4.2 -> 1.4.3
Scott Worley [Thu, 25 May 2023 02:00:24 +0000 (19:00 -0700)]
fallback git-cache 1.4.2 -> 1.4.3

2 years agoAdapt to nixpkgs' nativeCheckInputs change
Scott Worley [Thu, 25 May 2023 01:58:39 +0000 (18:58 -0700)]
Adapt to nixpkgs' nativeCheckInputs change

nixpkgs commit f39abbc3500451fc00c80fed71b0f6f7bba8b6a4, first released in
23.05, requires that everyone move their checkInputs to nativeCheckInputs.
To build both before and after this change, we detect whether we're before
or after this change by reading the manual & behave appropriately.  :/

2 years agopylint dropped 'no-self-use', so we don't need to / can't disable it anymore
Scott Worley [Thu, 25 May 2023 01:56:11 +0000 (18:56 -0700)]
pylint dropped 'no-self-use', so we don't need to / can't disable it anymore

2 years agoFix homepage URL
Scott Worley [Sat, 10 Dec 2022 08:02:11 +0000 (00:02 -0800)]
Fix homepage URL

3 years agoSpecify license
Scott Worley [Thu, 24 Nov 2022 02:20:38 +0000 (18:20 -0800)]
Specify license

3 years agoRelease 3.0.10 v3.0.10
Scott Worley [Wed, 23 Nov 2022 09:18:27 +0000 (01:18 -0800)]
Release 3.0.10

3 years agofallback git-cache 1.4.1 -> 1.4.2
Scott Worley [Wed, 23 Nov 2022 09:16:00 +0000 (01:16 -0800)]
fallback git-cache 1.4.1 -> 1.4.2

3 years agoREADME is markdown
Scott Worley [Wed, 23 Nov 2022 07:38:40 +0000 (23:38 -0800)]
README is markdown

3 years agoRely on nixpkgs' python3Packages.backoff
Scott Worley [Sun, 28 Aug 2022 16:44:28 +0000 (09:44 -0700)]
Rely on nixpkgs' python3Packages.backoff

3 years agoStart on 3.0.10
Scott Worley [Wed, 23 Nov 2022 09:12:53 +0000 (01:12 -0800)]
Start on 3.0.10

3 years agoRelease 3.0.9 v3.0.9
Scott Worley [Sat, 16 Apr 2022 07:27:15 +0000 (00:27 -0700)]
Release 3.0.9

3 years agoMake the tests indifferent about user channels
Scott Worley [Sat, 16 Apr 2022 07:23:26 +0000 (00:23 -0700)]
Make the tests indifferent about user channels

3 years agoStart on 3.0.9
Scott Worley [Sat, 16 Apr 2022 07:23:15 +0000 (00:23 -0700)]
Start on 3.0.9

3 years agoRelease 3.0.8 v3.0.8
Scott Worley [Sat, 16 Apr 2022 06:56:00 +0000 (23:56 -0700)]
Release 3.0.8

3 years agogit-cache: New fetch URL
Scott Worley [Sat, 16 Apr 2022 06:49:44 +0000 (23:49 -0700)]
git-cache: New fetch URL

3 years agoAppease new pylint
Scott Worley [Sat, 16 Apr 2022 06:48:02 +0000 (23:48 -0700)]
Appease new pylint

3 years agoNew pylint likes f-strings
Scott Worley [Sat, 16 Apr 2022 06:42:46 +0000 (23:42 -0700)]
New pylint likes f-strings

3 years agoNew pylint likes 'with'
Scott Worley [Sat, 16 Apr 2022 06:18:37 +0000 (23:18 -0700)]
New pylint likes 'with'

3 years agoFix tests after restricted mode support update
Scott Worley [Sat, 16 Apr 2022 05:46:39 +0000 (22:46 -0700)]
Fix tests after restricted mode support update

3 years agoStart on 3.0.8
Scott Worley [Sat, 16 Apr 2022 06:51:34 +0000 (23:51 -0700)]
Start on 3.0.8

3 years agoRelease 3.0.7 v3.0.7
Scott Worley [Wed, 2 Feb 2022 01:38:05 +0000 (17:38 -0800)]
Release 3.0.7

3 years agoDon't leave old channels laying around
Scott Worley [Wed, 2 Feb 2022 01:25:41 +0000 (17:25 -0800)]
Don't leave old channels laying around

* The channels present should be deterministic -- exactly those
  specified in the pins file.  The history of which other channels have
  been installed should not affect this.

* Before this change, when a channel changes names only slightly, the
  old channel could block installation of the new channel.

3 years agoStart on 3.0.7
Scott Worley [Wed, 2 Feb 2022 01:23:24 +0000 (17:23 -0800)]
Start on 3.0.7

3 years agoRelease 3.0.6 v3.0.6
Scott Worley [Wed, 19 Jan 2022 19:28:42 +0000 (11:28 -0800)]
Release 3.0.6

3 years agoSupport restricted mode: Allow manifest access with search paths.
Scott Worley [Wed, 19 Jan 2022 19:25:41 +0000 (11:25 -0800)]
Support restricted mode: Allow manifest access with search paths.

3 years agoAnnounce test names as they are run.
Scott Worley [Fri, 14 Jan 2022 06:00:08 +0000 (22:00 -0800)]
Announce test names as they are run.

This makes it easier to see which test is broken.

3 years agoSupport restricted mode: Allow tarball access with search paths.
Scott Worley [Fri, 14 Jan 2022 05:55:09 +0000 (21:55 -0800)]
Support restricted mode: Allow tarball access with search paths.

This allows 'pinch update' to create a new profile.  Updating an
existing profile still doesn't work because nix-env can't read the
existing manifest.

Also, the search path names aren't the best.  Multiple links
probably don't work in restricted mode.  (This tool is deprecated
& is receiving minimal maintenance; patches welcome.)

3 years agoUse nix 2.3 because 2.4 broke <nix/unpack-channel.nix>
Scott Worley [Fri, 14 Jan 2022 00:01:09 +0000 (16:01 -0800)]
Use nix 2.3 because 2.4 broke <nix/unpack-channel.nix>

Nix commit 787469c7b66aec12ab6847e7db2cdc8aef5c325e removed
<nix/unpack-channel.nix>.

3 years agoDeprecation notice
Scott Worley [Thu, 13 Jan 2022 23:52:16 +0000 (15:52 -0800)]
Deprecation notice

4 years agoShow channel fetch URL
Scott Worley [Sun, 7 Nov 2021 19:49:19 +0000 (11:49 -0800)]
Show channel fetch URL

3 years agoStart on 3.0.6
Scott Worley [Fri, 14 Jan 2022 00:05:27 +0000 (16:05 -0800)]
Start on 3.0.6

4 years agoRelease 3.0.5 v3.0.5
Scott Worley [Fri, 9 Jul 2021 22:36:43 +0000 (15:36 -0700)]
Release 3.0.5

4 years agoShow filename being hashed
Scott Worley [Fri, 9 Jul 2021 22:31:47 +0000 (15:31 -0700)]
Show filename being hashed

This is handy for identifying which file is corrupt in the nix store.

4 years agofallback git-cache 1.3.1 -> 1.4.1
Scott Worley [Fri, 9 Jul 2021 23:06:34 +0000 (16:06 -0700)]
fallback git-cache 1.3.1 -> 1.4.1

4 years agoQuiet git init.defaultBranch hints during test runs
Scott Worley [Fri, 9 Jul 2021 22:12:58 +0000 (15:12 -0700)]
Quiet git init.defaultBranch hints during test runs

4 years agoAppease linter: No global variables
Scott Worley [Fri, 9 Jul 2021 22:30:27 +0000 (15:30 -0700)]
Appease linter: No global variables

4 years agoStart on 3.0.5
Scott Worley [Fri, 9 Jul 2021 22:10:12 +0000 (15:10 -0700)]
Start on 3.0.5

4 years agofallback git-cache 1.2.1 -> 1.3.1
Scott Worley [Tue, 8 Jun 2021 06:25:24 +0000 (23:25 -0700)]
fallback git-cache 1.2.1 -> 1.3.1

4 years agoRelease 3.0.4 v3.0.4
Scott Worley [Mon, 7 Jun 2021 19:15:42 +0000 (12:15 -0700)]
Release 3.0.4

4 years agoUse nix from nixpkgs (not from PATH) to avoid nixUnstable
Scott Worley [Mon, 7 Jun 2021 19:13:43 +0000 (12:13 -0700)]
Use nix from nixpkgs (not from PATH) to avoid nixUnstable

4 years agoStart on 3.0.4
Scott Worley [Mon, 7 Jun 2021 19:13:31 +0000 (12:13 -0700)]
Start on 3.0.4

4 years agoRelease 3.0.3 v3.0.3
Scott Worley [Thu, 20 May 2021 07:11:26 +0000 (00:11 -0700)]
Release 3.0.3

4 years agoDon't pass --experimental-features to old nix
Scott Worley [Thu, 20 May 2021 06:57:08 +0000 (23:57 -0700)]
Don't pass --experimental-features to old nix

It complains: error: unrecognised flag '--experimental-features'

4 years agoStart on 3.0.3
Scott Worley [Thu, 20 May 2021 06:48:06 +0000 (23:48 -0700)]
Start on 3.0.3

4 years agoRelease 3.0.2 v3.0.2
Scott Worley [Wed, 17 Feb 2021 06:55:26 +0000 (22:55 -0800)]
Release 3.0.2

4 years agoDon't require experimental-features=nix-command in system nix.conf
Scott Worley [Wed, 17 Feb 2021 06:52:20 +0000 (22:52 -0800)]
Don't require experimental-features=nix-command in system nix.conf

4 years agoStart on 3.0.2
Scott Worley [Wed, 17 Feb 2021 06:51:38 +0000 (22:51 -0800)]
Start on 3.0.2

5 years agoRelease 3.0.1 v3.0.1
Scott Worley [Tue, 4 Aug 2020 21:53:48 +0000 (14:53 -0700)]
Release 3.0.1

5 years agofallback git-cache 1.0.0 -> 1.2.1
Scott Worley [Tue, 4 Aug 2020 21:51:36 +0000 (14:51 -0700)]
fallback git-cache 1.0.0 -> 1.2.1

Specifying git-cache's dependencies here is unfortunate.

5 years agoMake tests fast again when using recent git-cache with backoff
Scott Worley [Tue, 4 Aug 2020 21:50:47 +0000 (14:50 -0700)]
Make tests fast again when using recent git-cache with backoff

5 years agoLinks & feature comparison with require.nix, niv, flakes
Scott Worley [Fri, 17 Jul 2020 22:34:28 +0000 (15:34 -0700)]
Links & feature comparison with require.nix, niv, flakes

5 years agoFix typo in README
Scott Worley [Wed, 15 Jul 2020 19:44:34 +0000 (12:44 -0700)]
Fix typo in README

5 years agoStart on 3.0.1
Scott Worley [Wed, 15 Jul 2020 19:43:20 +0000 (12:43 -0700)]
Start on 3.0.1

5 years agoRelease 3.0.0 v3.0.0
Scott Worley [Sat, 11 Jul 2020 04:57:57 +0000 (21:57 -0700)]
Release 3.0.0

5 years agoMove git_cache out to a separate library
Scott Worley [Fri, 10 Jul 2020 20:22:22 +0000 (13:22 -0700)]
Move git_cache out to a separate library

5 years agoStart on 3.0.0
Scott Worley [Tue, 30 Jun 2020 20:35:54 +0000 (13:35 -0700)]
Start on 3.0.0

5 years ago2.1.1: Pin faster 2.1.1
Scott Worley [Wed, 1 Jul 2020 07:05:38 +0000 (00:05 -0700)]
2.1.1: Pin faster

5 years agoRelease 2.1.0 2.1.0
Scott Worley [Tue, 30 Jun 2020 20:34:31 +0000 (13:34 -0700)]
Release 2.1.0

5 years agoSpecify profile path with --profile
Scott Worley [Tue, 30 Jun 2020 20:30:13 +0000 (13:30 -0700)]
Specify profile path with --profile

5 years agoBegin keeping a changelog
Scott Worley [Thu, 18 Jun 2020 16:41:44 +0000 (09:41 -0700)]
Begin keeping a changelog

As recommended by https://keepachangelog.com/

5 years agoFactor out symlink_archive()
Scott Worley [Thu, 18 Jun 2020 08:19:53 +0000 (01:19 -0700)]
Factor out symlink_archive()