1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-29 09:42:35 +03:00
Commit Graph

274 Commits

Author SHA1 Message Date
Nicolas Mattia
444c1ad489
Merge pull request #156 from nmattia/nm-fix-git-update
Fix git update
2019-12-05 21:11:35 +01:00
Nicolas Mattia
cb8ae24e0c Release 0.2.6 2019-12-05 21:05:44 +01:00
Nicolas Mattia
1c89b6d05b Fix git update 2019-12-05 16:05:57 +01:00
Nicolas Mattia
d9f62fdcb7
Merge pull request #153 from nmattia/nm-0.2.5
Fix niv show newlines and release 0.2.5
2019-12-01 22:34:44 +01:00
Nicolas Mattia
b87d7c84ef Fix niv show newlines and release 0.2.5 2019-12-01 18:31:58 +01:00
Nicolas Mattia
7f6ffb1667
Merge pull request #152 from nmattia/nm-0.2.4
Release 0.2.4
2019-12-01 14:02:59 +01:00
Nicolas Mattia
89de962d04 Release 0.2.4 2019-12-01 13:59:05 +01:00
Nicolas Mattia
32fe489e08
Merge pull request #151 from nmattia/nm-split-updates
Experimental support for git dependencies
2019-12-01 12:58:03 +01:00
Nicolas Mattia
c012e4b424 Show stdout on parse failure of ref and HEAD 2019-12-01 12:45:37 +01:00
Nicolas Mattia
c51947d4bf Parse -a and -s in git add 2019-12-01 12:43:47 +01:00
Nicolas Mattia
3377472122 Actually update git specs 2019-12-01 12:41:31 +01:00
Nicolas Mattia
4fbbbf28d4 Write proper error messages for git 2019-11-30 16:23:38 +01:00
Nicolas Mattia
c0cc366f0f Cleanup logger 2019-11-30 16:03:57 +01:00
Nicolas Mattia
26438c14a8 Implement git shortcut parsing 2019-11-30 15:52:22 +01:00
Nicolas Mattia
dfc838aba2 Parse ref and rev in git 2019-11-30 12:36:23 +01:00
Nicolas Mattia
5faeb0a621 Update sources.nix version 2019-11-30 12:23:41 +01:00
Nicolas Mattia
45a6020028 Add experimental (working) implementation of git specs 2019-11-30 12:22:27 +01:00
Nicolas Mattia
3ecde0148f Fix error message in sources.nix 2019-11-30 12:15:09 +01:00
Nicolas Mattia
507d759e9c Add dummy git test 2019-11-30 11:55:35 +01:00
Nicolas Mattia
0a8b4f0ffd Move github tests: tests -> tests/github 2019-11-30 11:42:58 +01:00
Nicolas Mattia
dbfe7acbbe Fix typos and exports 2019-11-30 11:41:44 +01:00
Nicolas Mattia
670a52a817 Initial gitUpdate implementation 2019-11-30 11:10:19 +01:00
Nicolas Mattia
1e7abae029 Fix parsing of subcommands 2019-11-30 11:10:19 +01:00
Nicolas Mattia
c8b5412835 Add Cmd and split commands 2019-11-30 11:07:45 +01:00
Nicolas Mattia
c3ec48dbb0 Add basic CLI for git dependencies 2019-11-30 11:03:12 +01:00
Nicolas Mattia
2663cc56e0 Move GitHub API calls to Niv.GitHub.API 2019-11-30 11:03:12 +01:00
Nicolas Mattia
1d3ec979cd Use githubUpdate' in more places 2019-11-30 11:02:20 +01:00
Nicolas Mattia
f4ff956e9b
Merge pull request #147 from nmattia/nm-sources-update
Refactor fetchers in sources.nix
2019-11-28 10:40:13 +01:00
Nicolas Mattia
b1968996f3 Release 0.2.3 2019-11-28 10:09:24 +01:00
Nicolas Mattia
7dafd4116a Bump sources.nix version to 11 2019-11-28 10:03:38 +01:00
Nicolas Mattia
47eaf09c89 Simplify key value parsing 2019-11-28 09:56:41 +01:00
Nicolas Mattia
e4ea8de1c5 Fix wording in comment 2019-11-28 09:56:41 +01:00
Nicolas Mattia
2e2e9eae97 Fix typo in error message 2019-11-28 09:56:41 +01:00
Nicolas Mattia
5271115a45 Remove TODOs 2019-11-28 09:56:41 +01:00
Nicolas Mattia
271677ec6e Allow JSON attributes values with -a foo=bar 2019-11-28 09:56:41 +01:00
Nicolas Mattia
d9e35d67d8 Refactor fetchers 2019-11-28 09:56:41 +01:00
Nicolas Mattia
bd1aeb0a9c sources.nix: with -> let 2019-11-28 09:56:41 +01:00
Nicolas Mattia
430ee95b6d
Merge pull request #150 from nmattia/nm-0.2.2
Add CHANGELOG and release 0.2.2
2019-11-27 18:37:05 +01:00
Nicolas Mattia
b6a33b847f Add CHANGELOG and release 0.2.2 2019-11-27 18:32:27 +01:00
Nicolas Mattia
268a6c8218
Merge pull request #149 from nmattia/nm-track-sources-nix
Track sources.nix versions
2019-11-27 14:40:19 +01:00
Nicolas Mattia
9aa54f19c4 Add comment 2019-11-27 14:36:20 +01:00
Nicolas Mattia
a20bc9c85d Use logger in warnIfOutdated 2019-11-27 14:35:24 +01:00
Nicolas Mattia
50134f1aa6 Track sources.nix versions 2019-11-26 21:25:25 +01:00
Nicolas Mattia
29b4dd4dc3
Merge pull request #144 from nmattia/nm-modules
Extract modules out of Niv.Cli
2019-11-20 17:51:52 +01:00
Nicolas Mattia
7d0a366c0c Extract modules out of Niv.Cli 2019-11-20 17:07:22 +01:00
Nicolas Mattia
43f0a3d949
Merge pull request #142 from nmattia/nm-better-cmd-add
Refactor argument parsing
2019-11-20 15:03:18 +01:00
Nicolas Mattia
e7bfac7a59 Refactor argument parsing
The argument parsing for `niv add` was a bit ad-hoc. This makes it a bit
more principled by passing clearer types. Moreover the logic of argument
parsing is taking out of `cmdAdd`.
2019-11-20 14:48:07 +01:00
Nicolas Mattia
064c17dc00
Merge pull request #140 from zimbatm/nixpkgs-fmt
Nixpkgs fmt
2019-11-19 13:06:35 +01:00
zimbatm
1cb695fe7e
format with nixpkgs-fmt
I also couldn't help myself to change the `with { ... }` blocks
 to `let ... in` blocks.
2019-11-16 16:08:44 +00:00
Nicolas Mattia
6da5c19aa2
Merge pull request #139 from nmattia/nm-light-refactor
Clean up and refactor
2019-11-10 16:11:07 +01:00