Introduce straightforward, comprehensible version scheme
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 20/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- À l'abandon
- Domaine
- release
Piste de recherche
Examinez l’issue #34, cette proposition et les recommandations liées de Semantic Versioning avant de décider si la spécification doit adopter le schéma major.minor.patch proposé. La tâche est terminée lorsqu’une décision claire sur le versionnage a été prise et documentée, y compris les règles de compatibilité, de maintenance et de classification des changements.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
#34 suggests to just release a 1.0. In a recent discussion with @probonopd, I proposed an alternative scheme which I think is very much superior to just starting with a 1.x release with the current state for multiple reasons. Before a decision is made, I think it makes sense to thoroughly discuss the semantics of such versioning.
Yes, I know, another lengthy issue... but there is no point in rushing things either...
In my opinion, the spec version number should be equivalent to the current AppImage type, and should be extended to a full major.minor.patch number. We could use semantic versioning, a concept widely used and well understood by programmers.
As a result, the current specification would be released as a 2.0.0, marking the initial release.
Keeping the numbers in sync makes it very straightforward for people seeking to implement support for a specific type to find the correct document. It makes it easier for us to ensure some sane versioning semantics on either end. And, after all, it is close to what we have done so far with the spec.
Main Semantics
The AppImage community can expect the following semantics:
- Every major breaking change leads to a new version of the specification, which also leads to a new type. As long as things can be kept compatible, i.e., only bug fixes and new compatible features may be added to the spec, as demanded by semver, which I think is a good strategy. Tools that work with AppImages can expect proper forward compatibility: any feature included in an AppImage type 3.2 can be expected from a type 3.9, too (i.e., >=3.2, <4). With a 4.0, they need to react and ensure their tool continues to work.
- Whenever a new major release is made, the old type will essentially no longer be maintained. While this may be confusing, in my opinion, this is a good idea. We are a small team and cannot support types to eternity. Situations leading to the creation of an entirely new type are really, really rare. And we want to bring this to people's attention then. Of course, good documentation of changes would be appreciated, including some "what changed?" or "what this means for me" snippets.
- Minor changes, e.g., the addition of a new runtime parameter, lead to minor releases. Tools that work with AppImages can expect reasonable backwards compatibility: if they support type 1 and type 2 up to 2.4 for instance, every AppImage that falls into that range is fully compatible. A newer AppImage of some hypothetical type 2.6, will continue to work, even though the newly added features cannot be easily used.
- Bug fixes should always supported, as permitted by semver. A tool that supports 2.6 AppImages should always accept any 2.6.x release, because the patch number only increases with bug fixes, after all.
Challenges
- Changes need to be evaluated correctly, including possible side effects. For instance, adding a new allowed compression type to the spec could be seen as a minor change at a first glance. However, it really is a major change. Tools that want to work with AppImages to, e.g., extract desktop integration information directly from the integrated filesystem need to know which ones to expect so they can implement support. Suddenly adding a new variant violates the semantics described above. Of course, once this happens, one can think of solutions to avoid such situations in the future. A very good idea is to just move those data into some
.zipin between the runtime and the payload, as described in some other issue. - Depending on the situation, it may make sense to continue maintaining some old type on a feature branch, e.g., when developing an entirely new type. But hey, after all, we take into account such minor inconveniences if it avoids complexity for users.
- Bug fixes can be backported at any time, but that means that we'll have to do release older versions of the specification in between. For instance, while the latest release is 2.7.1, we may have to make a 2.6.9 release. That, however, can be seen as an advantage, as it increases compatibility levels. That said, I do not expect such a situation. Once a 2.7.1 is released, all the tools should use that one from now on. I just wanted to mention this. (This is daily business in software release management anyway.)
I'm sure there are more. Please add yours in a comment.
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 94
- Forks
- 30
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AppImage/AppImageSpec
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AppImage/AppImageSpec#60 · 7 commentaires ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AppImage/AppImageSpec#59 · 15 commentaires · 2 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
AppImage/AppImageSpec#48 · 2 commentaires ·
-
help wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AppImage/AppImageSpec#44 · 10 commentaires · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
AppImage/AppImageSpec#40 · 1 commentaire ·
Toutes les issues de AppImage/AppImageSpec
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
Could you add a license?Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
nanbingxyz/mcpsvr#156 ·
Les mainteneurs répondent en général sous 3 jours
-
Track FLINK-41442: on Flink 2.1+ an unaligned checkpoint can lose a split assigned just before itOuvertearea:docs bug module:bigtable module:spanner priority:P3 status:blocked-upstream
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
flink-gcp/flink-connector-gcp#2411 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
cloudflare/skills#297 ·
Les mainteneurs répondent en général sous 1 jour
-
factory:subtask
Difficulté 1/5 Moins d'une heure Accessibilité débutants 94/100
Les mainteneurs répondent en général sous 1 jour