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

250 Commits

Author SHA1 Message Date
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
Nicolas Mattia
7820785799 Update README 2019-11-10 16:03:33 +01:00
Nicolas Mattia
61990bc3a8 Remove outdated comment 2019-11-10 16:00:31 +01:00
Nicolas Mattia
3a8c2a83b8 Add comments to examples 2019-11-10 16:00:22 +01:00
Nicolas Mattia
b70f81b6f9 Extend getSources with either 2019-11-10 15:59:59 +01:00
Nicolas Mattia
6ea7980031 Prettify show 2019-11-10 15:59:33 +01:00
Nicolas Mattia
88d6f20882
Merge pull request #135 from nmattia/nm-help-no-args
Show help when no arguments are given
2019-10-30 16:46:46 +01:00
Nicolas Mattia
5ed7c608b4 Show help when no arguments are given 2019-10-30 16:41:09 +01:00
Nicolas Mattia
1dd094156b
Merge pull request #127 from nmattia/nm-0.2.1
Release 0.2.1
2019-09-23 22:57:43 +02:00
Nicolas Mattia
cc9a52050f Release 0.2.1
Forgot a PR when releasing 0.2.0
2019-09-23 22:51:35 +02:00
Nicolas Mattia
30022dce33
Merge pull request #124 from nmattia/nm-fix-log
Fix log and failure on `type = file` with recent nixpkgs
2019-09-23 22:47:25 +02:00
Nicolas Mattia
489bc38766
Merge pull request #126 from nmattia/nm-show-version
Show version in --help
2019-09-23 22:46:10 +02:00
Nicolas Mattia
ee19f5f841 Show version in --help 2019-09-23 22:37:17 +02:00
Nicolas Mattia
a014fb3630 Fix functionArgs issue on recent nixpkgs 2019-09-23 13:42:58 +02:00
Nicolas Mattia
7ba93e771f Fix niv show log 2019-09-23 13:19:11 +02:00
Nicolas Mattia
efce82e4ba
Merge pull request #123 from nmattia/nm-custom-github
Use custom GitHub client
2019-09-22 09:37:13 +02:00
Nicolas Mattia
09d6e876df Fix typos 2019-09-22 09:32:42 +02:00
Nicolas Mattia
923f794e4d Document environment variables 2019-09-21 23:25:32 +02:00
Nicolas Mattia
03016df47f Drop 'nivForTest' 2019-09-21 23:12:09 +02:00
Nicolas Mattia
366d7476d7 Use custom GitHub client 2019-09-21 22:09:11 +02:00
Nicolas Mattia
5e9671a9a8
Merge pull request #118 from nmattia/nm-autoupdate
Add update script
2019-09-09 20:42:50 +02:00
Nicolas Mattia
5111f83ed3 Add update script 2019-09-09 20:35:49 +02:00
Nicolas Mattia
c57098815e Change termotosvg template 2019-09-08 20:55:18 +02:00
Nicolas Mattia
94905b3999
Merge pull request #121 from nmattia/nm-log
Prettify logs
2019-09-08 20:43:32 +02:00
Nicolas Mattia
09d62db86b Prettify logs more 2019-09-08 20:36:40 +02:00