Commit graph

95 commits

Author SHA1 Message Date
Matthias Loibl
27c36f6160
pkg: Write tests for TestInsertDependency, TestFileExists, TestLoadJsonnetfile 2019-07-23 13:36:18 -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
2b3982453f
Merge pull request #34 from davidovich/33-suppress-detached-head-advice
suppress detached head advice
2019-07-23 12:38:40 -07:00
davidovich
c914ece3df suppress detached head advice
This limits urelated output to the console when installing deps
2019-07-23 12:43:21 -04:00
Matthias Loibl
7ad4e41347
Merge pull request #32 from davidovich/fix-tests-are-not-run
Fix tests are not run
2019-07-12 11:37:53 +02:00
davidovich
58b6d89d04 fix compile test failure 2019-07-10 17:57:29 -04:00
davidovich
35ea3ae13f remove -i flag of go test that disables tests
from go help test:

        -i
            Install packages that are dependencies of the test.
            Do not run the test.

This patch simply removes the -i.
2019-07-10 17:57:20 -04:00
Matthias Loibl
080f157c7f
Merge pull request #29 from metalmatze/cut-0.1.0
Release v0.1.0
2019-04-23 17:34:26 +02:00
Matthias Loibl
e45b3ee5f6
Release v0.1.0 2019-04-23 17:03:40 +02:00
Matthias Loibl
18923f2dfc
Use Drone as the CI with a working pipeline (#28) 2019-04-23 14:26:40 +02:00
Frederic Branczyk
ccabc9707c
Merge pull request #27 from metalmatze/modules
Use Go modules
2019-04-23 11:28:05 +02:00
Matthias Loibl
a07883b49e
Use Go modules 2019-04-23 11:24:40 +02:00
Frederic Branczyk
482b78743f
Merge pull request #26 from sparkprime/readme
Add usage examples to README.md
2019-04-01 11:17:51 +02:00
Dave Cunningham
15a95d4bb4 few more tweaks 2019-03-13 13:13:20 +00:00
Dave Cunningham
eceba3ee45 -J vendor and italics 2019-03-13 11:02:13 +00:00
Dave Cunningham
22f353a7b4 Add usage examples to README.md 2019-03-12 19:00:08 +00:00
Frederic Branczyk
aa225e597c
Merge pull request #25 from metalmatze/color
Print colored output for fetched package
2019-03-12 07:59:05 +01:00
Matthias Loibl
c2599b641f
Print colored output for fetched package 2019-03-11 14:21:49 +01:00
Frederic Branczyk
c28ae9034d
Merge pull request #17 from metalmatze/newline
Add a newline at the end of jsonnetfile
2018-09-12 13:37:55 +02:00
Matthias Loibl
decc4efecb
Add a newline at the end of jsonnetfile 2018-09-07 10:59:39 +02:00
Frederic Branczyk
49e110fd83
Merge pull request #15 from metalmatze/init-warning
Check for existing jsonnetfile.json before init
2018-08-08 10:41:23 +02:00
Matthias Loibl
eddfcec0f5
Check for existing jsonnetfile.json before init 2018-08-08 10:35:20 +02:00
Frederic Branczyk
e581455455
Merge pull request #14 from brancz/fix-moving-locked-deps
pkg: Correctly move locked dependencies
2018-08-02 09:59:27 +02:00
Frederic Branczyk
086d95926d
pkg: Correctly move locked dependencies 2018-08-02 08:47:43 +02:00
Frederic Branczyk
ba2afc3084
Merge pull request #13 from brancz/fix-install-from-lock
Fix install from lock-file
2018-08-01 14:23:32 +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
e2bf71cd8e
Merge pull request #12 from brancz/lock
Respect lock-file and add update command
2018-07-25 20:01:05 +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
Frederic Branczyk
061fe0fb19
Merge pull request #10 from jacobstr/gitssh
git+ssh support
2018-05-24 09:49:16 +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
Frederic Branczyk
07445571e6
Merge pull request #5 from metalmatze/kingpin
Introduce kingpin as CLI helper library
2018-04-28 17:17:07 +01:00
Matthias Loibl
4c1f31f272
Vendor dependencies with dep and commit vendor/ 2018-04-28 16:12:36 +02: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
51388f041b
Fix no dependency inserted when previous array is empty 2018-04-25 09:22:17 +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