Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thesayyn/go-containerregistry

Go library and CLIs for working with container registries
https://github.com/thesayyn/go-containerregistry

Skip sending Authorization header if it's empty (#469)

876b8855d23c32bdb30f1929de2977ed3d1653ff authored over 5 years ago
fix typo in compatability_test.go (#467)

342edc910ac5a0efefb73b303040dfcc5569e91d authored over 5 years ago
Add Platform.Features attr and more platform matching checks (#466)

* Add Platform.features and platform matching checks for broadest compatibility

* Changed mat...

6991786f93129be24f857070fe94754a9ea02a0a authored over 5 years ago
golang format tools (#463)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

2687bd5ba651f247a89696f9dc8120100a12f763 authored over 5 years ago
Composable layer cache package (#458)

* strawman cache impl

* comments, fixes

* some tests

* tests for fs, fix some bugs

*...

15879f261e2082fe64b9f92d6738f4d959615dfc authored over 5 years ago
summarise OCI types in a diagram (#460)

bb17f50c1bc6808972811ed2894ecaaeb5de68ad authored over 5 years ago
Retry layer upload on BLOB_UPLOAD_INVALID error (#459)

* Retry layer upload on BLOB_UPLOAD_INVALID error

* remote write: make retry constants local

242243f1fd4caf9aa48a8036bc083089ba431035 authored over 5 years ago
Add error details in CheckPushPermission. (#457)

* Add error details in CheckPushPermission.

Really nasty to find know exactly where things we...

5025889e0b59c2bf3f190d070c4c2611f4baa620 authored over 5 years ago
[g]crane: Add version command (#454)

1c6c7f61e8a5402b606c3c6db169fdcd1b0712b7 authored almost 6 years ago
Refactor remote.ImageOption (#432)

d1e67cf25ac607e7cf7d49ee881647a28d0a0ce6 authored almost 6 years ago
Beef up the documentation for pkg/name (#452)

c3ea05f1377a4e5d434e9b020e427bc4556946fa authored almost 6 years ago
Generate mocks for image and image index (#453)

c0e9ae646c64850bcb030c80c1fdeb8fc8f5302e authored almost 6 years ago
Update cloudbuild.yaml ko reference (#449)

b6d875c30fe7d51e952909e585882149f6fedf74 authored almost 6 years ago
Performance and code quality improvements. (#448)

* Remove unused *http.Client

* Remove unnecessary loop with append(...)

* drop unnecessary...

e217ba3818bb6684b741f7512daa4e1115b88dc6 authored almost 6 years ago
registry: wire up a shell test of the registry binary using crane and docker (#447)

Also fix a off by 1 bug causing docker -> crane containers to break.

eed5c99a29d5bf81e96d7b79ed60e6b4b290bb2c authored almost 6 years ago
Add tests for Docker-Content-Digest, Location headers, and v1/remote compatibility. (#446)

* Add tests for Docker-Content-Digest and Location headers.

These fixes were added to get doc...

5882317425a3114dfd1fd065ba21e74396c919f5 authored almost 6 years ago
registry: Fix comment form and example name. (#445)

This allows the package comment to correctly show up in go doc.

7d6d1d3cd63b486f713ddf83be5956744f4e1bb3 authored almost 6 years ago
registry: Full implementation (#443)

* registry: Add basic support for manifests

* registry: Support monolithic direct uploads.

...

973decc16c27a948bc8fa8284fc4b4b2e56a3dc5 authored almost 6 years ago
registry: Missed review changes. (#439)

I accidentally forgot to commit some review changes

895606788f7b005ed5ee462bf62ac65c31659392 authored almost 6 years ago
registry: Create blobs endpoint and handler. (#436)

72e841a0a67096bac69241466bc03dc40b8c5952 authored almost 6 years ago
registry: Create initial registry folder and support v2 version check. (#435)

* registry: Create initial registry folder and support v2 version check.

* registry: Set the ...

8d7999607156dc5d8451d32c5eb5d81376684cc1 authored almost 6 years ago
Add crane export (#430)

* Add crane export

This is useful for viewing the filesystem of a remote image without
havin...

1d38b9cfdb9d294aca666bf0c1c0bcade771e8c9 authored almost 6 years ago
Only overwrite scheme for the registry host (#429)

Fixes #428

ec69c4a8a1bff25fcbe096fcb32c9a6543fbdccf authored almost 6 years ago
Remove ko from this repo (#415)

* Remove ko from this repo

* Re-add ko's README as a pointer to its new home

f1df91a4a813cbc183527dc7b9a31ea6454557b5 authored almost 6 years ago
Rewrite remote streaming layer handling (#426)

* Rewrite remote streaming layer handling

Assume errors in v1.Layer.Digest are related to str...

eedaddc5e2c83048da48d5a427134d5ba422ba81 authored almost 6 years ago
expose the layer media type (#423)

Signed-off-by: Dave Protasowski <[email protected]>

746d3d3a7303b11a0880748d1e1c1f211e6f761b authored almost 6 years ago
Fix test to not depend on current runtime (#422)

In #398 we changed the manifest resolution to default to amd64/linux but
didn't update the test...

5296537b6d5d12241dd0a8b1ef70a59cba62f48c authored almost 6 years ago
Make mutate.ConfigFile public. (#418)

80cc55a02b4234cd9424777ae149059ed1119828 authored almost 6 years ago
Drop name.WeakValidation (#420)

This is now the default.

7df26a6795af089f2cac25d48650d07960b2b33d authored almost 6 years ago
Refactor pkg/name to use options (#419)

* Refactor pkg/name to use options

This changes the Strictness parameter to be a more general...

e1c5762cb945605669ed5fcb3124e3f839e5cc79 authored almost 6 years ago
Run tests with Go 1.11 and 1.12 (drop 1.10) (#417)

4391daf33639a78d1296b4b3968cb9c6990f66ba authored almost 6 years ago
Add tarball.LayerFromReader (#400)

This provides a more idiomatic way to create
layers from readers without having to understand O...

8d4083db9aa0d2fae6588c1acdbe6a1f5db461e3 authored almost 6 years ago
authn/google: fall back to anonymous authn in case of `gcloud` binary missing (#405)

Signed-off-by: Vincent Demeester <[email protected]>

148cd1779cb1714c4af0d75777eb24ee6b06f188 authored almost 6 years ago
Add remote.Descriptor (#408)

* Add remote.Descriptor

This resolves a mismatch between how registries actually work and our...

871d0d9dba6c1a9aa6aed154d5a936ebf7607a1d authored almost 6 years ago
Add remote.CheckPushPermission (#409)

* add CheckPullPermission

* Add test against real registries, and a comment about GCR

* Up...

8621d738a07bc74b2adeafd175a3c738423577a0 authored almost 6 years ago
Allow both Tag and Digest (Reference) for write (#404)

Having a RepoTags entry is optional, it is possible
to write without tags using digests - makin...

019cdfc6adf96a4905a1b93a7aeaea1e50c0b6cf authored almost 6 years ago
golang format tools (#410)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

ebbba8469d06f4766c6833b9792e4e393716ce50 authored almost 6 years ago
Implement OCI Image Layout support (#261)

* Add pkg/v1/layout

This allows reading/writing images from/to an OCI image layout:
https://...

6225ca1a4de721ff14f6c4cbbfd141ab462bdb22 authored almost 6 years ago
Fix platform comments and error message (#403)

8c1640add99804503b4126abc718931a4d93c31a authored almost 6 years ago
Resolve manifest lists to manifests in remote.Image (#398)

* Resolve manifest lists to manifests in remote.Image

We currently rely on the registry to do...

77f32e8c86022abc77aeb24f9ff9bcb9d2701b1a authored almost 6 years ago
Only attempt to mount for MountableLayer (#401)

88208fda663c6e2a91216cd34f917e6b0228b5e9 authored almost 6 years ago
golang format tools (#399)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

fcd5acbb4e785f428f197ddd66a8931df6923fe6 authored almost 6 years ago
Remove BlobSet from Image (#397)

678f6c51f585140f8d0c07f6f7e193f7a4c8e457 authored almost 6 years ago
Dedupe layer uploads where possible (#396)

* Dedupe layer uploads where possible

* Add test

* fix races

* review comments

1b9964cf67ca46b71156bd0107b7b5975a586404 authored almost 6 years ago
Fix linter errors (#395)

4aac97bd085d96caedbc8213ddb6f489b7eb6706 authored almost 6 years ago
Always validate digests in NewDigest (#393)

This was allowing a missing digest after "@" for weak validation. That
doesn't make sense for d...

995fd619f0218dd715aac87be288ce788c178026 authored almost 6 years ago
Add empty.Index (#394)

* Add empty index

244d6ecfbae342821e8a1333f1e4c7e0f8a128d9 authored almost 6 years ago
golang format tools (#392)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

c2e6d9d10b630b0456d0f04268463f362267dfd7 authored almost 6 years ago
Allow tag and digest (#391)

fixes #351

16d6587b5a87052c861b30443f31c588a319e8d4 authored almost 6 years ago
crane/gcrane: Support copying Indexes (#389)

* Add index support to gcrane cp

* Add index support to crane cp

* Clean up fallback logic

abef0313a8efdcbd9e67bfca1f2e628a989067f3 authored almost 6 years ago
Implement remote.WriteIndex (#387)

* Implement remote.WriteIndex

* Reuse writer for remote.WriteIndex

* Test remote.WriteInde...

74bdd8ec357bec0f0c86d4a020c7d12a6518caf8 authored almost 6 years ago
Implement remote.Index (#386)

* Implement remote.Index

* Share remote code between image and index

* Test remote.Index
...

59cb39e75ba9c3ae634aa5d17cf84a6d6bc5c411 authored almost 6 years ago
Add validate.Image and crane validate (#374)

* Add validate.Image

This function ensures that we don't violate any invariants that we
expe...

2143ada2ec81882868557e821c14217779804113 authored almost 6 years ago
Random index (#382)

* Update v1.ImageIndex to be more usable

1. Rename RawIndexManifest to RawManifest
2. Add Im...

4e7c4267617cb4f6840fb40e12741a579b0c7424 authored almost 6 years ago
Name the app using the base of the importpath (#380)

* Name the app using the base of the importpath

* Create parent directory, handle invalid bas...

d3e6a441f49f6a3e4b52412a67fb260f8b22f70c authored almost 6 years ago
Make -B work with ko {resolve, apply} (#373)

Fixes #372

bada66e31e55b96029f4e456f8eb107f58319629 authored almost 6 years ago
Add omitempty to some config fields (#370)

These are polluting our configs with default values, some of which
aren't present in the OCI co...

eb74bc0c3b6a57309099c7a3f7223bae1823cfa6 authored almost 6 years ago
golang format tools (#369)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

c34c530c862e1149419f499798d47a2067a2a66a authored almost 6 years ago
golang format tools (#371)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

454a5e40f99c6372cd48cc0de24a9abd869f2889 authored almost 6 years ago
Accept 0-byte layer.tar files (#368)

f8829ed13c9368617af154cb52a30f0781e86469 authored about 6 years ago
Close tar.Writer before using output (#364)

kaniko's tar files produced error messages about truncated files when
expanding the layers. Th...

70c1146bdcd89f931e08d4e94a23d6d924316afe authored about 6 years ago
Add http fallback (#360)

* Add http fallback

This first attempts to use "https" for every request, falling back to
"h...

dbc4da98389f9d0c42eb314c2b346bf1d2a27310 authored about 6 years ago
Change Hash MarshalJSON receiver (#363)

This was getting marshalled incorrectly when not a pointer.

492af5c3f2b67800ab4e3e14dc22dcd282f55cf6 authored about 6 years ago
Speed up TestLargeStream (#362)

2s is pretty long, so this removes one digit.

Also fixes a bug in the test failure output.

adfc4ccc20f150b1bbc3212b89064870d93f8533 authored about 6 years ago
Speed up ko resolve test (#361)

This was testing an image with 1024 layers, each 5 bytes, instead of 5
layers, each 1024 bytes.

62a5e38a1a77ed6099feb4ec2688645fbc050f60 authored about 6 years ago
Pull in the latest version of dep-notify to fix ko watch. (#359)

51c402edb5b68081b2b2f390250207550e7c67c2 authored about 6 years ago
Work around kubectl buffering (#348)

This works around buffering in kubectl that led me to workaround this issuewhen experimenting wi...

d39cafd17784ac21c49ab3a04b712894e1c58601 authored about 6 years ago
Fix linter errors (#357)

This fixes everything under golint ./cmd/... and golint ./pkg/...

52aa2729ea7597c8d5f7d6a977fa5cab9fc3a77a authored about 6 years ago
Add "type":"layers" to config RootFS in random (#356)

This is checked by some clients, and using empty.Image fails these
checks because it uses rando...

057495b63d9b20362422337026a030c1ea2abd2f authored about 6 years ago
Use gcr.io/distroless/static:latest by default (#353)

Fixes #339

[`gcr.io/distroless/static:latest`](https://github.com/GoogleContainerTools/distr...

1496eb6b0470a163639aaff730c61247df8ec0be authored about 6 years ago
update deps (#354)

027a2ab1e725b121b60fef3d38c1f9824645ae1f authored about 6 years ago
update vendored k8s to 1.11.3 (#328)

4d5c197c631b43d5a2b258eb871512999bd817c5 authored about 6 years ago
Assume RFC1918 addresses are insecure registries (#290)

This change assumes RFC1918 addresses are insecure and use the
http scheme. This is the same a...

42d4153f23e1b75bfbde04b7c036ee7731c64844 authored about 6 years ago
Load image to daemon only once when writing multiples tags (#350)

* loading image only once.

* change logic of tagging.

* typo.

* removing newline.

* ...

efb7e1b888e142e2c66af20fd44e76a939b2cc3e authored about 6 years ago
Add --tags flag to ko to override pushed tag (#345)

* Support overriding the tag while publishing an image.

* Add tag flag to resolve, apply and ...

686906b30117e91502533cb0569798af65a1769f authored about 6 years ago
golang format tools (#343)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

f514e780f7cdf71b9e98c79d5239ae5cfa2305ec authored about 6 years ago
ko apply --watch (#336)

* ko apply --watch

This adds experimental support for fsnotify integration for `ko apply`.

...

caf7c6e366716b04fb9876ca00d55dedb72e4f23 authored about 6 years ago
Improve structured error printing (#341)

* Move CheckError from remote to transport

We'd like to use this inside transport, but we can...

15b751c1c044fd2c31a13c46d9e97600a88eb8cb authored about 6 years ago
Use google-specific authenticator for gcrane ls (#342)

This cuts down on invocations of gcloud, which results in a dramatic
speedup for `gcrane ls -r`.

3bb8183f27eab1ef05f5dbab362ba7b7f0befe3d authored about 6 years ago
Move scripts/ to hack/ (#338)

This always trips me up because every other project I work with puts
this stuff under hack/.

6be507d48291d8cd99d2f00fdd35deaaeeac3fea authored about 6 years ago
Add a Recorder to compose with builders. (#337)

This adds an implementation of ko's `build.Interface` that simply records the targets that it is...

f7ba3f84707e73200b7584ee36e4b2ef05365773 authored about 6 years ago
Use Cmd.StdinPipe instead of buffer for kubectl (#335)

We were buffering the output of resolveFilesToWriter instead of just
writing directly to kubect...

ed4be12360d0a967907a25201322302a10fb76b6 authored about 6 years ago
Switch ko resolution to use "futures". (#334)

Today the resolution logic in `ko` resolves all files before it starts to feed anything to `kube...

445e1cc3dc60db728a864588d51a6828842bd0fe authored about 6 years ago
golang format tools (#332)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

b00487883a6e709b12a2a6d2bbb30525f7b86604 authored about 6 years ago
Publish gcrane as well in cloudbuild.yaml (#327)

Before we were just publishing crane.

f43897669ed9bb8a4629e808c7a2f6040c5491d7 authored about 6 years ago
Upload config concurrently if we can (#323)

* Upload config concurrently if we can

https://github.com/google/go-containerregistry/pull/30...

3f25dfd242e41e56595de74ade0ac59c2f4626a1 authored about 6 years ago
Set accurate manifest config digest when mutating config (#330)

Signed-off-by: Emily Casey <[email protected]>
Signed-off-by: Matthew McNew <[email protected]>

38d265889e5c6e55bead67699c54507e9075a4af authored about 6 years ago
Add support for `ko run`. (#331)

This adds support for a `ko run` shortcut that effectively composes
`ko publish` and `kubectl r...

23dfc130e6bbae666f6df8d8c7fc116610643629 authored about 6 years ago
ko: log the import paths we are building (#322)

When you run a ko command, it outputs nothing for a few seconds while it
builds go binaries. Th...

39bb280828f4c9d164c47d509aa19e47459c7384 authored about 6 years ago
Clean up our READMEs a bit (#324)

* Reference `gcrane cp -r`
* Reference k8schain from top-level README
* Wordwrap at 80 columns.

e0f538712eb0767ae6959531febe6041fa466602 authored about 6 years ago
Allow to publish images without appended md5 hash (#317)

1d7c260b3d3c1b33ff96c1ec002b70db42f7d877 authored about 6 years ago
Delete broken symlinks, which confuse gcloud builds submit (#321)

* Delete broken symlinks which confuse gcloud builds submit

* ko publish -P

* Update updat...

d1ad8c8ce2a1445e5ea4bb93c70dcf1603d49fab authored about 6 years ago
Small cleanups (#320)

* Unignore genericclioptions in .gcloudignore

* Run dep ensure

8cbd761148bfa99f4330f503c56b21e373198a53 authored about 6 years ago
golang format tools (#319)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

6f2081eda9323d5d6c3ae3628a370e142b34894a authored about 6 years ago
golang format tools (#318)

Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...

506032dca36ca1b54e561e6fb458eca92b752243 authored about 6 years ago
Implement recursive copy for gcrane (#312)

* Implement recursive copy for gcrane
* Use google.Keychain for auth

59069a2b44f6a85c9b1e5cfcbea80fac65e31b45 authored about 6 years ago
Implement googley auth methods (#315)

* Add googley auth mechanisms

Going through the credential helper for everything has some dra...

e08ad85eac0df6b98917680bbac6cdeb335f50f3 authored about 6 years ago
Allow kubectl global flags in ko apply (#297)

* Vendor genericclioptions

* Pass kubectl global flags through for ko apply

This registers...

68537023cae86a3267a37354535baa614ad29924 authored about 6 years ago
Remove whiteout file in testdata (#310)

Fixes #305

1b04aba5d42f04c4192818f896b0e18efed37cad authored about 6 years ago
v1util.NopReadCloser -> ioutil.NopCloser (#311)

17999b05b92c9a1c8fcf47f7ece90ac0dfc04c27 authored about 6 years ago