Commit Graph

647 Commits

Author SHA1 Message Date
Ryan Mulligan
4c64c51aa1 add other installation methods 2020-04-06 22:15:46 -07:00
Ryan Mulligan
57da929cfc make README sections for update and update-list 2020-04-06 21:56:57 -07:00
Ryan Mulligan
1e94e7a5bc fix RewriteSpec options 2020-04-06 21:02:59 -07:00
Ryan Mulligan
8fd2aed8bf hide CVE reporting behind flag
closes #183
2020-04-06 20:39:27 -07:00
Ryan Mulligan
a1e0ec5970 fix ghcid instructions for exe/app 2020-04-06 20:38:46 -07:00
Ryan Mulligan
8632d0381e remove optional 4th parameter to UPDATE_INFO in basic instructions 2020-04-06 18:25:32 -07:00
Ryan Mulligan
c4ba666529 add instructions for basic single update usage 2020-04-06 17:53:34 -07:00
Ryan Mulligan
118cd4adf9 use current directory for nixpkgs if path ends in nixpgks
move reset to master into updateBatch instead of publishPackage so
there is no reset to master in the single update case
2020-04-06 17:48:20 -07:00
Ryan Mulligan
d2dcee918d
Merge pull request #181 from ryantm/ux
improve ux for single update case
2020-04-06 17:17:21 -07:00
Ryan Mulligan
7b79080366 explain trusted-users for cachix, allow other substitutors 2020-04-06 17:16:19 -07:00
Ryan Mulligan
d320593ccb move rewriter calls to Rewrite module 2020-04-05 21:27:39 -07:00
Ryan Mulligan
06a9f32830 separate update logic for single-package interactive updating case 2020-04-05 21:21:07 -07:00
Ryan Mulligan
b30faed1b1 improve ux for single update case
* instead of --dry-run use --pr to indicate a PR is wanted
* instead of additional updates, have update take the update as an
argument
* print out stdout instead of log file in the case of non-batch
updates
* print PR message to log even in the case of no PR
2020-04-05 18:04:38 -07:00
Ryan Mulligan
7f6a38ec92 add instructions for using ghcid with app and tests 2020-04-05 16:42:37 -07:00
Ryan Mulligan
abd0ebcf2e change master to latest
this way we can only deploy to latest when cachix is already populated
2020-04-05 16:15:46 -07:00
Ryan Mulligan
79a26ab8cf ignore store-path-pre-build 2020-04-05 15:31:44 -07:00
Ryan Mulligan
19a8a8c0d0 add default.nix 2020-04-05 15:26:42 -07:00
Ryan Mulligan
081e379e87 try to fix workflow syntax 2020-04-05 15:19:40 -07:00
Ryan Mulligan
7ace4289ff temporary debugging of cachix-action workflow 2020-04-05 15:16:27 -07:00
Ryan Mulligan
3faecabcd2 stop allowing default.nix to be parameterized by pkgs/returnShellEnv 2020-04-05 15:03:41 -07:00
Ryan Mulligan
17188c62ec try using gitignore.nix 2020-04-05 14:54:02 -07:00
Ryan Mulligan
af02888b94 ci: remove .git dir
missing -r before
2020-04-05 14:40:21 -07:00
Ryan Mulligan
43219d1b0c try removing .git for reproducibility 2020-04-05 14:36:06 -07:00
Ryan Mulligan
05402c8fb3 remove and ignore nixpkgs-update.nix 2020-04-05 14:03:47 -07:00
Ryan Mulligan
f051b6638a use builtins.path 2020-04-05 13:42:18 -07:00
Ryan Mulligan
19de4c7ead add name to developPackage
this should make it more reproducible
2020-04-04 21:43:05 -07:00
Ryan Mulligan
49e12cfdce use v2 instead of new for cabal instructions 2020-04-04 19:50:49 -07:00
Ryan Mulligan
5b245af171
Merge pull request #178 from ryantm/install
add installation instructions
2020-04-04 19:44:10 -07:00
Ryan Mulligan
a1cb959212 add installation instructions 2020-04-04 19:42:06 -07:00
Ryan Mulligan
93fdf6c7d2
Merge pull request #177 from ryantm/token
read github token from env, local file, hub config file
2020-04-04 16:18:11 -07:00
Ryan Mulligan
becb745bd5
Merge pull request #176 from bhipple/feature/readme-updates
Include a concrete example of upgrading a pkg in the readme
2020-04-04 16:04:49 -07:00
Ryan Mulligan
220fc8f65e read github token from env, local file, hub config file 2020-04-04 15:52:49 -07:00
Benjamin Hipple
c7c3e7cc86 Include a concrete example of upgrading a pkg in the readme
And make the batch run workflow slightly more separated, as users who are
looking to hack on this are probably just interested in using it to run a couple
packages.
2020-04-04 18:01:08 -04:00
Ryan Mulligan
112841643b reword readme introduction 2020-04-04 14:34:50 -07:00
Ryan Mulligan
99d7e6cf71 remove hindent configuration 2020-04-04 14:32:04 -07:00
Ryan Mulligan
c705a3b8c3 remote hindent filter
we are using ormolu now
2020-04-04 14:30:00 -07:00
Ryan Mulligan
c0d8c5e98c Merge branch 'polysemy2' 2020-04-04 14:11:30 -07:00
Ryan Mulligan
a0a2e6afbe use Polysemy for File and Process, add test for quotedUrls
regenerate haskell nix file (drops hex dependency)

apply ormolu to a few files

fixup cabal file

add polysemy logger interpretation of Output, fix bug in nixEvalSem bug

* nixEvalSem was accidentally not stripping the output

create test_data and simplify RewriteSpec to use it

move Polysemy interpretation stacks closer to where polysemy methods are made

eventually these will move more top level but for now this keeps it
more contained

update to ghc883, remove raw-strings-qq dep
2020-04-04 14:08:14 -07:00
Ryan Mulligan
a300deb10d
Merge pull request #174 from Synthetica9/patch-3
Add a few relevant links in README.
2020-03-31 07:03:14 -07:00
Patrick Hilhorst
bfcb7b92cb
Add a few relevant links in README. 2020-03-31 15:41:40 +02:00
Ryan Mulligan
423f23d02a
Merge pull request #171 from bhipple/fix/logFname
Emit logfile names with ISO 8601 standard dates
2020-03-29 19:13:57 -07:00
Ryan Mulligan
4faa5c4d9d
Merge pull request #173 from bhipple/u/build
Infrastructure upgrades to bump dependencies and cleanup build system
2020-03-29 19:12:43 -07:00
Ryan Mulligan
523681c6d8 Infrastructure upgrades to bump dependencies and cleanup build system
No functional change; this pulls out all of the changes except the `polysemy`
refactoring from here:
https://github.com/ryantm/nixpkgs-update/pull/172

This will allow us to do development with the newer GHC and cleaned up
dependency stack, start using the `hspec` test suite, vet the `github` library
updates, etc., while we work on porting more of the effects to polysemy and
evaluating how it looks.
2020-03-29 20:06:44 -04:00
Benjamin Hipple
8d60bb2dc6 Emit logfile names with ISO 8601 standard dates
Namely, `YYYY-MM-DD.log`
2020-03-28 15:55:09 -04:00
Benjamin Hipple
32c439cf9a
Merge pull request #170 from bhipple/u/workflow-name
Name workflow "CI" instead of "Test"
2020-03-28 14:19:23 -04:00
Benjamin Hipple
ebdd022d2b Name workflow "CI" instead of "Test"
This looks a little cleaner (`CI/tests` vs. `Test/tests`), and allows us space
to add more parallel workflows like `CI/format`.
2020-03-28 14:08:15 -04:00
Ryan Mulligan
9f877d24ab
Merge pull request #167 from bhipple/u/readme
readme: update log location and replace travis build badge w/ github actions
2020-03-28 08:32:52 -07:00
Benjamin Hipple
17ec228f20 readme: update log location and replace travis build badge w/ github actions 2020-03-28 11:30:40 -04:00
Ryan Mulligan
96aad84da6 remove double nix build 2020-03-13 21:30:05 -07:00
Ryan Mulligan
5ca5d0738b remove travis ci 2020-03-13 21:28:08 -07:00