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

Surface credential helper output in errors (#309)

If the helper returns an error, add the command output and binary name
to the error if the outp...

4af8eefe2ad47bd92ed8602eb9214a8116cd3da5 authored about 6 years ago
Fix spelling errors (#308)

Produced via: `github.com/client9/misspell`

63fc47df3f2d99a254e8bea78182bb59b3a6ff69 authored about 6 years ago
Run gofmt (#307)

Produced via: `gofmt -s -w $(find -name '*.go' | grep -v vendor)`

02948caff2f67a31b8f548c412d5b9d0a46bf11d authored about 6 years ago
gcloud ignore broken symlinks, instead of deleting them (#304)

61e4aeff7593142b9b77936a476c38976a67e0db authored about 6 years ago
Delete unused v1util functions (#303)

These aren't used by us and don't provide much utility.

3d40b8531ef1000411ed784e59b756b160bcadf2 authored about 6 years ago
Don't return config 'layer' in ConfigByDigest (#302)

* Don't return config 'layer' in ConfigByDigest

* Remove TODO

d357049f9ee76ee51370b958b6ba1b6da8d0ad36 authored over 6 years ago
Add pkg/v1/stream.NewLayer to stream layer contents (#301)

* Add new stream.Layer which actually passes tests now

* Support stream.Layer in remote.Write...

c0dc13359f0157195b20e7b2af90ca7cad2db828 authored over 6 years ago
Fix recursive gcrane listing (#299)

This return got dropped in a rebase somewhere, so recurisve listing also
does a non-recursive l...

04489150650ce0b6600670fbb6194951dc9ec6d1 authored over 6 years ago
Implement Walk for gcrane listing (#245)

* Implement Walk

Add -r flag to `gcrane {gc,ls}`

* Use functional options

* Add tests f...

0a6b857c44c4f1f33da0a8c8286bfaf830013d86 authored over 6 years ago
Allow overriding .ko.yaml directory with KO_CONFIG_PATH (#294)

* Allow overriding .ko.yaml directory with KO_CONFIG_PATH

* Update README.md

eb57122f1bf944d0584c387c62c1a759c953684d authored over 6 years ago
Fix transport Host checking on redirect (#293)

Transport roundTripper ensure that we are not sending sensitive
authentication information to i...

88d8d18eb1bde1fcef23c745205c738074290515 authored over 6 years ago
Accept a digest reference in crane pull (#287)

* Accept a digest in crane pull

* tag images with :i-was-a-digest

* Update comment

9ed1bc3a410d5ba1ebf5467d27c7609e62ca2f4a authored over 6 years ago
Refresh Bearer token (#283)

* Refresh expired Bearer token during RoundTrip

* Add test for Bearer token refresh during Ro...

24bbadfcffb5e05b1578cb2bd5438992ada3b546 authored over 6 years ago
compressedImageExtender.LayerByDigest properly finds config layer (#285)

* Tests for {compressed,uncompressed}ImageExtender.LayerByDigest

* compressedImageExtender.La...

4b6ff846483844fae7a81c25ad0d91c04ab4f012 authored over 6 years ago
Memoize size/hash for uncompressedLayerExtender (#270)

* Memoize size/hash for uncompressedLayerExtender

* use sync.Once instead of sync.Mutex for m...

563d567a94a54d8373250be69bd02f824d59dd1a authored over 6 years ago
Remove unused empty Options structs (#278)

03167950e20ac82689f50828811e69cdd9e02af2 authored over 6 years ago
Support short path for --local usage. (#276)

* Support short path for --local usage.

* Adjust tests.

52f3c54ec23c758ce5375754a5de62f7cd5ebbbc authored over 6 years ago
fix the example `Deployment` yaml in ko README (#264)

74aef1a35cfa25a5a20c951199abd26356e7bead authored over 6 years ago
allow '-' for apply cmd (#259)

2f3e3e1a55fb70c98801f944d7b6249f8e8a3e20 authored over 6 years ago
support writing multiple images to a tarball (#260)

* support writing multiple images to a tarball

6cfedf31db7d9e06c5beba68e9e1987a44fd844f authored over 6 years ago
Remove Docker-Content-Digest check (#262)

Too many registries don't work correctly, and we don't want to hard-code
them all.

e3df2a4fd30e0756e8fc2031f5a02c5c0b25f10d authored over 6 years ago
Add Image Index types (#257)

* Add Image Index types

This adds minimal structs and interfaces we need to represent an imag...

3165313d6d3f973ec0b0ed3ec5a63b520e065d40 authored over 6 years ago
Fix anonymous credential fallback when using keychain credentials. (#258)

The credentials helpers used to access osxkeychain and thelike print to stdout which is promne t...

4ccc6ca25010f52a4460b65059af4f3545cb1581 authored over 6 years ago
Perform HEAD for blob before initiating upload (#250)

029d4b93c31fc9e5f7ab066313372c9be77af46b authored over 6 years ago
Add cp alias for `crane copy` (#256)

d9747d37810f405878b1e0b55693c52a8971406b authored over 6 years ago
Fix bug where ko layers didn't include tar trailers (#253)

* Fix missing bytes in ko publish

* Set Typeflag and restore determinism

7842f2e9ee14544af45f2382cf075ed7e8578972 authored over 6 years ago
Negotiate docker client API version (#248)

* deps

* Negotiate docker client API version

5f7b0e4895413d785ff15b84d218d73e8a47866a authored over 6 years ago
Upgrade k8s client libraries to 1.11 (#247)

697ee0b3d46eff19ed2b30f86230377061203f79 authored over 6 years ago
remove duplicate scope string from token handshake (#237)

* remove duplicate scope string from token handshake

* make PushScope to be the first element...

4cb0b4c5905eb1c35640c9f5187708fc5ea4eef0 authored over 6 years ago
Add option to force registry scheme (#125)

* Add option to force registry scheme

* Add constructor to accept insecure registry

* Remo...

b0936d62e7942acf7b1b5d4c377caa5f0b7566a5 authored over 6 years ago
Add a gcrane tool (#243)

* Make CheckError public

* Add google package

* Add a gcr tool

This is a variant of cra...

f3fcd441e658c7ea8a08f3619170a93ef08a5be3 authored over 6 years ago
Add support for kodata. (#242)

This change adds support for including static assets into `ko`-produced images. This enables us...

0eeba96f66fdd1873f2ec7f3764ee3b58c5a050c authored over 6 years ago
Change the default behavior to use flat image names.

Add a functional option to `pkg/ko/publish` to control image names.

To enable the broadest po...

841282694456173deafa67ca26e8f29686ffe2e5 authored over 6 years ago
Don't log anonymous fallback except in WithAuthFromKeychain (#238)

* Don't log anonymous fallback except in WithAuthFromKeychain

* fix build

* Still log erro...

9c974872bc17b108ff910a5c97eaa676e3dfab2e authored over 6 years ago
Migrate pkg/ko/build to functional options. (#236)

1fcd4c5f05065afeab866058b03c688d0ab89157 authored over 6 years ago
This migrates the `publish.NewDefault` method to functional options. (#235)

* This migrates the `publish.NewDefault` method to functional options.

* Incorporate feedback...

01c29fe364b98f32f2a1decf2a7c7b4cb231a2a2 authored over 6 years ago
Remove spurious newline

f457d9fb8a6c95364adfdbd7152f9e713acc602d authored over 6 years ago
Allow relative paths in ko publish (#231)

* Skip IsSupportedReference unit tests

* Fix tests

* Support ko publish with relative path...

79f16dc60712375d3e76d65c52e3801778642687 authored over 6 years ago
Move {build,publish}.NewFixed to resolve_test.go (#234)

50fba4a4dbad875480c70c70f8c70fd3a38be103 authored over 6 years ago
Use go/build.Import to resolve import paths (#229)

* Reject importpaths that do not represent commands, simplify tests

* Skip IsSupportedReferen...

1622d0a4a847430a0f16d4dc40cc2a7abe3ddfe3 authored over 6 years ago
Add a mechanism for composing keychains. (#232)

This enables us to change the fallback behavior of keychains from Anonymous to another keychain.

5b94689e517344fe3474a719f6db9d9431ab40ab authored over 6 years ago
Import github.com/mattmoor/k8schain as pkg/authn/k8schain. (#226)

* Import github.com/mattmoor/k8schain as pkg/authn/k8schain.

I had initially hosted this as a...

22113dc92768cbb4cbc60da678c9a29742da038d authored over 6 years ago
Fix rebase_cloudbuild.yaml (#230)

a70775e500273172cd4f715af66acca9ed23220a authored over 6 years ago
Add code coverage (#227)

Signed-off-by: Jake Sanders <[email protected]>

f02501e1d74bff68d6e2d8962ea61277ea628b5d authored over 6 years ago
Lowercase repo names in pkg/ko/publish/... (#224)

Fixes #212

81ad6bb884eddb0bb97ade77f0dd0d54ca8e70b6 authored over 6 years ago
Rip bazel out (#217)

* [WIP] Start ripping bazel out

I cannot understand why, but running the ko tests breaks my e...

3d1252ef45f3d91c53b12f417ccebe8d77da918d authored over 6 years ago
Fix file paths for `ko` on windows (#222)

* Fix file paths for `ko` on windows

* Use `filepath.Rel` and `filepath.ToSlash` to match Uni...

9b5187e48e9aa55376d07403aa3e9b430e3749db authored over 6 years ago
cross-repo blob mount should be used only when the layer comes from the same registry (#219)

* cross-repo blob mount should be used only when the layer comes from the same registry.

* fi...

d54baf9aa28edb9b985a6b35b57e26e3410c2443 authored over 6 years ago
preserve config for reproducible images (#216)

* preserve config for reproducible images

* move comment

3f6471078a9661a9a439bd5e71a371aff429566a authored over 6 years ago
compressing layers for reproducible images (#210)

* compressing layers for reproducible images

* read the actual bytes

* adding layertime test

000ebf1ac80466c7e9054b0e5e5c367bddb79959 authored over 6 years ago
functional options (#172)

b32ffadc0522f1db02422bf6c01e0ad62dc64c97 authored over 6 years ago
Avoid creating build output file (#214)

Create a new build directory for each file and use a fixed file name but don't
open the file (s...

9337c2139ea5addd552c258bb0ba5c8f8bd02dbe authored over 6 years ago
Preserve the full source reference in MountableLayer (#208)

Mounting is just one way to take advantage of this information, so preserve as much information ...

d5ae41de3d3c22d36b735f5d5e3fb42d1ba32f25 authored over 6 years ago
Adding mutate library methods for reproducible images. (#206)

* adding stripconfig library method

* create a whole new image

* filling out functionality...

5f3e1b6ff67cb53937e5c271cc98bb0a8b90fd28 authored over 6 years ago
Define minimum golang version (#204)

Fixes #27.

dc0a77702ddab8c3dc5630eca7c026d571c1c9b7 authored over 6 years ago
Update crane append to accept flags, not args (#203)

- mark required flags in append and rebase
- regenerate docs without "Auto generated" section

ef804b17b344fdbd4fedcd3320da5d30607fb9fd authored over 6 years ago
Check generated docs in CI (#201)

* Check generated docs in CI

ecb2d038e7767163be72046cc3e75da0b83f058e authored over 6 years ago
Allow keychain_test to pass outside of Bazel (#202)

0f5e9a903ed2a3b5a3c66dc50ad015f0244c8c33 authored over 6 years ago
Link to ko and crane (#196)

* Link to ko and crane
* also fix import paths in example

11085b1805b9e9e6987278a5f61202d088e9b7f0 authored over 6 years ago
Move all of the library code under pkg/ for consistency. (#194)

... and to follow the widely adopted Go convention.

Fixes: https://github.com/google/go-conta...

5e2bd1f4bf61add62944828d54e239d352daaabf authored over 6 years ago
Generate docs via a new flag to crane (#115)

Add generated docs for crane under `./cmd/crane/doc`.

dc7ac4a9811d570fcd08908f3c2486d2146c45dc authored over 6 years ago
Recompute the size in the same places that we recompute the digest. (#193)

Fixes: https://github.com/google/go-containerregistry/issues/192

fa3ceb63dc1fdce7ed84d7761b26e2d0c5d21479 authored over 6 years ago
Fix BASIC challenge (#191)

* Fix BASIC challenge

Java people like to yell, which `strings.Title` doesn't handle well.

...

34a68410552db6443e40459320de1ee9ca934502 authored over 6 years ago
Avoid recomputing the DiffID of layers where we know it. (#187)

Prior to this change, the `partial` package enabled folks to implement the bare minimum interfac...

e033bc7269cacc3145d08df64ad5cf387c7fc48d authored over 6 years ago
Change the way mounting works in go-containerregistry. (#186)

This completely changes the model for cross-repo mounting in the go-containerregistry library. ...

301bc4aaa86255df53975435ff908f684727ad61 authored over 6 years ago
Reject unrecognized arguments. (#183)

Previously we silently ignored unrecognized flags, which led to non-intuitive behaviors when a t...

7c6d78e4d3a16138648e767669303e8e21989ad9 authored over 6 years ago
Accept KO_DOCKER_REPO=ko.local in addition to -L (#184)

This enables users to configure the use of the local docker daemon via the `KO_DOCKER_REPO` envi...

26349c31228b5fcd29a0c5b895c08bbee4e2a189 authored over 6 years ago
Rename our chosen entrypoint to /ko-app (#182)

Previously we used `/app`, which is unfortunately a fairly generic name, in a location that does...

d53681107be2c712cf02798be3ca1b8844cf26f6 authored over 6 years ago
Document ko + minikube (#174)

Update the docs to cover `-L` and usage of `ko` with `minikube`.

36637b11473b5be14cc7271b034e098a9b572529 authored over 6 years ago
Build a crane builder image, using ko (#178)

* Build a crane builder image, using ko

* Add cloudbuild.yaml

* Use crane to get crane's d...

f4d4e90256ec9df7e38b5f0c05092bc1423bbd15 authored over 6 years ago
Remove unnecessary newline (#177)

3f14e090ec8bf240fb209fbe705e4fb55d8ecbad authored over 6 years ago
Log pushed digest to stderr (#176)

Fixes #169

8bdfdfc3bd4146f40b7709f6b1b7d979a3385da8 authored over 6 years ago
Improve the ko help text. (#175)

d3327f2a5959e6dffa1cf4ed999ce129b6e12262 authored over 6 years ago
Add newline to `crane digest` output (#173)

As (probably) the only user of this command, I find that I want a
newline more often than I don...

bee0323f646cd4c5c9027f771d442fb32b812584 authored over 6 years ago
Add creation time to image build in ko (#146)

* For a consistent creation of images, use SOURCE_DATE_EPOCH in ko as specified in
https://repr...

1dc552b93e5d6235ac25748b73c8b414b3de182f authored over 6 years ago
Support private base images in ko. (#168)

0edaf6e602c3be84760c328ab51f170394e90287 authored over 6 years ago
Fall back to default GOPATH if unset (#162)

Fixes #154.

7f1e66edb3a89174cb95bbc9ab5324449cd80d69 authored over 6 years ago
Switch from DefaultCompression to BestSpeed (#158)

Disk is cheap and we (generally) have fast networks, but I haven't
figured out how to get more ...

44a7f2a3ad33fe8c8ddd2c9a1c27262da29d0ceb authored over 6 years ago
Fallback to Anonymous if credentials are not found (#157)

Fixes #156

Signed-off-by: David Gageot <[email protected]>

7da7957aee21f95e68545e1ae235654daec23c89 authored over 6 years ago
Add ko publish (#151)

* Add ko publish

* Update cmd/ko/README to include ko publish, simplify examples

* Move pu...

bf784214fdcd271124813ac32f62a83848f9ed73 authored over 6 years ago
Use gzip.DefaultCompression by default (#153)

Fixes #150.

gzip.BestCompression is very slow.

On my machine, for "gcr.io/google-appengine...

9ce700954e892d289e2dd54cf81f4c49356e1bc5 authored over 6 years ago
Remove reference to passed-through go commands (#152)

69082dcd13b7285516a77b106c7bc702c61b544f authored over 6 years ago
Remove buildifier checks (#149)

They regularly make breaking changes, and I have no interest in vendoring it just to get basic l...

444ab79261d69459bce69344ca13fed5d28bfd82 authored over 6 years ago
Don't use the latest tag (#148)

Avoid the latest tag so that the K8s pull policy will default to IfNotPresent.

Also use a fak...

bde1a156882d8dac1ba7d3dd6726eb3ee29d3fe2 authored over 6 years ago
Split cmd/crane implementation to pkg/crane (#142)

Rewrites each "init()" to be "NewCmdFoo". This pattern was cribbed from
the kubectl command in ...

7d3c67809c1abe924b74944acf55fdeb279de1b0 authored over 6 years ago
Don't require KO_DOCKER_REPO in local ko (#145)

70e09c092e51dc605783302ffb3993a820174d3d authored over 6 years ago
added healthcheck to config struct and healthcheck struct (#138)

* added healthcheck to config struct and healthcheck struct

* added test tag to HealthConfig ...

ee5a6c257df843b47a2666ff0fff3d31d484ebda authored almost 7 years ago
Add a local mode to ko. (#135)

This change adds a --local (or -L) flag to `ko`, which directs it to "publish" image references ...

fc1c0d6fb2a64018a6e6f18391338034bc67183d authored almost 7 years ago
Wrap cmd errors with some context (#134)

b45a1e685bfcaf1e41e22f304b7c851b5e55d0bb authored almost 7 years ago
Remove stale comment (#132)

cb5821b08ba7945016250949b028a6a04eb0c54a authored almost 7 years ago
Implement remote.List (#131)

* Implement remote.List

* Address feedback

9cfafb70164bceabd4663e2d3be51eff0a8633ee authored almost 7 years ago
Make random.Image return an image with actual tar contents (#130)

* Make random.Image return an image with actual tar contents

* Update image_test.go

eedc84f8d415f251b862da7c7eda8ed511988916 authored almost 7 years ago
Switch from go install to get. (#129)

fa81d847fcede9f4c2766feb46b882ee417c68e8 authored almost 7 years ago
don't filepath.Join names when splitting directories (#128)

9a6a2b004c1a6d2c946acc52af194d85b882f8c6 authored almost 7 years ago
Stop logging errors for mismatched digests (#122)

6839038fce91cc39d849c89940ab04f1d6fdfa5d authored almost 7 years ago
implement daemon.write (#114)

1968f30e5218f752a594ef6a425e24576d64814a authored almost 7 years ago
Address TODO in ko/resolve. (#126)

This simplifies the parallelism in ko/resolve's type-based walk. Instead of trying to paralleli...

71d387b23c8c5488e8a70a39b0b214af1ac01f30 authored almost 7 years ago
Fix scope-related bug in remote.Write (#123) (#124)

* Fix scope-related bug in remote.Write (#123)

* Simplify args to transport.New (#123)

0ff1db03aaaabc9820e8a13353f61d8474814abd authored almost 7 years ago
Add mutate.Rebase and crane rebase that uses it (#121)

* Add mutate.Rebase and 'crane rebase' which calls it

* Add new files

* Remove automatic s...

b90f2d2210b36a60a7e7ca5b0b5c9892f22e072e authored almost 7 years ago
Improve logging for remote.Write (#120)

* make it clear which digests are blobs
* mimic the docker push output for the manifest

48dcc10b3aad9a760316aba5c88138bcc60dbcd1 authored almost 7 years ago