sha256: Add support for `compatObjectFormat`
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
Línea de trabajo
Comienza con las referencias upstream de compatObjectFormat y hash-function-transition; después, revisa el issue #706. Divide el trabajo entre la tabla de mapeo bidireccional, la compatibilidad con fetch y push de SHA-1, y la compatibilidad con storage/memory y storage/filesystem. El trabajo estará terminado cuando las áreas de implementación indicadas estén soportadas y verificadas frente al comportamiento upstream.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Description
The TL;DR of the feature:
a SHA-256 repository stores a bidirectional mapping between SHA-256 and SHA-1 object names. The mapping is generated locally and can be verified using "git fsck". Object lookups use this mapping to allow naming objects using either their SHA-1 and SHA-256 names interchangeably.
Fetches from a SHA-1 based server convert the fetched objects into SHA-256 form and record the mapping in the bidirectional mapping table (see below for details). Pushes to a SHA-1 based server convert the objects being pushed into SHA-1 form so the server does not have to be aware of the hash function the client is using.
For full details refer to the upstream documentation references below.
Implementation break-down:
- Bidirectional (SHA-1 <-> SHA-256) mapping table
- Fetching from SHA1 server
- Pushing to SHA1 server
- Support in
storage/memory - Support in
storage/filesystem
Upstream references:
- https://git-scm.com/docs/git-config#Documentation/git-config.txt-compatObjectFormat
- https://git-scm.com/docs/hash-function-transition
Follow-up from #706.
- Lenguaje dominante
- Go
- Estrellas
- 7.9k
- Forks
- 1.1k
- Merge medio
- 4 d 19 h
- PR fusionados (30 d)
- 34
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de go-git/go-git
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 3 días
-
plumbing: ReferenceName.Short() is slow (5× fmt.Sscanf per call, panic/recover on mismatch)Posiblemente ocupada @blakepettersson la tomó hace 11 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 3 días
-
storage/filesystem: EncodedObjectSize leaks the loose object file handleQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 3 días
-
`GO_GIT_USER_AGENT_EXTRA` puts a space in the `agent` capabilityPosiblemente ocupada @BoxBoxJason la tomó hace 54 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 3 días
-
Worktree checkout rejects Windows reserved device names (e.g. prn.sh) on Linux/macOS — regression since v5.19.1Posiblemente ocupada @SomSamantray la tomó hace 102 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
go-git/go-git#2322 · 5 comentarios ·
Los mantenedores suelen responder en 3 días
Todos los issues de go-git/go-git
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
alibaba/MongoShake#1077 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
mattermost/mattermost-plugin-jira#1397 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Add Free CS Systems Workshops, Starter Scaffolds & Zero-Dependency Verification CLI to CS SeriesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
documentation linkinator-failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100