Skip to content

tkldev-detective not handling beta versions properly #2130

Description

@OnGle

Got this error on an early 19.0 beta version of tkldev:

Traceback (most recent call last):
  File "/usr/bin/tkldev-changelog-extractor", line 124, in <module>
    from_v = tuple(map(int, from_v))
ValueError: invalid literal for int() with base 10: '0beta1'

Which comes from the version string:

$ cat /etc/turnkey_version
turnkey-tkldev-19.0beta1-trixie-amd64

Evidently tkldev-changelog-extractor does not properly handle beta versions, possibly rc versions either.

Fix should be just handling this parsing properly. And when we do fail to parse the version, providing a proper error message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions