Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1070411

Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way

From gregor herrmann <gregoa@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way
Date 2021-09-08 20:50 +0200
Message-ID <CVaNX-5Cb-5@gated-at.bofh.it> (permalink)
References (1 earlier) <CUTWN-2Qd-1@gated-at.bofh.it> <CV89r-3TE-3@gated-at.bofh.it> <CV95v-4sS-3@gated-at.bofh.it> <AANbX-21b-15@gated-at.bofh.it> <CV95v-4sS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 08 Sep 2021 18:46:19 +0200, Dominique Dumont wrote:

> Back to gregoa's proposal...

:)
 
> > - I'd appreciate review from dod
> This regexp may be too strict:
> $std_ver =~ s|^(\d+\.\d+\.\d+)\.\d+$|$1|;
> 
> I don't know if policy people are committed to used 4 digits version. 

Good catch!
 
> It may be better to extract the first 3 digits and call it a day.
> (i.e. $std_ver =~ s|^(\d+\.\d+\.\d+)|$1|; )

Ack.
 
> In any case, the program should croak if $std_ver is undef because the regexp does not match

Right.
 

Thanks for checking; changes pushed.


Feel free to upload if you are happy and have the time, or I can do
it tomorrow.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way Felix Lechner <felix.lechner@lease-up.com> - 2021-09-08 02:50 +0200
  Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way gregor herrmann <gregoa@debian.org> - 2021-09-08 18:00 +0200
    Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way Felix Lechner <felix.lechner@lease-up.com> - 2021-09-08 18:40 +0200
    Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way Dominique Dumont <dod@debian.org> - 2021-09-08 19:00 +0200
      Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way gregor herrmann <gregoa@debian.org> - 2021-09-08 20:50 +0200

csiph-web