]> git.scottworley.com Git - auto-upgrade-with-pinch/log
auto-upgrade-with-pinch
13 days agoDrop 22.11 support: Just use "nativeCheckInputs"
Scott Worley [Thu, 12 Dec 2024 02:44:55 +0000 (18:44 -0800)]
Drop 22.11 support: Just use "nativeCheckInputs"

5 months agopinch: 3.0.15 → 3.1.0 for "git_ref = tag <tag>" support
Scott Worley [Sat, 29 Jun 2024 07:17:01 +0000 (00:17 -0700)]
pinch: 3.0.15 → 3.1.0 for "git_ref = tag <tag>" support

9 months agopinch: 3.0.13 → 3.0.15
Scott Worley [Thu, 21 Mar 2024 23:02:10 +0000 (16:02 -0700)]
pinch: 3.0.13 → 3.0.15

12 months agopinch: 3.0.12 → 3.0.13
Scott Worley [Fri, 8 Dec 2023 03:45:30 +0000 (19:45 -0800)]
pinch: 3.0.12 → 3.0.13

15 months agopinch: 3.0.11 → 3.0.12
Scott Worley [Thu, 7 Sep 2023 20:59:43 +0000 (13:59 -0700)]
pinch: 3.0.11 → 3.0.12

19 months agopinch: 3.0.10 → 3.0.11
Scott Worley [Thu, 25 May 2023 02:24:21 +0000 (19:24 -0700)]
pinch: 3.0.10 → 3.0.11

19 months agogit-cache: 1.4.2 → 1.4.3
Scott Worley [Thu, 25 May 2023 02:23:30 +0000 (19:23 -0700)]
git-cache: 1.4.2 → 1.4.3

19 months agoAdapt to nixpkgs' nativeCheckInputs change
Scott Worley [Thu, 25 May 2023 02:18:06 +0000 (19:18 -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.  :/

21 months agoGentler updates (nice & ionice)
Scott Worley [Mon, 20 Mar 2023 13:57:02 +0000 (06:57 -0700)]
Gentler updates (nice & ionice)

2 years agoLicense and README
Scott Worley [Thu, 24 Nov 2022 02:59:26 +0000 (18:59 -0800)]
License and README

2 years agopinch: 3.0.9 → 3.0.10
Scott Worley [Wed, 23 Nov 2022 09:47:47 +0000 (01:47 -0800)]
pinch: 3.0.9 → 3.0.10

2 years agogit-cache: 1.3.1 → 1.4.2
Scott Worley [Wed, 23 Nov 2022 09:45:50 +0000 (01:45 -0800)]
git-cache: 1.3.1 → 1.4.2

2 years agoRely on nixpkgs' python3Packages.backoff
Scott Worley [Wed, 23 Nov 2022 09:42:32 +0000 (01:42 -0800)]
Rely on nixpkgs' python3Packages.backoff

2 years agoFollow rename: utillinux → util-linux
Scott Worley [Mon, 26 Sep 2022 18:33:40 +0000 (11:33 -0700)]
Follow rename: utillinux → util-linux

2 years agopinch: 3.0.7 → 3.0.9
Scott Worley [Sat, 30 Apr 2022 00:13:22 +0000 (17:13 -0700)]
pinch: 3.0.7 → 3.0.9

2 years agoSwitch from 'nix eval' to 'nix-instantiate --eval'
Scott Worley [Fri, 29 Apr 2022 23:50:44 +0000 (16:50 -0700)]
Switch from 'nix eval' to 'nix-instantiate --eval'

Nix 2.4 changed the interface to 'nix eval' so that --arg doesn't work anymore.

This is a workaround for https://github.com/NixOS/nix/issues/2678

2 years agoNew git URLs
Scott Worley [Thu, 31 Mar 2022 21:51:16 +0000 (14:51 -0700)]
New git URLs

2 years agopinch: 3.0.4 -> 3.0.7
Scott Worley [Thu, 3 Feb 2022 17:02:23 +0000 (09:02 -0800)]
pinch: 3.0.4 -> 3.0.7

2 years agopolite-merge: 2.3 -> 2.4
Scott Worley [Sun, 30 Jan 2022 21:00:31 +0000 (13:00 -0800)]
polite-merge: 2.3 -> 2.4

3 years agogit-cache: 1.3.0 -> 1.3.1
Scott Worley [Tue, 8 Jun 2021 06:26:58 +0000 (23:26 -0700)]
git-cache: 1.3.0 -> 1.3.1

3 years agopinch: 3.0.3 -> 3.0.4
Scott Worley [Mon, 7 Jun 2021 19:22:23 +0000 (12:22 -0700)]
pinch: 3.0.3 -> 3.0.4

Use nix from nixpkgs rather than from PATH.  This is needed when the nix
in PATH is nixUnstable-3.0pre20201020_e0ca98c or later because nix commit
787469c7b66aec12ab6847e7db2cdc8aef5c325e removed <nix/unpack-channel.nix>.

3 years agopinch: 3.0.2 -> 3.0.3
Scott Worley [Thu, 20 May 2021 07:18:20 +0000 (00:18 -0700)]
pinch: 3.0.2 -> 3.0.3

3 years agopinch 1.5 -> 3.0.2
Scott Worley [Thu, 20 May 2021 06:29:16 +0000 (23:29 -0700)]
pinch 1.5 -> 3.0.2

3 years agopolite-merge: 2.1 -> 2.3, required for git 2.28 -> 2.29
Scott Worley [Tue, 16 Feb 2021 19:29:44 +0000 (11:29 -0800)]
polite-merge: 2.1 -> 2.3, required for git 2.28 -> 2.29

4 years agoUse local pkgs instead of overlays
Scott Worley [Tue, 11 Aug 2020 20:09:30 +0000 (13:09 -0700)]
Use local pkgs instead of overlays

4 years agoFormatting: Run nixfmt
Scott Worley [Tue, 11 Aug 2020 20:03:15 +0000 (13:03 -0700)]
Formatting: Run nixfmt

4 years agoSafe defaults
Scott Worley [Fri, 12 Jun 2020 10:18:38 +0000 (03:18 -0700)]
Safe defaults

4 years agopinch: 1.3 -> 1.5
Scott Worley [Fri, 12 Jun 2020 08:53:16 +0000 (01:53 -0700)]
pinch: 1.3 -> 1.5

4 years agoDeclare that there are no loose packages here
Scott Worley [Thu, 11 Jun 2020 00:02:51 +0000 (17:02 -0700)]
Declare that there are no loose packages here

This fixes nix-env --query when this repo is pulled in as a channel.

4 years agopolite-merge: 2.0 -> 2.1
Scott Worley [Wed, 10 Jun 2020 23:45:41 +0000 (16:45 -0700)]
polite-merge: 2.0 -> 2.1

4 years agoMake signingKeys static again
Scott Worley [Wed, 10 Jun 2020 23:12:27 +0000 (16:12 -0700)]
Make signingKeys static again

git -c gpg.program= cannot pass arguments.

Another possibility from here to keep this dynamic would be to pass the
list of signing keys through the environment.

4 years agoDynamic config
Scott Worley [Fri, 5 Jun 2020 00:25:06 +0000 (17:25 -0700)]
Dynamic config

Previously, changes to the list of pinch files or the list of user environments
required two updates to take effect (because these were incorporated into
the update script itself).  Now they take effect after one update cycle,
as one would reasonably expect.

Changes to the list of repos to pull take effect even if system build fails.
This is intended to allow recovery from situations that would otherwise
cause updates to stop.

4 years agopinch: 1.2 -> 1.3
Scott Worley [Tue, 2 Jun 2020 18:43:19 +0000 (11:43 -0700)]
pinch: 1.2 -> 1.3

4 years agoFix default name of userPackages
Scott Worley [Tue, 2 Jun 2020 07:35:28 +0000 (00:35 -0700)]
Fix default name of userPackages

4 years agoRemove the business-hours feature
Scott Worley [Tue, 2 Jun 2020 07:21:03 +0000 (00:21 -0700)]
Remove the business-hours feature

Updates oughtta be smooth.

Not worth adding configuration for.

4 years agoSync multiple repos, update multiple users
Scott Worley [Tue, 2 Jun 2020 07:19:42 +0000 (00:19 -0700)]
Sync multiple repos, update multiple users

Make a bunch of config schema changes while we still can before we have
any other users.

4 years agoSeparate pull-updates snippet
Scott Worley [Sat, 30 May 2020 18:34:38 +0000 (11:34 -0700)]
Separate pull-updates snippet

4 years agoSeparate fetch and update steps
Scott Worley [Sat, 30 May 2020 18:29:51 +0000 (11:29 -0700)]
Separate fetch and update steps

4 years agoSupport multiple key files
Scott Worley [Sat, 30 May 2020 18:27:45 +0000 (11:27 -0700)]
Support multiple key files

4 years agoUse polite-merge for merging
Scott Worley [Fri, 29 May 2020 21:56:10 +0000 (14:56 -0700)]
Use polite-merge for merging

4 years agoSpecify key by long key id, not fingerprint
Scott Worley [Wed, 20 May 2020 04:33:12 +0000 (21:33 -0700)]
Specify key by long key id, not fingerprint

The GnuPG manual says "The best way to specify a key Id is by using the
fingerprint," but --trusted-key doesn't accept fingerprints.  ಠ_ಠ

4 years agoAccept multiple signing keys
Scott Worley [Wed, 20 May 2020 04:05:08 +0000 (21:05 -0700)]
Accept multiple signing keys

4 years agopinch: 1.1 -> 1.2
Scott Worley [Tue, 19 May 2020 07:31:30 +0000 (00:31 -0700)]
pinch: 1.1 -> 1.2

4 years agoAbsolute path to sudo
Scott Worley [Mon, 18 May 2020 19:02:16 +0000 (12:02 -0700)]
Absolute path to sudo

4 years agoOnly add pinch if not already present
Scott Worley [Mon, 18 May 2020 18:47:10 +0000 (11:47 -0700)]
Only add pinch if not already present

4 years agoAbsolute path for flock
Scott Worley [Sun, 3 May 2020 09:32:45 +0000 (02:32 -0700)]
Absolute path for flock

Fixes "flock: command not found" when run from systemd

4 years agoDon't write "result" files with user env in $PWD
Scott Worley [Wed, 29 Apr 2020 18:04:56 +0000 (11:04 -0700)]
Don't write "result" files with user env in $PWD

4 years agoUpgrade user environments
Scott Worley [Mon, 20 Apr 2020 22:45:30 +0000 (15:45 -0700)]
Upgrade user environments

4 years agoNo-sudo, no-password auto-upgrade
Scott Worley [Thu, 16 Apr 2020 21:23:56 +0000 (14:23 -0700)]
No-sudo, no-password auto-upgrade

4 years agoDon't upgrade during business hours
Scott Worley [Wed, 15 Apr 2020 20:34:31 +0000 (13:34 -0700)]
Don't upgrade during business hours

4 years agoDisallow concurrent auto-upgrade runs
Scott Worley [Wed, 15 Apr 2020 04:26:01 +0000 (21:26 -0700)]
Disallow concurrent auto-upgrade runs

4 years agoMake 'auto-upgrade' available in path
Scott Worley [Wed, 15 Apr 2020 04:14:12 +0000 (21:14 -0700)]
Make 'auto-upgrade' available in path

"systemctl start nixos-upgrade" no longer works to force an immediate
run since the start delay was added.

4 years agoSafety-hatch: Initial delay
Scott Worley [Wed, 15 Apr 2020 00:50:46 +0000 (17:50 -0700)]
Safety-hatch: Initial delay

4 years agoRequire signatures to pull updates
Scott Worley [Tue, 14 Apr 2020 23:24:02 +0000 (16:24 -0700)]
Require signatures to pull updates

4 years agoTrust the specified key
Scott Worley [Tue, 14 Apr 2020 23:14:28 +0000 (16:14 -0700)]
Trust the specified key

4 years agoKeyed git - check signatures with a specified key
Scott Worley [Tue, 14 Apr 2020 22:53:08 +0000 (15:53 -0700)]
Keyed git - check signatures with a specified key

4 years agopinch: 1.0 -> 1.1
Scott Worley [Sun, 12 Apr 2020 17:00:50 +0000 (10:00 -0700)]
pinch: 1.0 -> 1.1

4 years agoAuto-upgrade with pinch
Scott Worley [Sat, 11 Apr 2020 03:46:04 +0000 (20:46 -0700)]
Auto-upgrade with pinch

4 years agopinch
Scott Worley [Sat, 11 Apr 2020 00:32:56 +0000 (17:32 -0700)]
pinch