]> git.scottworley.com Git - pinch/log
pinch
4 months agoREADME: Link auto-upgrade-with-pinch master
Scott Worley [Thu, 8 Aug 2024 18:11:39 +0000 (11:11 -0700)]
README: Link auto-upgrade-with-pinch

5 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

5 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

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

9 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.

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

9 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 ...`

10 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

10 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

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

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

11 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

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

11 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.

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

11 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

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

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

12 months 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.

12 months 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.

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

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

15 months 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

15 months 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

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

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

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

19 months 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

19 months 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.  :/

19 months 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

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

2 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

2 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

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

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

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

2 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

2 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

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

2 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

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

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

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

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

2 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

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

2 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

2 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.

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

2 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

2 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.

2 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.

2 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.)

2 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>.

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

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

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

3 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

3 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.

3 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

3 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

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

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

3 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

3 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

3 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

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

3 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

3 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'

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

3 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

3 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

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

4 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

4 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.

4 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

4 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

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

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

4 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

4 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

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

4 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

4 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

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

4 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/

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

4 years agoStart on 2.1.0
Scott Worley [Thu, 18 Jun 2020 08:14:18 +0000 (01:14 -0700)]
Start on 2.1.0

4 years agoRelease 2.0.0 2.0.0
Scott Worley [Thu, 18 Jun 2020 06:48:31 +0000 (23:48 -0700)]
Release 2.0.0

4 years agoSupport old mypy version 0.701
Scott Worley [Thu, 18 Jun 2020 06:41:31 +0000 (23:41 -0700)]
Support old mypy version 0.701

4 years agoAdd symlink SearchPath type
Scott Worley [Wed, 17 Jun 2020 23:23:26 +0000 (16:23 -0700)]
Add symlink SearchPath type

4 years agoVerify unknown config fields raise errors
Scott Worley [Wed, 17 Jun 2020 21:03:43 +0000 (14:03 -0700)]
Verify unknown config fields raise errors

4 years agoProcess alias and non-alias configs separately
Scott Worley [Wed, 17 Jun 2020 18:50:13 +0000 (11:50 -0700)]
Process alias and non-alias configs separately

4 years agoFactor out pin check
Scott Worley [Wed, 17 Jun 2020 17:48:37 +0000 (10:48 -0700)]
Factor out pin check

4 years agoRename read_search_path -> read_config_section
Scott Worley [Wed, 17 Jun 2020 17:40:57 +0000 (10:40 -0700)]
Rename read_search_path -> read_config_section

4 years agoRemove assert that's now handled by types
Scott Worley [Wed, 17 Jun 2020 17:39:45 +0000 (10:39 -0700)]
Remove assert that's now handled by types

4 years agoImmutable SearchPaths
Scott Worley [Tue, 16 Jun 2020 11:17:27 +0000 (04:17 -0700)]
Immutable SearchPaths

4 years agoPrefer more type-safe NamedTuple over SimpleNamespace
Scott Worley [Tue, 16 Jun 2020 08:29:38 +0000 (01:29 -0700)]
Prefer more type-safe NamedTuple over SimpleNamespace

4 years agoContinue pulling release_name and git_revision out of SearchPath
Scott Worley [Mon, 15 Jun 2020 20:46:34 +0000 (13:46 -0700)]
Continue pulling release_name and git_revision out of SearchPath