Martin Hickey
256e976331
Update repo handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
Taylor Thomas
854919fae8
feat(repo): Ports repo file `Get` method from v2
...
This is a port of #3478 with some slight refactors to make it a bit more friendly.
It is technically a breaking change as it is changing the method signature from v2
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Adam Reese
1779ad5302
ref(cmd/helm): remove init command
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
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>
5 years ago
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
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>
6 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
Adam Reese
c50813af54
ref(*): remove local repository (dead code)
7 years ago
Mitchel Humpherys
6de70254fd
feat(repo): Add test for non-existent repo path
7 years ago
Matthew Fisher
9d1db2851e
Revert "Write repo file using atomicfile"
...
This reverts commit 965cb7fd1c
.
7 years ago
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.
8 years ago
Sushil Kumar
cfd041eed5
Added unit tests
...
Added tests for:
- [ ] pkg/version/versions.go
- [ ] pkg/repo/repo.go
8 years ago
Anton Galitsyn
f8a261f277
use old naming
8 years ago
Anton Galitsyn
89ab7555db
Get http.Client from referenced repository
8 years ago
Anton Galitsyn
b0e7a43b5b
Construct http.Client for repositories from config, add TLS support
8 years ago
Adnan Abdulhussein
ee7fe7c728
fix(repo): ensure index generates in the right order
8 years ago
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
8 years ago
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
8 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Miguel Martinez
a0c1125a39
fix(repo) Malformed URL
9 years ago
Michelle Noorali
b4844383aa
ref(helm): digest -> checksum in index file
9 years ago
Michelle Noorali
447ce5a2dd
ref(helm): fix chart url in index file
9 years ago
Michelle Noorali
0783fee7b7
ref(helm): refactor test index files for search
9 years ago
Michelle Noorali
2234dc8927
feat(helm): handle update case on index function
9 years ago
Michelle Noorali
7bd739c27e
feat(helm): populate Digest & Created in index func
9 years ago
Michelle Noorali
7e2964c549
feat(helm): add chart url to index file entries
9 years ago
Michelle Noorali
4bb36c89ab
feat(helm): generate index file for repository
9 years ago
Matt Butcher
d58cfc46fd
reset
9 years ago
Michelle Noorali
4df486e3fb
feat(repo): add GetRepoURLByName test
...
* + fix old repo tests for Name addition
9 years ago
jackgr
e065ebcc19
Remove repo name
9 years ago
jackgr
9d8567e07a
Define basic repository
9 years ago
jackgr
54abaf7eda
Add repo package
9 years ago