AmazonS3: support optional path-style addressing

Abierto
#305 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, java
Área
cloud

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Java
Estrellas
427
Forks
116
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-jgit/jgit

Todos los issues de eclipse-jgit/jgit

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.