Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade docker #1

Closed
wants to merge 188 commits into from
Closed

upgrade docker #1

wants to merge 188 commits into from

Conversation

moshe-kabala
Copy link
Collaborator

shizhMSFT and others added 30 commits October 25, 2021 14:18
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
Signed-off-by: Tejaswini Duggaraju <naduggar@microsoft.com>
…ec (oras-project#72)

Signed-off-by: Tejaswini Duggaraju <naduggar@microsoft.com>
Will add semver policy to the oras-project/community repo
We can then link to that from here if desired

Signed-off-by: Scott Rigby <scott@r6by.com>
* Add clarification about project status

Signed-off-by: Josh Dolitsky <josh@dolit.ski>

* Update README.md

Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Josh Dolitsky <josh@dolit.ski>

* Update README.md

Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Josh Dolitsky <josh@dolit.ski>

Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
* copy api

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>

* enhance push with memory cas

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>

* revise doc for UpEdgeFinder

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>

* remove nopcloser

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>

* fix typo

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
* adaptive paging
* refine delete
* check closed on read
* make manifest media types configurable
* build urls
* refine error
* simplify ux
* fix typo
* rename package distribution to remote

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
* registry auth client

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>

* improve error message from auth server

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
Signed-off-by: Andrew Block <andy.block@gmail.com>
Signed-off-by: Andrew Block <andy.block@gmail.com>
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
* revise scope hints for push
* document the change

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
* rewind request body
* fix blob push
* fix manifest push

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
* Update and clean up Makefile.
* Fix test script.
* Detect examples instead of hard coding.
* Update go version to 1.17.6 for testing.

Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
Signed-off-by: Sylvia Lei <lixia_lei@outlook.com>
* pack
* fix pack
* add pack test

Signed-off-by: Lixia (Sylvia) Lei <lixia_lei@outlook.com>
Signed-off-by: Sylvia Lei <lixlei@microsoft.com>
Signed-off-by: Sajay Antony <sajaya@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixia_lei@outlook.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
* FetchTag for manifests

Signed-off-by: Lixia (Sylvia) Lei <lixia_lei@outlook.com>

* FetchTag for blobs

Signed-off-by: Lixia (Sylvia) Lei <lixia_lei@outlook.com>

* rename PushTag

Signed-off-by: Sylvia Lei <lixia_lei@outlook.com>

* refactor FetchTag

Signed-off-by: Sylvia Lei <lixia_lei@outlook.com>

* more test cases

Signed-off-by: Sylvia Lei <lixia_lei@outlook.com>

* support ReadSeekCloser

Signed-off-by: Sylvia Lei <lixia_lei@outlook.com>
* File target
* fix
* minor refactor
* improve doc
* check closed
* refactor
* fix closed

Signed-off-by: Sylvia Lei <lixia_lei@outlook.com>
Signed-off-by: Shiwei Zhang <shizh@microsoft.com
qweeah and others added 16 commits May 31, 2023 17:09
Resolves oras-project#510

---------

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…roject#520)

https://github.com/opencontainers/image-spec/blob/v1.0/image-layout.md#content
specifies that the blobs dir must exist, so the changed ensureDir in
this PR is a bugfix.

The addition and use of the ociBlobsDir constant is more of a cleanup
suggestion, and I can remove it if necessary. I've also asked for it to
be added upstream at
opencontainers/image-spec#1069 but that will
probably take significantly longer.

Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
NewWithContext refers to both the `oci-layout` and `index.json` as "OCI
Image Layout", this PR fixes the latter.

ReadAll is a deeper change that will improve error reporting for a lot
of cases, at the cost of error volume. Some or all of that change could
happen higher up to satisfy this particular issue. I think the
expected/actual size output belongs here. There seem to be more than a
few code paths in this and other repos that end up calling ReadAll
multiple times without reporting which call produced an error so I think
it's appropriate to also output the digest here, but that's less
compelling.

The Verify comment clears up confusion I encountered while working on
this issue. "verifies size" implies checking for both too big AND too
small, but it only checks if the file is bigger (or reader is longer)
than expected.

Fixes oras-project#432

Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
…ng types (oras-project#536)

Resolves: oras-project#530

Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Resolves: oras-project#531
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…m to image-spec v1.1.0-rc4 (oras-project#550)

1. Introduce `PackOptions.PackManifestType`
2. Introduce `DefaultPackOptions`

Resolves: oras-project#532
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…ject#553)

Resolves: oras-project#443
Resolves: oras-project#533
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…spec v1.1.0-rc3 (oras-project#557)

1. Support pushing image index with a subject
2. Check the "OCI-Subject" header

Resolves: oras-project#534
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…-spec v1.1.0-rc3 (oras-project#558)

Support deleting image indexes with a subject

Resolves: oras-project#535
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Resolves: oras-project#554
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Add `Repository.HandleWarning(Warning)` that handles encountered warning
headers.

Resolves: oras-project#469
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Resolves oras-project#434 
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Following up issue oras-project#434 
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
…s-project#565)

Related issue: oras-project#532 
Related discussion:
oras-project/oras#1011 (comment)

Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
@moshe-kabala moshe-kabala changed the base branch from main to v1 August 7, 2023 14:40
@moshe-kabala moshe-kabala force-pushed the upgrade-docker branch 2 times, most recently from ebea30b to 06cca98 Compare August 7, 2023 15:19
dependabot bot and others added 9 commits August 21, 2023 11:54
This PR refactors `oras.Pack` that was updated by oras-project#532.

1. Move the support of Image Manifest `v1.1.0-rc4` to `PackManifest`
2. Deprecate `Pack`

Resolves: oras-project#568
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…t#574)

Resolves: oras-project#571
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Terry Howe <tlhowe@amazon.com>
1. Update go mod version to `1.20`
2. Update go version matrix in workflow config files
3. Update README

Resolves: oras-project#583

---------

Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…as-project#589)

1. Add package `credentials` (migrated from
[`oras-credentials-go`](https://github.com/oras-project/oras-credentials-go))
and its corresponding description
2. Add new type `auth.CredentialFunc`
3. Migrate the credentials example from
[oras.land](https://oras.land/docs/client_libraries/go/#pull-an-image-using-the-docker-credential-store)
4. Change `auth.DefaultCache` to `auth.NewCache()` in examples

Resolves: oras-project#584
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
…errersGC (oras-project#593)

Fix: oras-project#592
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet