Commit Graph

319 Commits

Author SHA1 Message Date
Ryan Mulligan
3a42a6f067 refactor checks for pre-existing updates 2019-01-05 12:31:15 -08:00
Ryan Mulligan
f48c6f0b64 Nix.assertOldVersionOn: use more strict pattern for old version
closes #69
2019-01-05 10:43:54 -08:00
Ryan Mulligan
9025bd5770 remove ref logging 2019-01-05 10:43:28 -08:00
Ryan Mulligan
e491f049f2 fix bugs introduced during refactoring 2018-12-24 15:23:52 -08:00
Ryan Mulligan
a785184b2d use ExceptT in GH module 2018-12-23 20:16:01 -08:00
Ryan Mulligan
2d4fe9053a use -Wall and fix all warnings 2018-12-23 16:14:33 -08:00
Ryan Mulligan
2ebd9c33db introduce OurPrelude to reduce importing boilerplate 2018-12-23 15:02:54 -08:00
Ryan Mulligan
77129e4da9 remove Utils.rewriteError 2018-12-23 14:23:35 -08:00
Ryan Mulligan
d18b7f31bd succeded -> succeeded spelling fix 2018-12-23 14:16:46 -08:00
Ryan Mulligan
6622832a0f remove unused Shell.orElse 2018-12-23 14:15:40 -08:00
Ryan Mulligan
b3fab8bbcc extract Shelly utils into Shell module 2018-12-23 14:14:59 -08:00
Ryan Mulligan
b96983e73b move version functions into own module 2018-12-23 13:51:04 -08:00
Ryan Mulligan
de5a44d730 fix hlint suggestions & reformat 2018-12-23 10:54:01 -08:00
Ryan Mulligan
d614977624 hindent reformats 2018-12-23 10:05:02 -08:00
Ryan Mulligan
dd1bd2b8f0 change Nix.build to ExceptT 2018-12-23 09:51:50 -08:00
Ryan Mulligan
b354349795 more ExceptT conversions 2018-12-23 09:15:12 -08:00
Ryan Mulligan
f2a08d24a1 more MTL cleanup 2018-12-22 19:05:22 -08:00
Ryan Mulligan
4ead506dc7 Merge branch 'mtl' 2018-12-22 14:40:57 -08:00
Ryan Mulligan
60a63683fa add new shellyET helper for failing shell cmds, use in many places in Nix module 2018-12-22 14:31:23 -08:00
Ryan Mulligan
e7d3eb0560 move from concerete IO to MonadIO in Git module
compiles now
2018-12-22 10:36:32 -08:00
Ryan Mulligan
1c81fbc798 use nix-build to get new hash
nix-prefetch-url doesn't work with too much stuff, so we need to use
nix-build to get the real hash.

closes #101
fixes #92 in a much better way
2018-12-22 07:01:15 -08:00
Ryan Mulligan
b3a7fe683b fix compareVersions call
closes #99
2018-12-22 06:51:36 -08:00
Ryan Mulligan
07d003c02c fix Clean sed expression
closes #100
2018-12-16 16:48:52 -08:00
Ryan Mulligan
f5a41fdc3d blacklist deepin, gitlab-shell, and gitlab-workhorse 2018-12-16 16:18:05 -08:00
Ryan Mulligan
ade1942d38 blacklist checking kicad
one of the binaries doesn't timeout properly and it exhausted all the system memory
2018-12-15 15:56:11 -08:00
Ryan Mulligan
b9f6527108 more work moving shell deeper 2018-12-08 14:01:05 -08:00
Jan Tojnar
5a93377808
run hindent 2018-12-02 17:46:45 +01:00
Jan Tojnar
264bc8ee2f
unblacklist gnome 2018-12-02 13:35:17 +01:00
Ryan Mulligan
e2e452018a remove unwanted experiments 2018-12-01 20:02:18 -08:00
Ryan Mulligan
c99d87a732 Merge branch 'mtl' of github.com:ryantm/nixpkgs-update into mtl 2018-12-01 20:01:33 -08:00
Ryan Mulligan
38b55c6ab9 change many uses of >>> to & 2018-12-01 19:59:55 -08:00
Ryan Mulligan
bc7ccebbc1 work on mtl pushing shelly to periphery 2018-11-30 21:39:26 -08:00
Ryan Mulligan
b35f623659 WIP: mtl 2018-11-30 07:32:16 -08:00
Ryan Mulligan
57276bebd7 use MonadError for Blacklist 2018-11-29 18:47:01 -08:00
Ryan Mulligan
0089d22e7a add logs to help track down duplicate staging PR issue
ref #69
2018-11-28 21:47:16 -08:00
Ryan Mulligan
b9b3f98992 move path pin compatiblity check to as early as possible
also remove unnecessary type annotation
2018-11-28 21:26:55 -08:00
Ryan Mulligan
4480a8319c fix indentation of comments 2018-11-28 21:22:24 -08:00
Ryan Mulligan
94fe460e60 make it clear that the rebuild report is based on merging the PR into master 2018-11-28 21:21:28 -08:00
Ryan Mulligan
3c8658a411 blacklist chromedriver
closes #71
2018-11-28 20:35:24 -08:00
Ryan Mulligan
b7acc90548 blacklist postFetch and executable = true
nix-prefetch-url cannot handle either of these things:
https://github.com/NixOS/nix/issues/1514

closes #92
2018-11-27 21:15:40 -08:00
Ryan Mulligan
102a469d94 blacklist mate. attrpath prefix
closes #94
2018-11-27 20:47:24 -08:00
Ryan Mulligan
4f9c29c60a add _x attrPath pin version compatibility
closes #95
2018-11-27 20:43:37 -08:00
Ryan Mulligan
0e7fbcfa3c fix logic bug introduced by refactoring 2018-11-18 21:02:45 -08:00
Ryan Mulligan
a8b0d2aefc simplify Nix.resultLink 2018-11-18 20:40:52 -08:00
Ryan Mulligan
2b8f129662 refactor Update.hs to use ExceptT 2018-11-18 20:35:12 -08:00
Ryan Mulligan
a43b2684e9 move log message about rebuilds into the python error message 2018-11-18 14:39:40 -08:00
Ryan Mulligan
9126cdeb1e change other places that assume .src is the fixed output derivation
also fixes #90
2018-11-18 11:04:33 -08:00
Ryan Mulligan
94186939d8 look for src URLs in the top-level derivation
closes #90
2018-11-18 10:15:34 -08:00
Ryan Mulligan
ef133fccfe Don't declare versions as incompatible with the attrpath unless the previous version was compatible
closes #88
2018-11-17 20:38:48 -08:00
Ryan Mulligan
dfec1299da show 50 rebuild packages and various small text changes 2018-11-17 15:44:58 -08:00
Patrick Hilhorst
c20382bf4f
Blacklist: add no-auto-update option
There is currently no way to have nixpkgs-update ignore a package
explicitly. This adds that, with the magic string
"nixpkgs-update: no auto update".
2018-10-24 18:43:14 +02:00
Ryan Mulligan
697a33ee1b fix build 2018-10-23 20:36:14 -07:00
Ryan Mulligan
86cb0b63be enable python updating using FRidh's specifications
ref #83
2018-10-23 19:49:14 -07:00
Ryan Mulligan
931ce782e8 fix newlines in outpathReport 2018-10-23 19:49:01 -07:00
Ryan Mulligan
0479410d28 fix typo 2018-10-23 19:48:29 -07:00
Ryan Mulligan
b636d783b7 only check outpaths of merge base every hour; decide PR target branch
PRs go to staging if >100 packages rebuilt
2018-10-23 07:01:08 -07:00
Ryan Mulligan
04a7a10c91 add outpath report
this still needs to cache the beforeSet before it can actually be
practically useful.
2018-10-22 22:20:25 -07:00
Ryan Mulligan
7c42932b80 make parser for nix-env query result line 2018-10-21 22:12:27 -07:00
Ryan Mulligan
c660e97d72 laying groundwork for a better system to not submitt the same PR twice 2018-10-21 15:08:05 -07:00
Ryan Mulligan
cd86fbb851 Utils: derive show for Options, reformat file 2018-10-21 15:07:22 -07:00
Ryan Mulligan
9f71c2e136 delete outdated comment 2018-10-21 15:06:53 -07:00
Ryan Mulligan
42ad47a748 improve testing instructions to not require installing or always trusting Cachix
hat tip to Michael Raskin

closes #77
2018-10-20 21:40:08 -07:00
Yegor Timoshenko
6bd34dd8b1
Recommend running Cachix with Nix shell 2018-10-13 12:53:17 +00:00
Ryan Mulligan
754a70363e blacklist harfbuzzFull 2018-10-03 20:54:49 -07:00
Ryan Mulligan
bf069b64b8 reformat Blacklist.hs 2018-10-03 20:50:38 -07:00
Ryan Mulligan
42240b899f blacklist sqlite-interactive 2018-10-03 20:50:26 -07:00
Ryan Mulligan
f629ba4de4 blacklist burp temporarily 2018-09-21 12:45:25 -07:00
Ryan Mulligan
471be3302e blacklist meson 2018-09-20 16:31:17 -07:00
Ryan Mulligan
e0b73b8b95 fix lookupAttrPath 2018-09-20 16:31:03 -07:00
Ryan Mulligan
f4630c3b9e blacklist iasl 2018-09-19 06:38:56 -07:00
Ryan Mulligan
4eb1d2ab15 do not allow attrpath aliases when looking up attr path
closes #37
2018-09-13 22:02:49 -07:00
Ryan Mulligan
06035900c4 fix repologyUrl 2018-09-06 21:46:24 -07:00
Ryan Mulligan
9cfabe9928 add branch deletion for done PRs 2018-09-06 06:47:09 -07:00
Ryan Mulligan
bc52075a1f lowercase package name for Repology urls
closes #74
2018-08-25 11:33:13 -07:00
Ryan Mulligan
4a1b489af7 simplify and improve testing instructions
* Don't require checking out nixpkgs
* Make it clear that Cachix is optional
* Provide more instructions about how to test

Thanks to mpickering for suggesting simplication.

Closes #73.
2018-08-24 21:13:25 -07:00
Ryan Mulligan
15f16444ca fix avr-binutils blocklist 2018-08-09 07:05:06 -07:00
Ryan Mulligan
2dd3e9da63 don't word wrap PR message 2018-08-08 21:56:59 -07:00
Ryan Mulligan
adf769055f word wrap commit message
closes #66
2018-08-08 21:50:46 -07:00
Ryan Mulligan
58dc2cba4c blacklist avrbinutils 2018-07-28 20:39:12 -07:00
Ryan Mulligan
8b12603469 add Nix.oldVersionOn 2018-07-23 21:18:32 -07:00
Ryan Mulligan
d46eddbe12 remove remaining grep commands in Update 2018-07-23 21:03:49 -07:00
Ryan Mulligan
408edc7a7c extract numberOfFetchers 2018-07-23 20:51:30 -07:00
Ryan Mulligan
952c5a9566 fix update loop issue 2018-07-21 07:13:55 -07:00
Ryan Mulligan
6ba513cb6c try ignoring ".0" version suffixes if update fails with it
closes #60
2018-07-17 07:31:15 -07:00
Ryan Mulligan
7a13398f7b whitelist elementary-xfce-icon-theme 2018-07-17 07:24:09 -07:00
Ryan Mulligan
c5b498131f add compare changes url for GitHub repos 2018-07-17 07:16:39 -07:00
Ryan Mulligan
5cf1bc67aa fix markdown for GitHub release link 2018-07-12 19:46:09 -07:00
Ryan Mulligan
7e25c4d955 add space before maintainers cc 2018-07-11 07:18:45 -07:00
Ryan Mulligan
5de4e0b2be blacklist checking x2goclient 2018-07-10 20:59:41 -07:00
Ryan Mulligan
3ac864813c fixup new PR message 2018-07-10 20:35:05 -07:00
Ryan Mulligan
d659b62361 fix stale fetching and use Git in DeleteMerged 2018-07-10 20:07:04 -07:00
Ryan Mulligan
f6681ffdc0 remove Shelly from Main 2018-07-10 19:30:34 -07:00
Ryan Mulligan
f2e80a06c2 change Check import to qualified 2018-07-10 19:07:06 -07:00
Ryan Mulligan
42ad39e99d change Git import to qualified 2018-07-10 19:05:46 -07:00
Ryan Mulligan
fb91a8e1bf change Nix import to qualified 2018-07-10 19:01:39 -07:00
Ryan Mulligan
a0e1a76bbd move location of type annotation 2018-07-10 07:52:00 -07:00
Ryan Mulligan
619f074d4c don't show output of git branch --remote
It was making the log files really big
2018-07-10 07:34:48 -07:00
Ryan Mulligan
32f596a748 move Blacklist to use Either 2018-07-10 07:27:04 -07:00
Ryan Mulligan
2be48a3bdf make blacklist code more uniform 2018-07-09 19:20:12 -07:00
Ryan Mulligan
c6600f634a fix blacklist usage 2018-07-09 19:08:41 -07:00
Ryan Mulligan
957c563180 extract isBrokeMsg 2018-07-09 19:00:37 -07:00
Ryan Mulligan
753edcf99f extract on pull request message 2018-07-08 16:41:59 -07:00
Ryan Mulligan
634e6a701f switch to linking to GitHub releases 2018-07-08 14:35:20 -07:00
Ryan Mulligan
3d481d2cb7 work on improving PR message 2018-07-08 14:23:40 -07:00
Ryan Mulligan
dba496ff65 stop placing some details in commit messages 2018-07-08 14:16:56 -07:00
Ryan Mulligan
43c84c16f7 use details for Cachix instructions 2018-07-08 14:15:23 -07:00
Ryan Mulligan
8718af304a extract publishing parts of updatePackage into publishPackage 2018-07-08 14:14:33 -07:00
Ryan Mulligan
152c4d6871 add linebreak after release notes 2018-07-07 17:58:14 -07:00
Ryan Mulligan
dccfe204b1 use details tag to hide changelog 2018-07-07 15:56:44 -07:00
Ryan Mulligan
49043b8c74 fix cachix pushing
closes #58
2018-07-07 14:45:54 -07:00
Ryan Mulligan
c255581c89 simplify blacklists 2018-07-07 06:46:15 -07:00
Ryan Mulligan
49994b5b1c add virtualbox blacklist 2018-07-05 18:21:56 -07:00
Ryan Mulligan
f0152228bc fix cachix log 2018-07-05 17:54:19 -07:00
Ryan Mulligan
8f5a03fe35 add logging to debug cachix issue 2018-07-05 06:46:25 -07:00
Ryan Mulligan
07aaa9f5bc add release notes/changelog for GitHub repositories 2018-07-03 19:30:58 -07:00
Ryan Mulligan
5080c68dae remove experimental notices for Cachix 2018-07-03 19:19:15 -07:00
Ryan Mulligan
85020d1553 blacklist wire-desktop 2018-07-03 13:53:10 -07:00
Ryan Mulligan
74c316c5ed add helpers for upcoming changelog features 2018-07-03 13:52:56 -07:00
Ryan Mulligan
f9513412d1 blacklist altcoins.bitcoin 2018-06-21 06:05:54 -07:00
Ryan Mulligan
db8ea5524b blacklist altcoins.bitcoin-xt 2018-06-21 06:05:54 -07:00
Ryan Mulligan
c402638e2c blacklist itstool 2018-06-08 07:10:18 -07:00
Ryan Mulligan
c6681fcc0d fixup PR message 2018-06-05 21:29:22 -07:00
Ryan Mulligan
74beb6683d check package name blacklist a little sooner 2018-06-05 21:24:21 -07:00
Ryan Mulligan
19869846f7 blacklist r- packages 2018-06-05 21:09:59 -07:00
Ryan Mulligan
f99ee79130 add support for cachix 2018-06-05 20:57:24 -07:00
Ryan Mulligan
8122669127 add blacklist lxqt 2018-05-26 07:06:32 -07:00
Ryan Mulligan
050a211711 add blacklist for node2nix's "Do not edit!" 2018-05-24 21:20:21 -07:00
Ryan Mulligan
7f08e96a8f add blacklist for result checking 2018-05-24 21:20:06 -07:00
Ryan Mulligan
3da0ca6479 make version checks a little more obvious
this still needs some work
2018-05-17 06:29:53 -07:00
Ryan Mulligan
fd59d1b9ca fix bug in meta.description; cleanup output slightly 2018-05-13 19:34:32 -07:00
Ryan Mulligan
5681536086 add meta.description to contents of GitHub PR comment
closes #55
2018-05-13 17:21:36 -07:00
Ryan Mulligan
e230830287 add size listing for result checks
closes #54
2018-05-13 17:20:03 -07:00
Ryan Mulligan
a029769e82 move more of blacklist to own file 2018-05-13 17:07:58 -07:00
Ryan Mulligan
c77fed5f46 blacklist module 2018-05-08 06:23:50 -07:00
Ryan Mulligan
272d6c8a07 extract nixBuild 2018-05-08 06:09:15 -07:00
Jörg Thalheim
9eb742446a
encourage maintainers to test instead of reviewing 2018-05-07 13:55:36 +01:00
Ryan Mulligan
c90a53364c hlint 2018-05-06 20:17:30 -07:00
Ryan Mulligan
0a3643095d hindent clean 2018-05-06 20:14:44 -07:00
Ryan Mulligan
d5ed9425e7 extract getSrcUrls 2018-05-06 17:37:10 -07:00
Ryan Mulligan
9608392048 extract isBroken 2018-05-06 16:43:24 -07:00
Ryan Mulligan
9238c5c3f2 extract nix maintainers 2018-05-06 16:39:38 -07:00
Ryan Mulligan
5905c63b67 use UpdateEnv for git push 2018-05-06 16:32:30 -07:00
Ryan Mulligan
422ee28239 extract more nix cmds 2018-05-06 16:25:44 -07:00
Ryan Mulligan
ee79c61544 extract lookupAttrPath 2018-05-06 14:45:06 -07:00
Ryan Mulligan
adc4547904 add Outpaths module for checking how many derivations change 2018-05-06 14:30:49 -07:00
Ryan Mulligan
b7b488253f extract compareVersions 2018-05-06 14:01:28 -07:00
Ryan Mulligan
99286094b2 introduce nixEvalE
reimplements nixEval' and rawEval'
2018-05-06 13:25:05 -07:00
Ryan Mulligan
64acfe5f4a add either helpers for Sh errors 2018-05-06 12:56:38 -07:00
Ryan Mulligan
4a328851f1 add UpdateEnv structure 2018-05-06 08:56:44 -07:00
Ryan Mulligan
5f14d56616 check for version for binary run with no arguments
closes #50
2018-05-02 19:51:26 -07:00