Why are packman package names not consistent?
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.
On Sun, 27 Aug 2023 17:35:08 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
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?
Maybe ask on the packman list rather than opensuse?
On 8/28/23 05:56, Dave Howorth wrote:
Maybe ask on the packman list rather than opensuse?
Hmm, Is that a list I can subscribe to though the suse lists or do I have to hunt down a separate set of packman lists? Rather than go though all that rigamarole, I'll just manually do the packman packages and that just leave 2 altering formats for opensuse package names (those built from git and normal names). That's doable with `match()` in awk. Thanks Dave. I figure this is just a moving target at this point and it will settle on a format going forward, hopefully the ".. 150400.10.pm.X .." format. -- David C. Rankin, J.D.,P.E.
The Packman home page (http://packman.links2linux.org/) contains direct mail-to links to their mailing list, and their Help page contains a link to mailing list archives. Thanks, John Kizer Sent with Proton Mail secure email. ------- Original Message ------- On Monday, August 28th, 2023 at 10:48 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
On 8/28/23 05:56, Dave Howorth wrote:
Maybe ask on the packman list rather than opensuse?
Hmm,
Is that a list I can subscribe to though the suse lists or do I have to hunt down a separate set of packman lists?
Rather than go though all that rigamarole, I'll just manually do the packman packages and that just leave 2 altering formats for opensuse package names (those built from git and normal names). That's doable with `match()` in awk.
Thanks Dave. I figure this is just a moving target at this point and it will settle on a format going forward, hopefully the ".. 150400.10.pm.X .." format.
-- David C. Rankin, J.D.,P.E.
On 8/28/23 22:01, John Kizer via openSUSE Users wrote:
The Packman home page (http://packman.links2linux.org/) contains direct mail-to links to their mailing list, and their Help page contains a link to mailing list archives.
Thanks John, I forwarded the original along with a preface. Will report back if I get an answer on what the stable naming convention will be going forward. -- David C. Rankin, J.D.,P.E.
participants (3)
-
Dave Howorth
-
David C. Rankin
-
John Kizer