[packman] Fwd from openSUSE general: Why are packman package names not consistent?
David C. Rankin
drankinatty at suddenlinkmail.com
Tue Aug 29 08:07:24 CEST 2023
Packman Devs,
Here is a forward of my e-mail to the openSUSE list regarding packman
package naming conventions not being consistent enough to allow easy old
version removal. Example given below along with the question presented:
-------- Forwarded Message --------
Subject: Why are packman package names not consistent?
Date: Sun, 27 Aug 2023 17:35:08 -0500
From: David C. Rankin <drankinatty at suddenlinkmail.com>
Organization: Rankin Law Firm, PLLC
To: suse <users at lists.opensuse.org>
All,
Doing maintenance on the Leap 154 --keep files from packman, duplicate
removal is almost impossible as the file naming convention for packman rpms is
all over the place. For example, in the past year I have filenames of:
pdftk-3.3.2-pm154.10.4.noarch.rpm
pdftk-3.3.3-150400.10.pm.6.noarch.rpm
pdftk-3.3.3-pm150400.10.4.noarch.rpm
pdftk-3.3.3-pm154.10.2.noarch.rpm
Where pdftk-3.3.3-150400.10.pm.6.noarch.rpm is the current.
However, trying to either sort, or iterate in awk is impossible with some
filenames containing "pm154" some just containing "150400" and still others
containing "pm150400". That before we get to some with ".pm." and others not.
How do you handle parsing duplicates from filenames such as this?
also
Will the ".. 150400.10.pm.X .." filenames be consistent going forward?
--
David C. Rankin, J.D.,P.E.
--
David C. Rankin, J.D.,P.E.
More information about the Packman
mailing list