AmazonS3: support optional path-style addressing

Aperta
#305 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, java
Ambito
cloud

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Java
Stelle
427
Fork
116
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-jgit/jgit

Tutte le issue di eclipse-jgit/jgit

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.