[PR #1819] Implementation of XML Multipart upload fake #1846

Open
opened 2026-03-03 12:36:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/1819
Author: @jonmseaman
Created: 11/22/2024
Status: 🔄 Open

Base: mainHead: mpu2


📝 Commits (10+)

  • c3f83a6 Add XML Multipart routing
  • e22f610 Use xml client library for initiate
  • 9164877 MVP Abort implementation
  • 43d2a9c Basic ListMultipartUploads implementation
  • 292bef3 Basic upload object part implementation
  • 93ad53e Barebones Complete and ListObjectParts impls
  • 78206d9 Add custom metadata to multipart
  • c7b4e6b Add hashes to upload object part
  • f0a53e2 Fix client version
  • 8157ca5 Improvements to Upload Object Parts

📊 Changes

5 files changed (+2018 additions, -2 deletions)

View changed files

fakestorage/multipart_upload.go (+867 -0)
fakestorage/multipart_upload_test.go (+1123 -0)
📝 fakestorage/server.go (+25 -2)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)

📄 Description

Hello, I'm wondering if I can send a partial implementation of the XML Multipart API.

So far, I setup the routing, added the initiate, abort, list uploads, and upload object part apis.
They are barebones implementations and don't support all features listed in the public docs, but it is a good start.

I plan on returning to this when I have time.

Let me know what you think!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fsouza/fake-gcs-server/pull/1819 **Author:** [@jonmseaman](https://github.com/jonmseaman) **Created:** 11/22/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `mpu2` --- ### 📝 Commits (10+) - [`c3f83a6`](https://github.com/fsouza/fake-gcs-server/commit/c3f83a6aa7790d98473e0e34afe74f7fdc488418) Add XML Multipart routing - [`e22f610`](https://github.com/fsouza/fake-gcs-server/commit/e22f6107d021e9f4ea60a843763fde89c6555117) Use xml client library for initiate - [`9164877`](https://github.com/fsouza/fake-gcs-server/commit/9164877e92e5f8930537039642b2f5c5aaa92d3b) MVP Abort implementation - [`43d2a9c`](https://github.com/fsouza/fake-gcs-server/commit/43d2a9c9b4822700dc1df52077b79b0fbda1e192) Basic ListMultipartUploads implementation - [`292bef3`](https://github.com/fsouza/fake-gcs-server/commit/292bef3793a80d7effdbfac7c34876f58ed31516) Basic upload object part implementation - [`93ad53e`](https://github.com/fsouza/fake-gcs-server/commit/93ad53eb290c5074dba4ea1a5d7e00acbeb43ea2) Barebones Complete and ListObjectParts impls - [`78206d9`](https://github.com/fsouza/fake-gcs-server/commit/78206d9b75be9a0990981f7ee7333489154b32ab) Add custom metadata to multipart - [`c7b4e6b`](https://github.com/fsouza/fake-gcs-server/commit/c7b4e6bd3db94e3135275686b27ce904ed70cf73) Add hashes to upload object part - [`f0a53e2`](https://github.com/fsouza/fake-gcs-server/commit/f0a53e2dc52b5fe60586e39131c8d40196df6c8b) Fix client version - [`8157ca5`](https://github.com/fsouza/fake-gcs-server/commit/8157ca53b3c1d6631f208b4bb4572cff2405735a) Improvements to Upload Object Parts ### 📊 Changes **5 files changed** (+2018 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `fakestorage/multipart_upload.go` (+867 -0) ➕ `fakestorage/multipart_upload_test.go` (+1123 -0) 📝 `fakestorage/server.go` (+25 -2) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) </details> ### 📄 Description Hello, I'm wondering if I can send a partial implementation of the XML Multipart API. So far, I setup the routing, added the initiate, abort, list uploads, and upload object part apis. They are barebones implementations and don't support all features listed in the public docs, but it is a good start. I plan on returning to this when I have time. Let me know what you think! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#1846
No description provided.