[PR #1164] Support XML API (#331) #1251

Open
opened 2026-03-03 12:33:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/1164
Author: @tustvold
Created: 5/12/2023
Status: 🔄 Open

Base: mainHead: support-xml-api


📝 Commits (4)

📊 Changes

4 files changed (+149 additions, -30 deletions)

View changed files

📝 fakestorage/object.go (+86 -3)
📝 fakestorage/server.go (+3 -6)
📝 fakestorage/upload.go (+2 -0)
📝 fakestorage/upload_test.go (+58 -21)

📄 Description

Closes #331

It has been years since I last wrote any Golang so please let me know if I've made some silly mistakes. Most of the necessary functionality already existed, the only necessary change was to add support for the XML put API


🔄 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/1164 **Author:** [@tustvold](https://github.com/tustvold) **Created:** 5/12/2023 **Status:** 🔄 Open **Base:** `main` ← **Head:** `support-xml-api` --- ### 📝 Commits (4) - [`0a1124f`](https://github.com/fsouza/fake-gcs-server/commit/0a1124ffdce5d0aab031736c6c94964fcf8f3585) Support XML API (#331) - [`fb93ee2`](https://github.com/fsouza/fake-gcs-server/commit/fb93ee203158f2ce9430722810593110400ca46e) Check bucket exists - [`02e0ce0`](https://github.com/fsouza/fake-gcs-server/commit/02e0ce0db7d9a31210e0954c5f003a7df28eb65e) Return ETag - [`46f2f72`](https://github.com/fsouza/fake-gcs-server/commit/46f2f7232d7250f960df496ca60da81326196038) Support list start-after ### 📊 Changes **4 files changed** (+149 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/object.go` (+86 -3) 📝 `fakestorage/server.go` (+3 -6) 📝 `fakestorage/upload.go` (+2 -0) 📝 `fakestorage/upload_test.go` (+58 -21) </details> ### 📄 Description Closes #331 It has been years since I last wrote any Golang so please let me know if I've made some silly mistakes. Most of the necessary functionality already existed, the only necessary change was to add support for the XML put API --- <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#1251
No description provided.