Hi,
While working on a new version of the kworkflow package (https://tracker.debian.org/pkg/kworkflow), we noticed that the current version is 20191112-1.2, and the latest upstream version is 0.6.2.
Version 20191112-1.2 was created because the upstream had no official
release at that time; for this reason, the 20191112-1.2 was created and
named based on a date.
This package did not get any update in a long time, and now the upstream release frequent versions. The latest version is 0.6.2 (https://github.com/kworkflow/kworkflow/tags), and I'm trying to release
a new version of this package (https://salsa.debian.org/siqueira/kworkflow/-/tree/master/debian). So,
to do a clean update, we should add 1:0.6.2-1 as an epoch to fix the
problem generated by the first version of this package.
Is that ok?
Thanks
--
Rodrigo Siqueira
https://siqueira.tech
On Sat, Mar 11, 2023 at 06:35:39PM -0700, Rodrigo Siqueira wrote:
While working on a new version of the kworkflow package (https://tracker.debian.org/pkg/kworkflow), we noticed that the current version is 20191112-1.2, and the latest upstream version is 0.6.2.
I've got recently a very similiar situtation with gnome-shell-extension-autohidetopbar, as there it was considered ok to use an epoch.
Version 20191112-1.2 was created because the upstream had no official release at that time; for this reason, the 20191112-1.2 was created and named based on a date.
On Sun, 12 Mar 2023 at 09:15:35 +0100, Tobias Frost wrote:
Version 20191112-1.2 was created because the upstream had no official
release at that time; for this reason, the 20191112-1.2 was created and
named based on a date.
In future, please use a lower version number when packaging unreleased >software. A version starting with an 8-digit date is almost guaranteed
to compare greater than whatever upstream eventually chooses,
Could lintian warn when a date based version is used?
In future, please use a lower version number when packaging unreleased >software. A version starting with an 8-digit date is almost guaranteed
to compare greater than whatever upstream eventually chooses,
Could lintian warn when a date based version is used?arbitrary version number on their own)
(I haven't checked how many upstreams use date-based versions intentionally and fully aware of the consequences, but I think the problem appears mostly if upstream does not do any formal releases at all, so the package maintainer concocts some
mfh.her.fsr
IOhannes
On 12.03.23 18:48, IOhannes m zmölnig wrote:
Could lintian warn when a date based version is used?
Lintian already does this - see [0].
On 12.03.23 18:48, IOhannes m zmölnig wrote:
Could lintian warn when a date based version is used?
Lintian already does this - see [0].
[0] https://salsa.debian.org/lintian/lintian/-/blob/f03fc15a45df4965e374b1e3a40c51cf6fe545ed/tags/n/new-package-uses-date-based-version-number.tag
On Sat, Mar 11, 2023 at 06:35:39PM -0700, Rodrigo Siqueira wrote:
Hi,
While working on a new version of the kworkflow package (https://tracker.debian.org/pkg/kworkflow), we noticed that the current version is 20191112-1.2, and the latest upstream version is 0.6.2.
Version 20191112-1.2 was created because the upstream had no official release at that time; for this reason, the 20191112-1.2 was created and named based on a date.
This package did not get any update in a long time, and now the upstream release frequent versions. The latest version is 0.6.2 (https://github.com/kworkflow/kworkflow/tags), and I'm trying to release
a new version of this package (https://salsa.debian.org/siqueira/kworkflow/-/tree/master/debian). So,
to do a clean update, we should add 1:0.6.2-1 as an epoch to fix the problem generated by the first version of this package.
Is that ok?
I've got recently a very similiar situtation with gnome-shell-extension-autohidetopbar, as there it was considered ok to use an epoch. [1]
[1] https://lists.debian.org/debian-devel/2022/03/msg00424.html
--
tobi
Thanks
--
Rodrigo Siqueira
https://siqueira.tech
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 158:53:42 |
Calls: | 10,384 |
Calls today: | 1 |
Files: | 14,056 |
Messages: | 6,416,490 |