Commit graph

27 commits

Author SHA1 Message Date
Matthias Loibl
6ee790d911
Add ability to parse local dependency 2019-07-23 14:00:27 -07:00
Matthias Loibl
e5199342ea
Remove unused code in main.go 2019-07-23 14:00:25 -07:00
Matthias Loibl
4630466006
Fix typo in parseDependency name and add tests 2019-07-23 14:00:24 -07:00
Matthias Loibl
9110b1417d
Accept paths instead of URLs 2019-07-23 14:00:19 -07:00
Matthias Loibl
53ca56c221
Separate update command into own file cmd/jb/update.go 2019-07-23 13:59:50 -07:00
Matthias Loibl
30a3cde870
Make use of File and LockFile constants of jsonnetfile package 2019-07-23 13:59:47 -07:00
Matthias Loibl
9d10f90924
Fix install integration tests by using v0.1.0 of jb 2019-07-23 13:44:51 -07:00
Matthias Loibl
42b0bb7ab2
Add license headers 2019-07-23 13:36:28 -07:00
Matthias Loibl
d95948a351
cmd/jb: Create integration tests for init and install 2019-07-23 13:36:23 -07:00
Matthias Loibl
c516ce2506
Pass the working dir from main.go 2019-07-23 13:29:32 -07:00
Matthias Loibl
7560a1075c
Extract cmd/jb/init.go 2019-07-23 13:29:29 -07:00
Matthias Loibl
5fdb88b6f0
Extract cmd/jb/install.go 2019-07-23 13:29:26 -07:00
Matthias Loibl
decc4efecb
Add a newline at the end of jsonnetfile 2018-09-07 10:59:39 +02:00
Matthias Loibl
eddfcec0f5
Check for existing jsonnetfile.json before init 2018-08-08 10:35:20 +02:00
Frederic Branczyk
993f7564f9
Fix install from lock-file
Previously even when installing dependencies from a lockfile,
jsonnet-bundler would attempt to resolve versions of transitive
dependencies to their latest floating version. Instead when a lock-file
is specified jsonnet-bundler should just install the specified versions.
2018-08-01 14:02:59 +02:00
Frederic Branczyk
35b10d3381
Add update command 2018-07-25 13:58:07 +02:00
Frederic Branczyk
74c4caa0cf
Add correct lockfile handling 2018-07-25 13:57:37 +02:00
Jacob Straszynski
004e9f3f99 git ssh cloning via git+ssh
This is nice when you're not running your repository on Github, or have
a private repository.
2018-05-23 18:59:51 -07:00
Jacob Straszynski
562ffd6486 refactor in preparation for git+ssh 2018-05-23 11:20:42 -07:00
Jacob Straszynski
8ff5580971 provide indication that an invalid url was given. 2018-05-23 10:13:00 -07:00
Frederic Branczyk
7959a767ed
Fix install without args 2018-04-28 18:01:00 +01:00
Matthias Loibl
2ef36da33a
Introduce kingpin as CLI helper library 2018-04-26 23:37:30 +02:00
Frederic Branczyk
bd22799e96
Improve github slug regex 2018-04-25 15:53:32 +01:00
Frederic Branczyk
d8dbcba49c
Use https git remote by default 2018-04-25 10:24:10 +01:00
Frederic Branczyk
f69df626e3
Add ability to resolve and install transitive dependencies 2018-04-25 09:01:00 +01:00
Frederic Branczyk
5233278a99
Make install idempotent to jsonnetfile.json 2018-04-24 17:43:27 +01:00
Frederic Branczyk
cb59934d1d
Initial commit 2018-04-24 16:01:37 +01:00