Elektrine lite

← Feed

@dpk@chaos.social

Post #1306083

2026-04-01 19:30 UTC

I am very surprised that ordering by date is less popular for tags than for branches Perhaps I should have explained that alphabetical order causes tag orderings like v0.1 < v0.11 < v0.2 < v0.3 …, which is entirely correct if your version numbers behave like decimal fractions and completely wrong if your version numbers behave like lexicographically-sorted series of integers separated by dots The latter is more popular nowadays, but using ‘natural’ ordering by name then breaks the other case

Replies (1)

  • @mahlzahn@nerdculture.de 2026-04-01 19:35

    @dpk Me, too, I am surprised. My choice was the opposite: alphabetically for branches and by date for tags. I name branches according some scheme and delete them after their is no use of them anymore. For tags I prefer something like semantic versioning for releases and the sorting by date makes much sense to me.

    Open ##1306084