1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-20 20:07:38 +03:00
Commit Graph

154 Commits

Author SHA1 Message Date
Jakub Janczak
d54f3eae7d Fixing the build on darwin by adding those magical ghc flags to clear the global db (which should not be global, because of nix) - say no more 2019-06-16 10:15:06 +02:00
Nicolas Mattia
0ca1bf22f7
Merge pull request #84 from Kleidukos/keep-nix-ssl-cert
Keep the nix ssl cert file variable when running the tests
2019-06-15 15:43:00 +02:00
Kleidukos
962c1b13c5 Keep the nix ssl cert file variable when running the tests 2019-06-15 15:35:01 +02:00
Nicolas Mattia
b009c89166
Merge pull request #82 from nmattia/nm-dont-drop-nulls
Don't drop nulls
2019-06-15 15:24:15 +02:00
Nicolas Mattia
8349f3e55e Don't drop nulls 2019-06-15 13:14:38 +00:00
Nicolas Mattia
312300cca8
Merge pull request #81 from nmattia/nm-release
Prepare for release
2019-06-15 13:57:49 +02:00
Nicolas Mattia
4b7ce24ad5 Prepare for release 2019-06-13 11:30:13 +02:00
Nicolas Mattia
13e316e615
Merge pull request #68 from nmattia/nm-refactor
New update mechanism
2019-06-12 21:37:12 +02:00
Nicolas Mattia
0720263bf1 Update SVG 2019-06-12 19:54:07 +02:00
Nicolas Mattia
567bdb256e Pre merge cleanup 2019-06-12 17:43:27 +02:00
Nicolas Mattia
43d7884eb4 Implement an undefined 2019-06-12 17:35:51 +02:00
Nicolas Mattia
b5fa195dca Print nicer error messages on update failure 2019-06-12 17:07:19 +02:00
Nicolas Mattia
2caf5a7c59 Make update error handling more verbose 2019-06-12 16:47:09 +02:00
Nicolas Mattia
136a650fb1 Skip svg test 2019-06-12 16:27:59 +02:00
Nicolas Mattia
7bc9e797f8 Fight cabal 2019-06-12 16:26:13 +02:00
Nicolas Mattia
cd066313ca Drop null elements in sources.json 2019-06-12 15:39:43 +02:00
Nicolas Mattia
64e80a0cac Move tests to exe 2019-06-12 14:57:21 +02:00
Nicolas Mattia
558e917f9c Add 'tags' to gitignore 2019-06-12 13:49:08 +02:00
Nicolas Mattia
629bd8bb69 Fix build and scripts on macOS 2019-06-12 13:48:59 +02:00
Nicolas Mattia
422a4d595b Remove old code 2019-06-12 13:48:09 +02:00
Nicolas Mattia
7789b95124 New update mechanism 2019-06-09 23:04:10 +02:00
Nicolas Mattia
65786ee156
Merge pull request #67 from nmattia/nm-cleanup
Light cleanup
2019-06-09 19:07:09 +02:00
Nicolas Mattia
d63c65d9db Post rebase fixup 2019-06-09 18:58:30 +02:00
Nicolas Mattia
023807d5fe HMap -> HMS 2019-06-09 18:52:34 +02:00
Nicolas Mattia
8464154e38 Use fewer String s 2019-06-09 18:52:34 +02:00
Nicolas Mattia
d758b48ea0 Drop old TODO 2019-06-09 18:52:34 +02:00
Nicolas Mattia
2f95c55006
Merge pull request #61 from michaelpj/imp/builtin-types
Add fetcher types for builtin tarball and fetchurl fetchers
2019-06-01 13:17:55 +02:00
Nicolas Mattia
692baedcfc Update svg 2019-06-01 13:12:58 +02:00
Michael Peyton Jones
96afc24d7e Make builtin-tarball the default 2019-06-01 13:04:16 +02:00
Michael Peyton Jones
0c48736b06 Support more types, including builtins 2019-06-01 13:04:16 +02:00
Nicolas Mattia
30f55f14e1
Merge pull request #60 from michaelpj/graceful-errors
Abort more gracefully if the source files don't exist
2019-05-24 10:50:24 +02:00
Nicolas Mattia
f2fccf7e22 Update svg 2019-05-24 10:46:10 +02:00
Michael Peyton Jones
3891f80bf5
Abort more gracefully if the source files don't exist
Fixes #59.
2019-05-23 19:00:42 +01:00
Nicolas Mattia
5d9e3a5f7d
Merge pull request #55 from nmattia/nm-test
Massage tests a bit
2019-05-09 12:58:04 +02:00
Nicolas Mattia
71000dc8b9 Drop unused file 2019-05-09 12:52:55 +02:00
Nicolas Mattia
bbbaec4e64 Fix sourceByRegex 2019-05-09 12:43:00 +02:00
Nicolas Mattia
f29f7883d3 Test massage 2019-05-09 12:35:09 +02:00
Nicolas Mattia
e5e441998e
Merge pull request #53 from nmattia/lewo-trailing
Add a trailing new line to the sources.json file
2019-04-30 14:22:13 +02:00
Antoine Eiche
b1f3365c5a Add a trailing new line to the sources.json file
Just because VCS and editors can emit warnings on files without a
trailing new line.
2019-04-30 09:33:00 +02:00
Nicolas Mattia
9ef6a381fc
Merge pull request #54 from nmattia/lewo-tests
Add tests by mocking GitHub API
2019-04-29 13:02:26 +02:00
Antoine Eiche
64f8845e51 Add tests by mocking GitHub API
The following scenario is tested:
1. niv init
2. niv drop niv
3. niv add nmattia/niv
4. niv update niv
5. niv add foo -v 1 -t 'localhost:3333/foo-v<version>'
2019-04-29 12:06:41 +02:00
Nicolas Mattia
a489b65a5c
Merge pull request #50 from nmattia/nm-update-link
Fix netlify link
2019-04-15 22:57:36 +02:00
Nicolas Mattia
abc5144940 Fix netlify link 2019-04-15 15:17:37 +02:00
Nicolas Mattia
cbadb8355c
Merge pull request #49 from nmattia/nm-update-readme
Update README
2019-04-15 00:41:09 +02:00
Nicolas Mattia
ea9119500d Update README 2019-04-14 23:50:42 +02:00
Nicolas Mattia
aedf42ae0a
Merge pull request #48 from nmattia/nm-svg
Add SVG to README
2019-04-14 21:18:09 +02:00
Nicolas Mattia
9703f53e81 Add SVG to README 2019-04-14 21:11:18 +02:00
Nicolas Mattia
7aa070d8b3
Merge pull request #47 from nmattia/nm-missing-repo
Warn if GitHub repository cannot be read
2019-04-11 09:57:24 +02:00
Nicolas Mattia
cd9206daf0 Warn if GitHub repository cannot be read 2019-04-10 23:27:12 +02:00
Nicolas Mattia
29e351ce67
Merge pull request #45 from nmattia/nm-fix-nixpkgs-fetch
Fix infinite recursion and empty nixpkgs
2019-04-10 23:14:43 +02:00