oracle / oracle/oci-cli

Enhancement Request: Include part-number in Multipart List Response

Open
#682 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Object Storage
Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

Currently, when using the oci os multipart list command to list multipart uploads, there is no indication of the last successful part number uploaded. The response only includes the bucket, namespace, object, storage-tier, time-created, and upload-id as shown below:

oci os multipart list --bucket-name os_test -ns idgeqXXXXXX --profile OCI
{
  "data": [
    {
      "bucket": "os_test",
      "namespace": "idgeqXXXXXX",
      "object": "50MB.bin",
      "storage-tier": "Standard",
      "time-created": "2023-06-02T13:23:41.049000+00:00",
      "upload-id": "304f37e0-XXXX-XXXX-6603-31125bbXXXXXX"
    }
  ]
}

However, it would be highly beneficial if we could include the "part-number": 3, in the response to the request. This would provide valuable information about the upload progress, and would help users identify from which point they can resume their upload process if it was interrupted.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the implementation of the oci os multipart list command and trace how its multipart-upload response is represented and rendered. Check whether the service already provides the last successful part number; done means the list response includes part-number for applicable uploads and existing output remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
cli, python
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.