AmazonS3: support optional path-style addressing

オープン
#305 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, java
領域
cloud

調査の方向性

The issue names no file or class, so start by finding the AmazonS3 storage code that builds virtual-hosted bucket URLs, which the issue describes as the only addressing mode today. The config option name is left open, so pick one that matches the existing AmazonS3 settings and confirm it with a maintainer. Done means an opt-in setting produces path-style URLs like http://endpoint:9000/bucket/key while the default stays unchanged, with tests for both modes.

索引モデルが issue の本文から書いたものです。

説明

Description

AmazonS3 currently always uses virtual-hosted-style addressing:

http://<bucket>.<domain>/<key>

Some S3-compatible endpoints, including MinIO deployments, only support
path-style addressing. For example, a MinIO endpoint exposed as
http://<s3-endpoint>:9000 requires:

http://<s3-endpoint>:9000/<bucket>/<key>

At present, JGit cannot select this addressing mode.

Motivation

MinIO and other S3-compatible services may expose a repository through a
path-style endpoint. JGit cannot currently use such an endpoint, even when the
credentials and bucket are valid.

Existing virtual-hosted-style configurations should continue to work.

Alternatives considered

No response

Additional context

No response

主要言語
Java
スター
427
フォーク
116
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-jgit/jgit のほかの issue

eclipse-jgit/jgit の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。