On Do, 01.08.19 10:14, Fabio Valentini (decatho...@gmail.com) wrote:

> Since these things are both the case, a simple 1:1 mapping from "-" to
> "~" (and even back) is exactly correct.
> So I think the systemd.spec is doing exactly the right thing here.
>
> The only issue I see is the arbitrary (?) restriction that git tags
> cannot contain the tilde character.
> Or is that there for filesystem compatibility, because tags are just files?

git uses "~" for referencing commits relative to a commit identifier,
see:

https://git-scm.com/docs/git-rev-parse#Documentation/git-rev-parse.txt-emltrevgtltngtemegemHEADmaster3em

Hence they do not allow it in tag names, to avoid the ambiguity.

I guess RPM is the outlier for using ~ the way it uses it, I don't
think much other software does that. Upstream software should hence
probably stick to how the majority does it, not necessarily just how
RPM likes it, unless the software is clearly focussed on the RPM world
only.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to