Commit Graph

922 Commits

Author SHA1 Message Date
Ryan Mulligan
21972715dd stop using IFD 2023-01-01 17:58:10 -08:00
Ryan Mulligan
50098eca8c accept flake config to use cache 2023-01-01 15:49:28 -08:00
Ryan Mulligan
926df7242f fix flake by disabling darwin 2023-01-01 15:48:22 -08:00
Ryan Mulligan
47815a5e87 remove Time
I want to remobe Polysemy and this was using that. There is no need to
add time to log messages anyway, since we're using the systemd journal.
2023-01-01 15:43:47 -08:00
Ryan Mulligan
121ddb518c fix warnings 2023-01-01 15:30:30 -08:00
Ryan Mulligan
da82da1b5d update github workflow and flake 2023-01-01 15:30:11 -08:00
Ryan Mulligan
f3f4597cf4
Merge pull request #331 from rhendric/rhendric/result-dev-links
Check for result-dev links
2022-12-21 06:59:40 -08:00
Ryan Mulligan
da8639294a
Merge pull request #330 from rhendric/rhendric/prefer-changed-file
If updateScript changes any single file, use that
2022-12-21 06:58:51 -08:00
Ryan Hendrickson
b030d70631 Check for result-dev links 2022-12-15 18:31:03 -05:00
Ryan Hendrickson
fee477b346 If updateScript changes any single file, use that
For checking if a version has been updated on any branch, if an
updateScript was used and changed a single file, then use that
file instead of the derivation file from `nix edit`.

This should be more reliable than the previous skiplist approach for
idiosyncratic source files.
2022-12-14 20:54:47 -05:00
Ryan Mulligan
3d6dc7ca07 skiplist: cinnamon is allowed again 2022-12-03 17:24:12 -08:00
Ryan Mulligan
01ff7167fd skiplist: alias heimdal to libheimdal 2022-11-16 13:56:29 -08:00
Ryan Mulligan
cb1ad5fbe8 skiplist: add cinnamon* 2022-11-15 12:46:41 -08:00
Ryan Mulligan
ce0a555e61
Merge pull request #325 from abathur/document_attrs
document use of meta, src, and originalSrc attrs
2022-09-18 14:17:54 -07:00
Travis A. Everett
85698069ff document use of meta, src, and originalSrc attrs 2022-09-18 13:44:04 -05:00
Ryan Mulligan
473d33d4ae
Merge pull request #324 from abathur/original_src_fallback
support .originalSrc attr as a fallback
2022-09-17 13:19:51 -07:00
Travis A. Everett
773fe79646 support .originalSrc attr as a fallback
If a builder creates a sequence of derivations on the way to
building a package, nixpkgs-update won't be able to find the
correct src attr to query. We can technically use passthru
to lie about the src, but src is load-bearing and this may
mislead or confuse humans (or other tools?) later. This also
checks an originalSrc fallback attr that isn't load-bearing.
2022-09-17 12:17:43 -05:00
Jan Tojnar
5689e31975
Skiplist: remove GNOME
GNOME 43 is in progress.
2022-09-08 13:10:22 +02:00
Ryan Mulligan
33366746fa
Merge pull request #320 from jonringer/patch-1
Avoid updating spire three times
2022-09-07 14:14:34 -07:00
Jonathan Ringer
940f5e8386
Avoid updating spire three times
I split spire into 3 different outputs 4ffd6bd6f6/pkgs/tools/security/spire/default.nix (L7), one agent, one server, and the default contains both.

The reasoning was that most scenarios need to use one or the other but not both, so it didn't make sense to always have both in every scenario. This is great for smaller runtime closures, but a bit odd for nixpkgs-update as there's three attrs which point to the same package.

Example updates:
- https://github.com/NixOS/nixpkgs/pull/190177
- https://github.com/NixOS/nixpkgs/pull/190178
- https://github.com/NixOS/nixpkgs/pull/190179
2022-09-07 13:52:47 -07:00
Ryan Mulligan
f2e818f559
Merge pull request #319 from rhendric/rhendric/update-prs
Abort if existing PR targets newer version
2022-09-03 16:34:09 -07:00
Ryan Hendrickson
0d8c37c2ec Abort if existing PR targets newer version 2022-09-03 18:55:11 -04:00
Ryan Mulligan
ec0092589a
Merge pull request #318 from rhendric/rhendric/remove-weeds
Remove unused functions
2022-09-03 13:12:27 -07:00
Ryan Hendrickson
1a98a587e2 Remove unused functions 2022-09-03 14:29:59 -04:00
Ryan Mulligan
7e6f43d696 skip: fix syntax 2022-08-28 12:12:58 -07:00
Ryan Mulligan
66ea92cbdd skip: imagemagick_light, imagemagickBig 2022-08-28 12:07:12 -07:00
Ryan Mulligan
6486d9f4d9
Merge pull request #313 from rhendric/rhendric/update-prs
Fix bug when checking auto-update branch version
2022-08-24 19:40:34 -07:00
Ryan Hendrickson
fb6663acaa Refactor and add logging to branch version check 2022-08-19 21:05:40 -04:00
Ryan Hendrickson
434e763dfe Fix bug when checking auto-update branch version 2022-08-19 21:05:40 -04:00
Ryan Mulligan
36af327a8d bump version 2022-08-13 07:14:28 -07:00
Ryan Mulligan
ddc6518a3e log which attrpath we're trying to update 2022-08-12 18:31:30 -07:00
Ryan Mulligan
1039275a97
Merge pull request #311 from rhendric/rhendric/update-prs
Reuse an existing auto-update PR
2022-08-12 17:42:29 -07:00
Ryan Mulligan
4c8921bc2e incorporate #244 2022-08-12 17:28:10 -07:00
Ryan Mulligan
69f24721ff If looking up an attrpath by nix-env fails, try seeing if the name is already an attrpath 2022-08-12 17:24:48 -07:00
Ryan Hendrickson
4f8e8aa3d7 Reuse an existing auto-update PR
During a batch update, instead of aborting if an auto update branch for
a package exists, do the following:

  * Abort if the last commit on the branch updates the package to the
    same version.

  * Abort if, for some reason, there is more than one open PR
    corresponding to that branch.

  * Fall back to creating a PR if there are zero open PRs corresponding
    to that branch (this could happen if a human closes the PR during
    the updater run).

  * Otherwise, force-push the new update to that branch, update the
    title of the PR to reflect the new version numbers, and post a
    comment to the PR with the new PR message.
2022-08-12 11:13:26 -04:00
Ryan Mulligan
a376578dcf Rewrite: replace sha256Zero with fakeHash 2022-07-28 20:33:49 -07:00
Ryan Mulligan
6a32dda818 Main: fix update-batch command parser 2022-07-27 20:24:10 -07:00
Ryan Mulligan
c9fd42acdc Update: print out batch update option 2022-07-27 20:04:47 -07:00
Ryan Mulligan
59b7cd4e7b Update: add log message about checking auto update branch
for debugging r-ryantm
2022-07-27 19:30:56 -07:00
Ryan Mulligan
07bf5b44d6 Outpaths: remove unused archRebuilds function 2022-07-27 19:11:17 -07:00
Ryan Mulligan
3969dd29b8 don't report linux rebuilds separately
All the rebuilds are linux
2022-07-27 19:06:37 -07:00
Ryan Mulligan
192513ad56 stop calculating darwin outpaths
maybe this will save memory and reduce OOM crashes
2022-07-27 19:05:28 -07:00
Ryan Mulligan
f5af634341 add new UpdateBatch command 2022-07-07 08:01:54 -07:00
Ryan Mulligan
934b497d8e
Merge pull request #305 from dmizelle/update-run-docs
docs: use extra-trusted-public-keys instead
2022-04-28 09:00:49 -07:00
Devon Mizelle
003d37c010 docs: use extra-trusted-public-keys instead
This commit is a simple docs change for running with nix run / nix
shell.

Without using `extra-trusted-public-keys`, we no longer trust
cache.nixos.org's key. This makes it an append so we can still use the
Big Cache.
2022-04-28 11:27:28 -04:00
Ryan Mulligan
b807f6e19b Doc: fix hpack invocation 2022-04-23 07:22:11 -07:00
Ryan Mulligan
597fcfbd6f Update: log update parameters in attrpath log file 2022-04-21 19:31:44 -07:00
Ryan Mulligan
31e8c43f6d Check: remove binary checks
The binary checks keep clogging up the build server eventually, and I
don't want to work on sandboxing them in a good way.
2022-04-21 18:19:33 -07:00
Ryan Mulligan
80c6338309
Merge pull request #301 from Mic92/build-fixes
Build fixes
2022-04-10 20:01:04 -07:00
Jörg Thalheim
982fddd51a
nixpkgs-review: use nixpkgs version
saves one nixpkgs copy
2022-04-10 21:40:11 +02:00