Xiaoxuan Wang
Xiaoxuan Wang
Signed-off-by: wangxiaoxuan273 Resolves #415
**What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #(, fixes #, ...)` format, will close the issue(s) when PR gets merged)*:...
**What this PR does / why we need it**: `oras manifest index update ` Current status output: ``` root# oras manifest index update wxxdevreg.azurecr.io/test@sha256:2b8bab8c7d73d178fa66c391458e5a441e09ab47bb85c3b4936bd94ac07c9132 --add s390x --add sha256:89fa64341cccaf9b1ede4d06abf5217c785adb6cbb40827f7488db5d97f3d3c8 --remove sha256:a1f5af96aa0a2d2e77bb6f18174353d7fa96700a5fac76a9f460a44f6999330c...
**What this PR does / why we need it**: `oras manifest index create` command Current output: ``` ~# oras manifest index create wxxdevreg.azurecr.io/test:tag0,tag1,tag2 amd64 armv7 Fetching amd64 Fetched amd64 Fetching...
Many oras commands require tag or digest input from the user, but in some cases validation is missing. And if invalid tags or digest is given, errors will be returned...
Resolves #1053 Private release: https://github.com/wangxiaoxuan273/oras/releases/tag/v1.2.0-multi-arch
**What this PR does / why we need it**: Implements output handlers for `manifest index` commands. **Which issue(s) this PR fixes** *(optional, in `fixes #(, fixes #, ...)` format, will...
As mentioned in this [comment](https://github.com/oras-project/oras/pull/1509#discussion_r1796502216), `oras` should have an issue to track handling errors returned by Close() in all write paths.