Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oras-project/oras-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.1
Choose a base ref
...
head repository: oras-project/oras-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.3.0
Choose a head ref
  • 20 commits
  • 41 files changed
  • 6 contributors

Commits on May 31, 2023

  1. feat: add option to skip referrers GC (#515)

    Resolves #510
    
    ---------
    
    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah authored May 31, 2023
    Configuration menu
    Copy the full SHA
    7dd0378 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2023

  1. Configuration menu
    Copy the full SHA
    b4400e1 View commit details
    Browse the repository at this point in the history
  2. fix(oci): create blobs dir and define blobs dir name constant (#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>
    sparr authored Jun 25, 2023
    Configuration menu
    Copy the full SHA
    2e7b65f View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. fix: improve errors for ReadAll and loadIndexfile (#526)

    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 #432
    
    Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
    sparr authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    6b5bd4b View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. refactor: upgrade go mod to image-spec v1.1.0-rc4 and fix the missi…

    …ng types (#536)
    
    Resolves: #530
    
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 3, 2023
    Configuration menu
    Copy the full SHA
    4763cd4 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. chore: enable workflows for release branches (#537)

    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 4, 2023
    Configuration menu
    Copy the full SHA
    babfc51 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. feat: support Image Index with a subject (#548)

    Resolves: #531
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    f0a9c59 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. feat: add a PackOption to support packing image manifests that confor…

    …m to image-spec v1.1.0-rc4 (#550)
    
    1. Introduce `PackOptions.PackManifestType`
    2. Introduce `DefaultPackOptions`
    
    Resolves: #532
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9b52269 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. feat: update Referrers API for distribution-spec v1.1.0-rc3 (#553)

    Resolves: #443
    Resolves: #533
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    2c23ef6 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. feat: update the implementation of pushing manifest for distribution-…

    …spec v1.1.0-rc3 (#557)
    
    1. Support pushing image index with a subject
    2. Check the "OCI-Subject" header
    
    Resolves: #534
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 26, 2023
    Configuration menu
    Copy the full SHA
    79d7081 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. feat: update the implementation of deleting manifest for distribution…

    …-spec v1.1.0-rc3 (#558)
    
    Support deleting image indexes with a subject
    
    Resolves: #535
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    6ec43e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. docs: update links (#563)

    Resolves: #554
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    3a2e0c1 View commit details
    Browse the repository at this point in the history
  2. feat: report warnings (#560)

    Add `Repository.HandleWarning(Warning)` that handles encountered warning
    headers.
    
    Resolves: #469
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    b59a33e View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. docs: add e2e examples for oras-go (#561)

    Resolves #434 
    Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
    wangxiaoxuan273 authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    d5cefe9 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. docs: display larger example (#564)

    Following up issue #434 
    Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
    wangxiaoxuan273 authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    933ae41 View commit details
    Browse the repository at this point in the history
  2. fix: pack should not set artifactType when config is specified (#565)

    Related issue: #532 
    Related discussion:
    oras-project/oras#1011 (comment)
    
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    bbe92af View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    ea07bf6 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. refactor: add PackManifest and deprecate Pack (#570)

    This PR refactors `oras.Pack` that was updated by #532.
    
    1. Move the support of Image Manifest `v1.1.0-rc4` to `PackManifest`
    2. Deprecate `Pack`
    
    Resolves: #568
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    e6d40b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. refactor: refactor unexported pack methods (#573)

    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    60da91b View commit details
    Browse the repository at this point in the history
  2. feat: validate input media type for oras.PackManifest (#574)

    Resolves: #571
    Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
    Wwwsylvia authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    47d028a View commit details
    Browse the repository at this point in the history
Loading