Commit graph

15 commits

Author SHA1 Message Date
Benoit Gagnon
30d7929566 Use git sparse checkout whenever possible
If a SubDir is configured for the package,
everything but that directory will be thrown
away after the package is installed.
2019-07-24 22:59:53 -04:00
Benoit Gagnon
c9a5b0a6b2 Pass -n flag to git clone
There's an explicit git checkout command
issued moments later, so there's no need
to create a working copy during the clone.
2019-07-24 22:16:00 -04:00
Matthias Loibl
42b0bb7ab2
Add license headers 2019-07-23 13:36:28 -07:00
Matthias Loibl
f71ef86d48
Create pkg/jsonnetfile to better encapsulate jsonnetfile things 2019-07-23 13:36:21 -07:00
Matthias Loibl
27c36f6160
pkg: Write tests for TestInsertDependency, TestFileExists, TestLoadJsonnetfile 2019-07-23 13:36:18 -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
davidovich
58b6d89d04 fix compile test failure 2019-07-10 17:57:29 -04:00
Matthias Loibl
c2599b641f
Print colored output for fetched package 2019-03-11 14:21:49 +01:00
Matthias Loibl
eddfcec0f5
Check for existing jsonnetfile.json before init 2018-08-08 10:35:20 +02:00
Frederic Branczyk
086d95926d
pkg: Correctly move locked dependencies 2018-08-02 08:47:43 +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
74c4caa0cf
Add correct lockfile handling 2018-07-25 13:57:37 +02: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
cb59934d1d
Initial commit 2018-04-24 16:01:37 +01:00