__locale_system writes to wrong file in Debian Sid #33
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#33
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type should write to
/etc/default/locale
as it did before47e28fc441
.mentioned in commit
a8ea56253c
closed via merge request !927
Debian Sid is always just Sid or unstable, it has no version number, because it never gets released.
it means that users mostly know what they are doing and always assume latest version of everything. checking for
*/sid
is enough.I set up a Debian unstable system and could not find any hints to a version number.
I created a MR !927 that tries to decode the
*/sid
strings to a number.Please test!
mentioned in merge request !927
@ander I am always trying to be inclusive, but I don't run any Debian sid systems, and as already explained above the issue here is that sid does not report any useable version information and "sid" does not necessarily mean "new".
Having version switches is a common problem in cdist. We could solve it properly here and then reuse it in other places or solve it later…
If you want this issue fixed, then please be a bit more helpful.
I do not back any "delete code that I don't need" hacks.
since debian etch, default is
/etc/default/locale
. same for ubuntu since 2010. and for lots of other distros.I think we can save everybody's time and just drop support for distros released over 10 years ago and restore previous correct behavior.
if @ssrq wants to be ultra inclusive then please include sid users to the mix and fix this breakage.
@ssrq I don't know these details. @ander ?
The issue here is that Debian doesn't provide any useable version information (
os_version
explorer) for sid (pre-releases) and sid could be every Debian release…(Two years ago I've seen Debian sarge/sid ;-))
Does
/etc/os-release
provide anything useable?If not, I fear that manually maintaining a codename to version mapping is necessary if sid should be supported.
@ssrq Can you take a look (due to
47e28fc441
)?unassigned @poljakowski
assigned to @poljakowski