Skip to content

Conversation

wangxiaoxuan273
Copy link
Contributor

Fixes #816

Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.69%. Comparing base (34a87ef) to head (289dcbd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #939   +/-   ##
=======================================
  Coverage   81.69%   81.69%           
=======================================
  Files          64       64           
  Lines        6119     6119           
=======================================
  Hits         4999     4999           
  Misses        790      790           
  Partials      330      330           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Xiaoxuan Wang added 4 commits April 9, 2025 17:23
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Copy link
Member

@Wwwsylvia Wwwsylvia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks nice!

Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Xiaoxuan Wang added 3 commits April 16, 2025 17:17
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
fix
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Xiaoxuan Wang added 2 commits April 18, 2025 11:38
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
fix
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Copy link
Member

@Wwwsylvia Wwwsylvia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a few nits

Xiaoxuan Wang added 2 commits April 18, 2025 13:39
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
@Wwwsylvia Wwwsylvia requested a review from Copilot April 18, 2025 06:59
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive quick start guide for oras-go v2. The changes include a new markdown tutorial file demonstrating step-by-step instructions on connecting to a remote repository, showing tags, pushing layers and manifests, fetching and parsing manifests, and copying artifacts to a local OCI layout.

Comments suppressed due to low confidence (1)

docs/tutorial/quickstart.md:329

  • The code uses json.Unmarshal but does not import the encoding/json package. Please add 'import "encoding/json"' to ensure proper functionality.
if err := json.Unmarshal(fetchedManifestContent, &manifest); err != nil {

Copy link
Member

@Wwwsylvia Wwwsylvia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Xiaoxuan Wang added 3 commits April 21, 2025 17:07
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Xiaoxuan Wang added 2 commits April 23, 2025 10:12
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
@shizhMSFT shizhMSFT requested a review from Copilot April 23, 2025 04:31
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a comprehensive quick start tutorial for oras-go v2, aimed at guiding users in managing OCI artifacts through a series of code examples and instructions.

  • Adds detailed step-by-step sections for creating a folder, connecting to a remote repository, pushing layers and manifests, fetching content, and copying the artifact locally.
  • Provides a complete code snippet at the end for users to reference and run.

Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
@shizhMSFT shizhMSFT requested a review from Copilot April 23, 2025 08:34
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive quick start tutorial for oras-go v2, aimed at helping users understand how to manage OCI artifacts using the package.

  • Introduces a step-by-step guide covering folder creation, repository connection with token authentication, listing tags, pushing layers and manifests, as well as fetching and copying artifacts.
  • Provides complete example code snippets to illustrate each step in the process.

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Copy link
Member

@Wwwsylvia Wwwsylvia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Wwwsylvia Wwwsylvia merged commit 17e7d15 into oras-project:main Apr 24, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a quickstart tutorial
5 participants