Commit Graph

29 Commits

Author SHA1 Message Date
Adam Reese b6fdd8783b
feat(cmd/helm): remove need for helm init command
* allow repository config via cli
* make `helm repo add` create repo config file if it does not exist
* squash a ton of bugs

Signed-off-by: Adam Reese <adam@reese.io>
2019-08-22 23:31:50 -07:00
Matthew Fisher c728611e5a
feat(cli): support XDG base directory specification
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-02 13:15:03 -07:00
roc 212d326a34 ref(pkg/repo): rename RepoFile to File
To resolve the linter warning: name start with package name.

Signed-off-by: Roc <roc@imroc.io>
2018-11-20 19:58:35 +08:00
Adam Reese 4f26b658d8
change copyright to "Copyright The Helm Authors" 2018-08-24 12:03:55 -07:00
Adam Reese c50813af54
ref(*): remove local repository (dead code) 2018-04-25 09:35:29 -07:00
Mitchel Humpherys 6de70254fd feat(repo): Add test for non-existent repo path 2017-12-13 09:46:15 -08:00
Matthew Fisher 9d1db2851e Revert "Write repo file using atomicfile"
This reverts commit 965cb7fd1c.
2017-09-26 14:57:17 -07:00
Raphael Badin 965cb7fd1c Write repo file using atomicfile
This prevents clients from seeing half-written files because
on POSIX systems renaming a file is an atomic operation.

Drive-by: Add test for repo file permission.
2017-05-16 23:25:32 +02:00
Sushil Kumar cfd041eed5 Added unit tests
Added tests for:
- [ ] pkg/version/versions.go
- [ ] pkg/repo/repo.go
2017-03-23 16:11:01 -07:00
Anton Galitsyn f8a261f277 use old naming 2017-01-09 18:25:37 +07:00
Anton Galitsyn 89ab7555db Get http.Client from referenced repository 2016-12-28 22:59:21 +07:00
Anton Galitsyn b0e7a43b5b Construct http.Client for repositories from config, add TLS support 2016-12-28 22:59:11 +07:00
Adnan Abdulhussein ee7fe7c728 fix(repo): ensure index generates in the right order 2016-10-19 10:56:04 -07:00
Matt Butcher 4f09b05613 feat(helm): implement new index format
This implements a new index file format for repository indices. It also
implements a new format for requirements.yaml.

Breaking change: This will break all previous versions of Helm, and will
impact helm search, repo, serve, and fetch functions.

Closes #1197
2016-10-04 13:54:14 -06:00
Brandon Philips 440e548901 feat(repo): use OCI style digest identifiers
Use the same format as the Open Container Initiative for a digest
string. https://github.com/opencontainers/image-spec/blob/master/descriptor.md#digests-and-verification

Fixes #1166
2016-09-14 20:20:12 -07:00
Matt Butcher e757b24aed fix(*): add license header 2016-06-22 12:28:45 -06:00
Miguel Martinez a0c1125a39 fix(repo) Malformed URL 2016-06-06 11:24:46 -07:00
Michelle Noorali b4844383aa ref(helm): digest -> checksum in index file 2016-05-20 17:36:23 -04:00
Michelle Noorali 447ce5a2dd ref(helm): fix chart url in index file 2016-05-20 17:30:07 -04:00
Michelle Noorali 0783fee7b7 ref(helm): refactor test index files for search 2016-05-20 14:34:03 -04:00
Michelle Noorali 2234dc8927 feat(helm): handle update case on index function 2016-05-20 14:34:03 -04:00
Michelle Noorali 7bd739c27e feat(helm): populate Digest & Created in index func 2016-05-20 14:34:03 -04:00
Michelle Noorali 7e2964c549 feat(helm): add chart url to index file entries 2016-05-20 14:34:03 -04:00
Michelle Noorali 4bb36c89ab feat(helm): generate index file for repository 2016-05-20 14:34:03 -04:00
Matt Butcher d58cfc46fd reset 2016-04-27 21:29:54 -06:00
Michelle Noorali 4df486e3fb feat(repo): add GetRepoURLByName test
* + fix old repo tests for Name addition
2016-03-24 15:17:29 -06:00
jackgr e065ebcc19 Remove repo name 2016-03-23 20:42:15 -07:00
jackgr 9d8567e07a Define basic repository 2016-03-20 18:56:51 -07:00
jackgr 54abaf7eda Add repo package 2016-03-17 19:30:01 -07:00