Commit graph

  • 6e3e7b2fdd
    refactor: use a map instead of a slice sh0rez 2019-10-16 17:36:25 +02:00
  • 4b6e2d89e9
    feat: check sum after download sh0rez 2019-10-16 16:48:44 +02:00
  • 36311f1601
    feat: rewrite install procedure sh0rez 2019-10-16 16:34:53 +02:00
  • 71938456ae
    refactor: switch to pkg/jsonnetfile sh0rez 2019-10-16 12:07:10 +02:00
  • a718f48cd8
    refactor: dependency parsing sh0rez 2019-10-16 11:23:31 +02:00
  • 766a0c7fd8
    Merge pull request #51 from davidovich/restore-symlinks Frederic Branczyk 2019-10-25 09:50:15 +02:00
  • f3c21baad8 restore symlinks from tar archive david 2019-10-24 22:41:13 -04:00
  • 32baaddaf6
    Merge pull request #49 from bgagnon/fix-ref-etag-resolve Benoit Gagnon 2019-10-24 12:07:55 -04:00
  • ed7d84f846 update comments to reflect git install changes Benoit Gagnon 2019-10-24 11:08:24 -04:00
  • 1915ef519a relax the SHA1 regex to cover SHA1, SHA256 and any other length of SHA Benoit Gagnon 2019-10-24 11:06:36 -04:00
  • 2bf42f11cd use fmt.Errorf(...) instead of errors.new(fmt.Sprintf(...)) Benoit Gagnon 2019-10-24 11:05:54 -04:00
  • f09b41c7da
    use regexp.MustCompile Benoit Gagnon 2019-10-24 10:47:35 -04:00
  • a44fae09a0
    declare Buffer instead of using NewBuffer Benoit Gagnon 2019-10-24 10:46:51 -04:00
  • f4b09c811e replace ETag SHA1 assumption with an explicit call to git ls-remote Benoit Gagnon 2019-10-23 10:52:39 -04:00
  • 673e9111b1
    Merge pull request #42 from metalmatze/local-dependency-check Frederic Branczyk 2019-10-11 09:32:31 +02:00
  • b21c04091a
    Check errors or explicitly ignore Matthias Loibl 2019-10-10 17:47:41 +02:00
  • f994e4644e
    Fix install integration tests Matthias Loibl 2019-10-10 17:14:42 +02:00
  • a2cf8f6412
    Update vendor/ after updating to Go 1.13 Matthias Loibl 2019-10-09 15:42:55 +02:00
  • 9a2a8afaeb
    Introduce Go 1.13 to use stdlib error wrapping Matthias Loibl 2019-10-09 15:40:14 +02:00
  • b1501bbce7
    Check local dependency symlink destition for existence Matthias Loibl 2019-10-09 15:25:53 +02:00
  • 10e24cb869
    Merge pull request #38 from bgagnon/git-clone-optim Frederic Branczyk 2019-09-30 13:47:13 +02:00
  • 50eac0e70c move the extracted archive into place before exiting Install Benoit Gagnon 2019-09-29 17:24:47 -04:00
  • 41278d8ef4 undo typo in tarball url format Benoit Gagnon 2019-09-28 11:43:10 -04:00
  • 741e7f316f fall back to git if github archive download fails for any reason Benoit Gagnon 2019-09-28 11:41:08 -04:00
  • 2b485512c0 improve github archive download error reporting Benoit Gagnon 2019-09-28 11:40:09 -04:00
  • 524c820a94 use regex instead of prefix match to detect github remotes Benoit Gagnon 2019-09-28 11:23:15 -04:00
  • 76d85b1f49 honor header.Mode for directories found in tarballs Benoit Gagnon 2019-09-28 11:04:49 -04:00
  • 5b12e9c798 additional error checking Benoit Gagnon 2019-09-28 10:57:02 -04:00
  • 93c18a7d4d motivate the explicit f.Close() Benoit Gagnon 2019-09-28 10:56:47 -04:00
  • b597b16173 use filepath.Join instead of string concatenation Benoit Gagnon 2019-09-28 10:32:26 -04:00
  • 1fe94dcf91 fix "errors" pkg double import Benoit Gagnon 2019-09-28 10:26:47 -04:00
  • 926830713e Merge remote-tracking branch 'origin/master' into git-clone-optim Benoit Gagnon 2019-09-28 10:24:11 -04:00
  • c734431ebd
    Update README.md Frederic Branczyk 2019-08-13 15:27:02 +02:00
  • 8b9e476d11
    Merge pull request #36 from metalmatze/local-dependencies Frederic Branczyk 2019-08-13 11:21:45 +02:00
  • e1580b7968
    Remove symlink before creating new ones Matthias Loibl 2019-08-12 18:16:31 +02:00
  • d3bb1f4ea4
    Use URI as name for packages location paths Matthias Loibl 2019-08-12 17:39:09 +02:00
  • 6ed6c3f3ec
    For local dependencies check if abs path exists Matthias Loibl 2019-08-12 11:50:56 +02:00
  • 5e742d5339 Resolve commit SHA1 from GitHub archive ETag header Benoit Gagnon 2019-07-30 22:50:39 -04:00
  • 134b21a473 use Go-native untar and gunzip support to unpack github archives Benoit Gagnon 2019-07-30 21:49:32 -04:00
  • ba93fb74c3 Download tarball archives from GitHub (wip) Benoit Gagnon 2019-07-26 08:05:50 -04:00
  • 671f860a19 Shallow fetch for Git packages Benoit Gagnon 2019-07-24 22:52:06 -04:00
  • 30d7929566 Use git sparse checkout whenever possible Benoit Gagnon 2019-07-24 22:17:11 -04:00
  • c9a5b0a6b2 Pass -n flag to git clone Benoit Gagnon 2019-07-24 22:16:00 -04:00
  • e655fcaf60
    Update README.md with new args name Matthias Loibl 2019-07-23 15:09:58 -07:00
  • e4dcc3e116
    Refactor git deps install and make local deps install work Matthias Loibl 2019-07-23 15:07:35 -07:00
  • 4bea3f2e30
    Merge pull request #35 from metalmatze/tests Frederic Branczyk 2019-07-23 14:32:20 -07:00
  • 07801936c0
    Create LocalSource as type for local dependencies Matthias Loibl 2019-07-23 13:28:58 -07:00
  • 6ee790d911
    Add ability to parse local dependency Matthias Loibl 2019-07-22 19:42:43 +02:00
  • e5199342ea
    Remove unused code in main.go Matthias Loibl 2019-07-22 19:33:44 +02:00
  • 4630466006
    Fix typo in parseDependency name and add tests Matthias Loibl 2019-07-22 18:37:16 +02:00
  • 95226f7f9b
    Sort spec types by dependencies Matthias Loibl 2019-07-22 18:12:40 +02:00
  • 9110b1417d
    Accept paths instead of URLs Matthias Loibl 2019-07-22 18:04:24 +02:00
  • 3e85357934
    Actually run go test on packages Matthias Loibl 2019-07-22 18:03:27 +02:00
  • 53ca56c221
    Separate update command into own file cmd/jb/update.go Matthias Loibl 2019-07-22 17:34:58 +02:00
  • 30a3cde870
    Make use of File and LockFile constants of jsonnetfile package Matthias Loibl 2019-07-22 17:32:53 +02:00
  • 9d10f90924
    Fix install integration tests by using v0.1.0 of jb Matthias Loibl 2019-07-23 13:44:51 -07:00
  • ce22ada9e2
    Run unit tests and integration tests in CI Matthias Loibl 2019-07-23 13:42:38 -07:00
  • 807ab8dc76
    drone: Run tests including integration tests Matthias Loibl 2019-04-24 18:37:44 +02:00
  • 42b0bb7ab2
    Add license headers Matthias Loibl 2019-04-24 18:27:47 +02:00
  • 2ac07139f6
    Update vendored deps Matthias Loibl 2019-04-24 18:24:41 +02:00
  • d95948a351
    cmd/jb: Create integration tests for init and install Matthias Loibl 2019-04-24 18:21:41 +02:00
  • f71ef86d48
    Create pkg/jsonnetfile to better encapsulate jsonnetfile things Matthias Loibl 2019-04-24 18:21:22 +02:00
  • 27c36f6160
    pkg: Write tests for TestInsertDependency, TestFileExists, TestLoadJsonnetfile Matthias Loibl 2019-04-24 18:20:16 +02:00
  • c516ce2506
    Pass the working dir from main.go Matthias Loibl 2019-04-24 18:19:27 +02:00
  • 7560a1075c
    Extract cmd/jb/init.go Matthias Loibl 2019-04-24 18:17:19 +02:00
  • 5fdb88b6f0
    Extract cmd/jb/install.go Matthias Loibl 2019-04-24 18:04:53 +02:00
  • 2b3982453f
    Merge pull request #34 from davidovich/33-suppress-detached-head-advice Matthias Loibl 2019-07-23 12:38:40 -07:00
  • c914ece3df suppress detached head advice davidovich 2019-07-23 12:43:21 -04:00
  • 7ad4e41347
    Merge pull request #32 from davidovich/fix-tests-are-not-run Matthias Loibl 2019-07-12 11:37:53 +02:00
  • 58b6d89d04 fix compile test failure davidovich 2019-07-10 17:52:30 -04:00
  • 35ea3ae13f remove -i flag of go test that disables tests davidovich 2019-07-10 17:50:07 -04:00
  • 080f157c7f
    Merge pull request #29 from metalmatze/cut-0.1.0 Matthias Loibl 2019-04-23 17:34:26 +02:00
  • e45b3ee5f6
    Release v0.1.0 Matthias Loibl 2019-04-23 17:03:40 +02:00
  • 18923f2dfc
    Use Drone as the CI with a working pipeline (#28) Matthias Loibl 2019-04-23 14:26:40 +02:00
  • ccabc9707c
    Merge pull request #27 from metalmatze/modules Frederic Branczyk 2019-04-23 11:28:05 +02:00
  • a07883b49e
    Use Go modules Matthias Loibl 2019-04-23 11:24:40 +02:00
  • 482b78743f
    Merge pull request #26 from sparkprime/readme Frederic Branczyk 2019-04-01 11:17:51 +02:00
  • 15a95d4bb4 few more tweaks Dave Cunningham 2019-03-13 13:13:20 +00:00
  • eceba3ee45 -J vendor and italics Dave Cunningham 2019-03-13 11:02:13 +00:00
  • 22f353a7b4 Add usage examples to README.md Dave Cunningham 2019-03-12 19:00:08 +00:00
  • aa225e597c
    Merge pull request #25 from metalmatze/color Frederic Branczyk 2019-03-12 07:59:05 +01:00
  • c2599b641f
    Print colored output for fetched package Matthias Loibl 2019-03-11 14:21:49 +01:00
  • c28ae9034d
    Merge pull request #17 from metalmatze/newline Frederic Branczyk 2018-09-12 13:37:55 +02:00
  • decc4efecb
    Add a newline at the end of jsonnetfile Matthias Loibl 2018-09-07 10:59:39 +02:00
  • 49e110fd83
    Merge pull request #15 from metalmatze/init-warning Frederic Branczyk 2018-08-08 10:41:23 +02:00
  • eddfcec0f5
    Check for existing jsonnetfile.json before init Matthias Loibl 2018-08-08 10:35:20 +02:00
  • e581455455
    Merge pull request #14 from brancz/fix-moving-locked-deps Frederic Branczyk 2018-08-02 09:59:27 +02:00
  • 086d95926d
    pkg: Correctly move locked dependencies Frederic Branczyk 2018-08-02 08:47:43 +02:00
  • ba2afc3084
    Merge pull request #13 from brancz/fix-install-from-lock Frederic Branczyk 2018-08-01 14:23:32 +02:00
  • 993f7564f9
    Fix install from lock-file Frederic Branczyk 2018-08-01 13:42:47 +02:00
  • e2bf71cd8e
    Merge pull request #12 from brancz/lock Frederic Branczyk 2018-07-25 20:01:05 +02:00
  • 35b10d3381
    Add update command Frederic Branczyk 2018-06-29 14:29:48 +02:00
  • 74c4caa0cf
    Add correct lockfile handling Frederic Branczyk 2018-05-13 06:55:13 -07:00
  • 061fe0fb19
    Merge pull request #10 from jacobstr/gitssh Frederic Branczyk 2018-05-24 09:49:16 +02:00
  • 004e9f3f99 git ssh cloning via git+ssh Jacob Straszynski 2018-05-23 18:59:51 -07:00
  • 562ffd6486 refactor in preparation for git+ssh Jacob Straszynski 2018-05-23 11:20:42 -07:00
  • 8ff5580971 provide indication that an invalid url was given. Jacob Straszynski 2018-05-23 10:13:00 -07:00
  • 7959a767ed
    Fix install without args Frederic Branczyk 2018-04-28 18:01:00 +01:00
  • 07445571e6
    Merge pull request #5 from metalmatze/kingpin Frederic Branczyk 2018-04-28 17:17:07 +01:00
  • 4c1f31f272
    Vendor dependencies with dep and commit vendor/ Matthias Loibl 2018-04-28 16:12:36 +02:00