Support bazel "relaxed" semver
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza leyendo la documentación enlazada sobre el formato de versiones de Bazel y localizando el soporte existente para Bazel y la especificación VERS en el repositorio. Comprueba cómo se representan las reglas actuales de análisis y comparación de versiones; el trabajo estará terminado cuando los segmentos de release relajados y su semántica de comparación sean compatibles de forma coherente en ambos lugares.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This should be supported here, and in the VERS spec, following the addition of Bazel at:
See https://bazel.build/external/module#version_format
Version format
Bazel has a diverse ecosystem and projects use various versioning schemes. The most popular by far is SemVer, but there are also prominent projects using different schemes such as Abseil, whose versions are date-based, for example 20210324.2).
For this reason, Bzlmod adopts a more relaxed version of the SemVer spec. The differences include:
SemVer prescribes that the "release" part of the version must consist of 3 segments: MAJOR.MINOR.PATCH. In Bazel, this requirement is loosened so that any number of segments is allowed. In SemVer, each of the segments in the "release" part must be digits only. In Bazel, this is loosened to allow letters too, and the comparison semantics match the "identifiers" in the "prerelease" part. Additionally, the semantics of major, minor, and patch version increases are not enforced. However, see compatibility level for details on how we denote backwards compatibility.Any valid SemVer version is a valid Bazel module version. Additionally, two SemVer versions a and b compare a < b if and only if the same holds when they're compared as Bazel module versions.
- Lenguaje dominante
- Python
- Estrellas
- 50
- Forks
- 31
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 aboutcode-org/univers
-
Do not allow creation of `VersionRange` with empty constraintPosiblemente ocupada @MGpromax la tomó hace 66 días. Abiertobug High-Priority
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
aboutcode-org/univers#203 ·
-
maven.py: "release" qualifier not treated as release aliasPosiblemente ocupada @selsky la tomó hace 71 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
aboutcode-org/univers#188 ·
-
VersionRange.invert() returns a complement that excludes versions outside an enumerated rangePosiblemente ocupada @akashrajeev la tomó hace 13 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
aboutcode-org/univers#214 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 15/100
aboutcode-org/univers#206 · 3 comentarios · 2 reacciones ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
aboutcode-org/univers#205 ·
Todos los issues de aboutcode-org/univers
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
pytest-dev/pytest-html#1085 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
pollen-robotics/reachy_mini#1527 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Variadic arguments that aren't objects are passed as objects (stringWithFormat_ with %d / %f)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
A seed and its negative give the same run, so realizations of a negative seed repeat each otherAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día