1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-22 22:10:46 +03:00
Commit Graph

132 Commits

Author SHA1 Message Date
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
Nicolas Mattia
b638632993 Improve error message when no nixpkgs 2019-04-10 23:10:46 +02:00
Nicolas Mattia
e45c61ecdc Use niv's nix/sources.nix in niv 2019-04-07 19:56:58 +02:00
Nicolas Mattia
3cd02da1ce Fix sources.nix for empty and ./. <nixpkgs> 2019-04-07 19:56:40 +02:00
Nicolas Mattia
af92a311c9
Merge pull request #44 from nmattia/nm-no-cache
Drop the cache
2019-04-07 13:09:12 +02:00
Nicolas Mattia
0491c8a4e8
Merge pull request #43 from nmattia/nm-sources-cleanup
Only generate nix/sources.json and nix/sources.nix
2019-04-07 13:06:15 +02:00
Nicolas Mattia
8b1b890b43 Drop the cache
Right now warming up and saving the cache takes more time than the build
itself.
2019-04-07 13:05:33 +02:00
Nicolas Mattia
13f81059c0 Drop lots of generated files 2019-04-07 12:50:47 +02:00
Nicolas Mattia
60cc94d3e6 Fix shell hook 2019-04-07 12:50:35 +02:00
Nicolas Mattia
130ac83460
Merge pull request #41 from nmattia/nm-nix-cleanup
Replace snack with cabal
2019-04-07 12:41:41 +02:00
Nicolas Mattia
262dd9ab21 Replace snack with cabal 2019-04-07 12:29:24 +02:00
Nicolas Mattia
45041fa765 Drop nix/packages.nix 2019-04-05 11:29:26 +02:00
Nicolas Mattia
d9e38ae971
Merge pull request #40 from nmattia/nm-build-cleanup
Clean up CI build
2019-04-04 13:19:33 +02:00
Nicolas Mattia
5b68e37388 Simplify CI cache 2019-04-04 13:04:16 +02:00
Nicolas Mattia
3185f8a32b Don't generate links in test script 2019-04-04 12:32:51 +02:00
Nicolas Mattia
f57c85d05e
Merge pull request #38 from domenkozar/patch-1
Too much Nix
2019-03-28 10:24:30 +01:00
Domen Kožar
86eb9881b8
Too much Nix 2019-03-28 07:43:32 +00:00
Nicolas Mattia
c2698b0780
Merge pull request #30 from nmattia/nm-update-sources
Update nix/sources.nix if necessary
2019-03-21 20:56:07 +01:00
Nicolas Mattia
fbaed6d725 Clean up 2019-03-13 12:59:41 +01:00
lewo
956f976f5b Update Main.hs
Co-Authored-By: nmattia <nicolas@nmattia.com>
2019-03-13 12:54:10 +01:00
Nicolas Mattia
fed62f31e5 Update nix/sources.nix if necessary 2019-03-13 12:54:10 +01:00
Nicolas Mattia
fc58efb5ed
Merge pull request #33 from nlewo/cleaning
sources.nix: cleaning
2019-03-13 12:52:41 +01:00
Antoine Eiche
4c6b3c2451 sources.nix: cleaning
- Remove fetchTarball which is dead code
- Add a header comment specifying sources.nix is a generated file
2019-03-12 11:37:24 +01:00