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

feat: add fetch command to get manifest of an artifact #449

Merged
merged 65 commits into from
Aug 15, 2022

Commits on Jul 18, 2022

  1. Add get-manifest command with pretty option

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    04bfc87 View commit details
    Browse the repository at this point in the history
  2. Add error

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    c1da0e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Rename to fetch

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    78b1e66 View commit details
    Browse the repository at this point in the history
  2. Add media type support and refactor

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    269bb01 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Add platform and media type

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    e87f4af View commit details
    Browse the repository at this point in the history
  2. Moving multi-arch options into a dedicated type.

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    b902a7f View commit details
    Browse the repository at this point in the history
  3. Enhance platform

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    b79f8e4 View commit details
    Browse the repository at this point in the history
  4. Updage long description

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    994f495 View commit details
    Browse the repository at this point in the history
  5. Refactor platform

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    8c263ba View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Add get-manifest command with pretty option

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    ad97af8 View commit details
    Browse the repository at this point in the history
  2. Add error

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    f5877e5 View commit details
    Browse the repository at this point in the history
  3. Rename to fetch

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    46f032d View commit details
    Browse the repository at this point in the history
  4. Add media type support and refactor

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    4bac348 View commit details
    Browse the repository at this point in the history
  5. Add platform and media type

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    3bed958 View commit details
    Browse the repository at this point in the history
  6. Moving multi-arch options into a dedicated type.

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    d0640c7 View commit details
    Browse the repository at this point in the history
  7. Enhance platform

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    25b5e51 View commit details
    Browse the repository at this point in the history
  8. Updage long description

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    9a5dbe7 View commit details
    Browse the repository at this point in the history
  9. Refactor platform

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    19f4451 View commit details
    Browse the repository at this point in the history
  10. Combine platform parsing

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    2d11906 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'get-manifest' of https://github.com/qweeah/oras into ge…

    …t-manifest
    
    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    7908bf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2022

  1. Add tests for platform.parse

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    6da78a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2022

  1. Add os version example

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    5849406 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Add manifest and fetch subcommand

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    4c7b117 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

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

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    cd9ed13 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    864bb08 View commit details
    Browse the repository at this point in the history
  4. Use reference fetcher

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    275b801 View commit details
    Browse the repository at this point in the history
  5. Use FetchReference and promoted content.FetchAll

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    d905883 View commit details
    Browse the repository at this point in the history
  6. Add mocked unit test

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    3369ac3 View commit details
    Browse the repository at this point in the history
  7. Refactor and add unit tests

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    0af3746 View commit details
    Browse the repository at this point in the history
  8. More coverage

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    1553423 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Resolve comment

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    bc5ce3e View commit details
    Browse the repository at this point in the history
  2. Add fetch descriptor

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    b3ae291 View commit details
    Browse the repository at this point in the history
  3. Add fetching descriptor

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    7c6d00b View commit details
    Browse the repository at this point in the history
  4. Add test for fetch descriptor

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    8fc62b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Use unmerged branch

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7b0989c View commit details
    Browse the repository at this point in the history
  2. Add coverage

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    f59912e View commit details
    Browse the repository at this point in the history
  3. Add mock package

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7145418 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    516526e View commit details
    Browse the repository at this point in the history
  2. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    d58db42 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    00ed116 View commit details
    Browse the repository at this point in the history
  2. Use strings.Cut

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    cd910f3 View commit details
    Browse the repository at this point in the history
  3. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    bc503e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89b2747 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Merge remote-tracking branch 'origin_src/main' into get-manifest

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    c9157c8 View commit details
    Browse the repository at this point in the history
  2. Add caching

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    96b88d6 View commit details
    Browse the repository at this point in the history
  3. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    983d7b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3eb653f View commit details
    Browse the repository at this point in the history
  5. Remod

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    037561a View commit details
    Browse the repository at this point in the history
  6. Remod to rc 2

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    81bf60f View commit details
    Browse the repository at this point in the history
  7. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    335ee91 View commit details
    Browse the repository at this point in the history
  8. Refactor: move cas to a dedicated package

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    b219e00 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'main' into get-manifest

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    1722b16 View commit details
    Browse the repository at this point in the history
  10. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    39a71da View commit details
    Browse the repository at this point in the history
  11. Add code coverage

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    b0a5fb2 View commit details
    Browse the repository at this point in the history
  12. Add descriptor example

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    2168f22 View commit details
    Browse the repository at this point in the history
  13. Add platform example

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    b2223d0 View commit details
    Browse the repository at this point in the history
  14. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    7957e58 View commit details
    Browse the repository at this point in the history
  15. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    f05e7fa View commit details
    Browse the repository at this point in the history
  16. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    2ac5fce View commit details
    Browse the repository at this point in the history
  17. Change media type to array

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    349160f View commit details
    Browse the repository at this point in the history
  18. Refactor fetching

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    3a09ca7 View commit details
    Browse the repository at this point in the history
  19. Add default arch if not provided

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    2574a80 View commit details
    Browse the repository at this point in the history
  20. Code clean

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    e3f2c90 View commit details
    Browse the repository at this point in the history
  21. Fix unit test

    Signed-off-by: Billy Zha <jinzha1@microsoft.com>
    qweeah committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    851356f View commit details
    Browse the repository at this point in the history