• Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask

    From Ulrich Mueller@21:1/5 to All on Thu Sep 21 23:40:01 2023
    On Thu, 21 Sep 2023, Florian Schmaus wrote:

    The first line of the "#"-prefixed explanation block must be of the
    format "${AUTHOR_NAME} <${EMAIL}> (${SINGLE_DATE})" when the date is of
    format YYYY-MM-DD, in UTC timezone.
    ^^^^^^^^^^^^^^^^

    Can we drop this? Or, at least, relax this.

    I think UTC makes a lot of sense in an international context like ours.
    It also avoids flapping of the date between entries (i.e. a newer entry
    having an older date than the previous one).

    I usually just enter my locale date here and like to avoid having to
    think about that UTC is potentially in a different date. I also can
    not remember any situation where the date being in UTC matters. Plus,
    if you want accurate timestamps, then the git commit/author date is
    here for you. :)

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmUMt1EPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4ufwYH/3PMtJwpV3xkWk19e1jsGSP1zFGU9i16j6s6 eZaGadrwdoO/6WPHC7dwdZGlEwytdYNSFxWIZ5RMDeMpOLHpNsRQR8FnV2wUyciI DKaRhXWyx8uw+duR4CrXsZioAYAaEk+XNAMYsyph/hS3QR2DT5B5TgmV4PYn5lgz XctBBczvqIhmu5J5nafOd6eWOFxmYVxXway8PE5iSZLjxSwX6OBDncl1BQGKTLSC ga+DdnjUQ+gASUBhqezy5bELyd4RqV3zrgl6qkMb9nijICSUuPKAAcDcX0W2AG0m 6UO6fhBdJM6NO3+3Qetku7AsHGcviHi+mRRsZaQCMBHJbDYmzf8=
    =7VFV
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Ulrich Mueller on Thu Sep 21 23:50:01 2023
    Ulrich Mueller <ulm@gentoo.org> writes:

    [[PGP Signed Part:Undecided]]
    On Thu, 21 Sep 2023, Florian Schmaus wrote:

    The first line of the "#"-prefixed explanation block must be of the
    format "${AUTHOR_NAME} <${EMAIL}> (${SINGLE_DATE})" when the date is of
    format YYYY-MM-DD, in UTC timezone.
    ^^^^^^^^^^^^^^^^

    Can we drop this? Or, at least, relax this.

    I think UTC makes a lot of sense in an international context like ours.
    It also avoids flapping of the date between entries (i.e. a newer entry having an older date than the previous one).

    Yes, I don't think we need to punish people for getting it wrong, but at
    the same time, I'd like us to standardise on UTC - saying this as
    someone who isn't in UTC half of the year.

    That means others are free to correct it if they notice it's the
    wrong date and so on.

    I usually just enter my locale date here and like to avoid having to
    think about that UTC is potentially in a different date. I also can
    not remember any situation where the date being in UTC matters. Plus,
    if you want accurate timestamps, then the git commit/author date is
    here for you. :)

    Users consume p.mask entries directly rather than via git.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Fri Sep 22 11:50:01 2023
    On Fri, 22 Sep 2023, Florian Schmaus wrote:

    Some, including me, consider timestamps without timezone specifiers to
    be in local time (either of the consumer or producer of the
    timestamp). Hence, if you really must have UTC here, then at least
    consider making it explicit my requiring the 'Z' timezone specifier
    (which, if you want to be ISO compatible, probably means that the
    timestamp must include HH:MM too).

    How about converting package.mask to XML? The xs:date type would allow
    a date followed by a time zone [1].

    /me hides

    [1] https://www.w3.org/TR/xmlschema-2/#deviantformats

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmUNYl8PHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uhfkIALfFBFttoDV1UAisa+LbcO1TornBTMCakKaX 78GpRGECI/sbbjIip1i/nHssLJepplvt/jhliu7SYG0W0DMQ6VOSIGC50CsgFbs7 JpaM7IkRXfzfrAixU9g8xEeBsFsZ+3vNrWBAublHiZ5vYBFuhRwQw6vH53+8G9nt PJvj632wF93jk3qk2gSyZhQPFeuLzij1zx8OjuiIg4ZWADT3/rjClv1O9fVDGed6 G7+0Dzu81SSE4lKJEa+cZ7eNy2Sdq8Z+0ulB5B7wZbrR7DawJfMTYachfyWiH4u6 IwdJHq846HJO3BeFRdcvHog0v1TSRwQE8wpAN7bKEDfPnxb6BV0=
    =5e3e
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Fri Sep 22 14:00:01 2023
    On Fri, 22 Sep 2023, Ulrich Mueller wrote:

    On Fri, 22 Sep 2023, Florian Schmaus wrote:
    Some, including me, consider timestamps without timezone specifiers to
    be in local time (either of the consumer or producer of the
    timestamp). Hence, if you really must have UTC here, then at least
    consider making it explicit my requiring the 'Z' timezone specifier
    (which, if you want to be ISO compatible, probably means that the
    timestamp must include HH:MM too).

    How about converting package.mask to XML? The xs:date type would allow
    a date followed by a time zone [1].

    /me hides

    Seriously, this isn't a hill I am willing to die on. I still prefer UTC
    there, but I'd be fine if the wording said "should" instead of "must".

    Ulrich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Ulrich Mueller on Fri Sep 22 16:10:01 2023
    Ulrich Mueller <ulm@gentoo.org> writes:

    On Fri, 22 Sep 2023, Ulrich Mueller wrote:

    On Fri, 22 Sep 2023, Florian Schmaus wrote:
    Some, including me, consider timestamps without timezone specifiers to
    be in local time (either of the consumer or producer of the
    timestamp). Hence, if you really must have UTC here, then at least
    consider making it explicit my requiring the 'Z' timezone specifier
    (which, if you want to be ISO compatible, probably means that the
    timestamp must include HH:MM too).

    How about converting package.mask to XML? The xs:date type would allow
    a date followed by a time zone [1].

    /me hides

    Seriously, this isn't a hill I am willing to die on. I still prefer UTC there, but I'd be fine if the wording said "should" instead of "must".

    Yes, I want the UTC bit in there, but it's fine if it's "should" and not "must". I was trying to articulate that before but I didn't do so very
    clearly.


    Ulrich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Alex Boag-Munroe on Fri Sep 22 16:40:01 2023
    Alex Boag-Munroe <ninpo@qap.la> writes:

    Any reason for the parseable parts to not be in an established human readable/editable format? e.g. the config ini style format, or TOML?

    The only issue really is that depending on how it's done (do we do
    it for the whole file, or just comments), it may need a new (profile)
    EAPI which will take a while to implement and deploy.

    If it's just for comments, then we can do it immediately though.


    To crib from the OP example with something configparser understands: [PREAMBLE]
    Timestamp: 2023-09-21 15:07:42+00:00
    Author: Arthur Zamarin <arthurzam@gentoo.org>
    Justification: Very broken, no idea why packaged, need to drop ASAP.
    The project is done with supporting this package.
    Bugs: 667687, 667689
    Removal Date: 2023-10-21
    Packages: dev-lang/python

    The format is well documented already and simple to check for
    validity, so any GLEP would just need to cover correct keys/values.


    But yeah, I agree it's worth thinking about a proper format rather than
    fragile text mangling going into the future.

    Just a thought.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex Boag-Munroe@21:1/5 to All on Fri Sep 22 16:30:02 2023
    Any reason for the parseable parts to not be in an established human readable/editable format? e.g. the config ini style format, or TOML?

    To crib from the OP example with something configparser understands:
    [PREAMBLE]
    Timestamp: 2023-09-21 15:07:42+00:00
    Author: Arthur Zamarin <arthurzam@gentoo.org>
    Justification: Very broken, no idea why packaged, need to drop ASAP.
    The project is done with supporting this package.
    Bugs: 667687, 667689
    Removal Date: 2023-10-21
    Packages: dev-lang/python

    The format is well documented already and simple to check for
    validity, so any GLEP would just need to cover correct keys/values.

    Just a thought.

    --
    Ninpo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex Boag-Munroe@21:1/5 to Sam James on Fri Sep 22 17:00:01 2023
    On Fri, 22 Sept 2023 at 15:37, Sam James <sam@gentoo.org> wrote:


    Alex Boag-Munroe <ninpo@qap.la> writes:

    Any reason for the parseable parts to not be in an established human readable/editable format? e.g. the config ini style format, or TOML?

    The only issue really is that depending on how it's done (do we do
    it for the whole file, or just comments), it may need a new (profile)
    EAPI which will take a while to implement and deploy.

    If it's just for comments, then we can do it immediately though.


    To crib from the OP example with something configparser understands: [PREAMBLE]
    Timestamp: 2023-09-21 15:07:42+00:00
    Author: Arthur Zamarin <arthurzam@gentoo.org>
    Justification: Very broken, no idea why packaged, need to drop ASAP.
    The project is done with supporting this package.
    Bugs: 667687, 667689
    Removal Date: 2023-10-21
    Packages: dev-lang/python

    The format is well documented already and simple to check for
    validity, so any GLEP would just need to cover correct keys/values.


    But yeah, I agree it's worth thinking about a proper format rather than fragile text mangling going into the future.

    Perhaps eventually it could/should be used for the whole file but as
    an interim/beginning there's no reason you couldn't start with
    comments:

    # [PREAMBLE]
    # Timestamp: 2023-09-21 15:07:42+00:00
    # Author: Arthur Zamarin <arthurzam@gentoo.org>
    # Justification: Very broken, no idea why packaged, need to drop ASAP.
    # The project is done with supporting this package.
    # Bugs: 667687, 667689
    # Packages: dev-lang/python
    dev-lang/python

    This simply adds a pre parse step of stripping the comments then
    feeding directly into configparser or probably more suitable, TOML
    since TOML has better syntax for directly delivering things like a
    "Packages:" key as a list.

    Redoing a bunch of package.* parsing probably wasn't in scope of the
    OP but I've always wondered and this felt an opportune moment to
    ask/suggest :)

    --
    Ninpo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arthur Zamarin@21:1/5 to Alex Boag-Munroe on Fri Sep 22 19:30:01 2023
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------8HG8iND6VCjwLsxVVy00oYzd
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 22/09/2023 17.50, Alex Boag-Munroe wrote:
    On Fri, 22 Sept 2023 at 15:37, Sam James <sam@gentoo.org> wrote:


    Alex Boag-Munroe <ninpo@qap.la> writes:

    Any reason for the parseable parts to not be in an established human
    readable/editable format? e.g. the config ini style format, or TOML?

    The only issue really is that depending on how it's done (do we do
    it for the whole file, or just comments), it may need a new (profile)
    EAPI which will take a while to implement and deploy.

    If it's just for comments, then we can do it immediately though.


    To crib from the OP example with something configparser understands:
    [PREAMBLE]
    Timestamp: 2023-09-21 15:07:42+00:00
    Author: Arthur Zamarin <arthurzam@gentoo.org>
    Justification: Very broken, no idea why packaged, need to drop ASAP.
    The project is done with supporting this package.
    Bugs: 667687, 667689
    Removal Date: 2023-10-21
    Packages: dev-lang/python

    The format is well documented already and simple to check for
    validity, so any GLEP would just need to cover correct keys/values.


    But yeah, I agree it's worth thinking about a proper format rather than
    fragile text mangling going into the future.

    Perhaps eventually it could/should be used for the whole file but as
    an interim/beginning there's no reason you couldn't start with
    comments:

    # [PREAMBLE]
    # Timestamp: 2023-09-21 15:07:42+00:00
    # Author: Arthur Zamarin <arthurzam@gentoo.org>
    # Justification: Very broken, no idea why packaged, need to drop ASAP.
    # The project is done with supporting this package.
    # Bugs: 667687, 667689
    # Packages: dev-lang/python
    dev-lang/python

    This simply adds a pre parse step of stripping the comments then
    feeding directly into configparser or probably more suitable, TOML
    since TOML has better syntax for directly delivering things like a "Packages:" key as a list.

    Redoing a bunch of package.* parsing probably wasn't in scope of the
    OP but I've always wondered and this felt an opportune moment to
    ask/suggest :)

    Thanks for the idea. Yes, it was out of scope such suggestions for me originally, but thinking more about it, I take it more positively.
    Please let me (and others) to consider it for some days, cause this is
    very interesting proposal. Things to consider is how much effort it is
    to file in future, which format to use, etc.

    --
    Ninpo


    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, pkgcore stack, Arch Teams, GURU)


    --------------8HG8iND6VCjwLsxVVy00oYzd--

    -----BEGIN PGP SIGNATURE-----

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmUNzqQACgkQAqCvUD0S BQTK3gf/VWbhABX1xWUi0fgDFBLH1L5TqTasMI33Zwo4o7UpAgW7g6/Th/tX/OS4 1l4WxMxRHIkcAms90BWdn3uv4cHNHp2xbZ5Th+5VDzE2A1fWTQCgihw/rxC2RklJ PRpZDOPo4AJsYZdCGXTC1iY6Jh/hjxTa/FuKRubqY+SIZ5IODwcOmFVCGtyr7rPj qpz+DtxCYwUfRP2c9mgEHttAL0QuyeGLEyb+As+kiAG9rm1BKiqhysnHbHgPbNEk DqRLEBW4thLSqL7kLuKCOWmQS8gKxk5XwgphWiMl29Ov/bVRS+zF59VCOBZkxR09 mRQ4/VXrnHeYdJkBT3I3n4+c7oV3zQ==
    =NTCE
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Sat Sep 23 09:10:01 2023
    On Fri, 22 Sep 2023, Alex Boag-Munroe wrote:

    Perhaps eventually it could/should be used for the whole file but as
    an interim/beginning there's no reason you couldn't start with
    comments:

    # [PREAMBLE]
    # Timestamp: 2023-09-21 15:07:42+00:00
    # Author: Arthur Zamarin <arthurzam@gentoo.org>
    # Justification: Very broken, no idea why packaged, need to drop ASAP.
    # The project is done with supporting this package.
    # Bugs: 667687, 667689
    # Packages: dev-lang/python
    dev-lang/python

    And I thought my suggestion to use XML was far-fetched and an obvious
    joke. :(

    This seems rather restrictive, adds unnecessary redundancy, and would
    make it hard to type an entry without the aid of special tools.

    Also, there are other files like use.mask which probably shouldn't have
    a completely different format. Their entries often have the author/date
    line plus a one line comment which says all that is needed. Adding
    massive header blocks there would be excessive.

    IMHO Arthur's original proposal was fine. Let's not over-complicate
    things.

    Ulrich

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmUOjZwPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uMWkH/3zgiEp1CjqvvcsIFFnnrZ+R4J7cFwwD8Bvk i+pepIy73abJqq3i4Ilz9rBx5x54ban1InaZqcWWPB+UuGmOFp9Ilh60d3Gtcjx0 QVNcPlhuWAyHET2u4+vcaErOYeqw1jAEe2+WwI4TCm2N+AgzDqGj8x9Z5DJ4/E6k YNl/TCeAJ7Q+vKH0SakHxcrKtM4L9t9Gvodvst/UBtoYVxmHx0UdHXisZphAYoEK VnMjFm0VMjc/UrgTqn/nyI1C0n1OuhMezoxHW0x9EmE4CuNWPsm1Kjf0soAC9vtT Vnzjo/mLuJmx7I/6JgJGiKDWSr9G3cCnr738vxXeqa4SzLiZNpk=
    =hj+0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Ulrich Mueller on Sat Sep 23 16:00:01 2023
    Ulrich Mueller <ulm@gentoo.org> writes:

    [[PGP Signed Part:Undecided]]
    On Fri, 22 Sep 2023, Alex Boag-Munroe wrote:

    Perhaps eventually it could/should be used for the whole file but as
    an interim/beginning there's no reason you couldn't start with
    comments:

    # [PREAMBLE]
    # Timestamp: 2023-09-21 15:07:42+00:00
    # Author: Arthur Zamarin <arthurzam@gentoo.org>
    # Justification: Very broken, no idea why packaged, need to drop ASAP.
    # The project is done with supporting this package.
    # Bugs: 667687, 667689
    # Packages: dev-lang/python
    dev-lang/python

    And I thought my suggestion to use XML was far-fetched and an obvious
    joke. :(

    This is rather disrespectful to someone (who is a new contributor as
    well) making a suggestion in earnest. You could've dropped this sentence
    and the rest of your critique would stand.

    Please consider phrasing in future.


    This seems rather restrictive, adds unnecessary redundancy, and would
    make it hard to type an entry without the aid of special tools.

    Also, there are other files like use.mask which probably shouldn't have
    a completely different format. Their entries often have the author/date
    line plus a one line comment which says all that is needed. Adding
    massive header blocks there would be excessive.

    IMHO Arthur's original proposal was fine. Let's not over-complicate
    things.

    Ulrich

    [[End of PGP Signed Part]]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Arthur Zamarin on Sat Sep 23 16:10:01 2023
    Arthur Zamarin <arthurzam@gentoo.org> writes:

    [[PGP Signed Part:Undecided]]
    On 22/09/2023 17.50, Alex Boag-Munroe wrote:
    On Fri, 22 Sept 2023 at 15:37, Sam James <sam@gentoo.org> wrote:


    Alex Boag-Munroe <ninpo@qap.la> writes:

    Any reason for the parseable parts to not be in an established human
    readable/editable format? e.g. the config ini style format, or TOML?

    The only issue really is that depending on how it's done (do we do
    it for the whole file, or just comments), it may need a new (profile)
    EAPI which will take a while to implement and deploy.

    If it's just for comments, then we can do it immediately though.


    To crib from the OP example with something configparser understands:
    [PREAMBLE]
    Timestamp: 2023-09-21 15:07:42+00:00
    Author: Arthur Zamarin <arthurzam@gentoo.org>
    Justification: Very broken, no idea why packaged, need to drop ASAP.
    The project is done with supporting this package.
    Bugs: 667687, 667689
    Removal Date: 2023-10-21
    Packages: dev-lang/python

    The format is well documented already and simple to check for
    validity, so any GLEP would just need to cover correct keys/values.


    But yeah, I agree it's worth thinking about a proper format rather than
    fragile text mangling going into the future.

    Perhaps eventually it could/should be used for the whole file but as
    an interim/beginning there's no reason you couldn't start with
    comments:

    # [PREAMBLE]
    # Timestamp: 2023-09-21 15:07:42+00:00
    # Author: Arthur Zamarin <arthurzam@gentoo.org>
    # Justification: Very broken, no idea why packaged, need to drop ASAP.
    # The project is done with supporting this package.
    # Bugs: 667687, 667689
    # Packages: dev-lang/python
    dev-lang/python

    This simply adds a pre parse step of stripping the comments then
    feeding directly into configparser or probably more suitable, TOML
    since TOML has better syntax for directly delivering things like a
    "Packages:" key as a list.

    Redoing a bunch of package.* parsing probably wasn't in scope of the
    OP but I've always wondered and this felt an opportune moment to
    ask/suggest :)

    Thanks for the idea. Yes, it was out of scope such suggestions for me originally, but thinking more about it, I take it more positively.
    Please let me (and others) to consider it for some days, cause this is
    very interesting proposal. Things to consider is how much effort it is
    to file in future, which format to use, etc.


    It's fine with me if we just go with the original for now, but I think
    the awkwardness (which is not your fault, but the nature of wrangling
    free-form text) of the specification shows that we should at some point
    move to something structured.

    But I don't consider it a blocker for doing something better than
    the status quo.

    Maybe we'll be better off just going straight for Exherbo-style
    p.mask in future: https://ciaranm.wordpress.com/2011/03/27/classifying-repository-masks/

    Ultimately, text munging sucks and there's only so much we can do to
    polish it. But your original proposal is a good improvement on how things are now.

    --
    Ninpo


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex Boag-Munroe@21:1/5 to Ulrich Mueller on Sat Sep 23 16:10:01 2023
    On Sat, 23 Sept 2023 at 08:03, Ulrich Mueller <ulm@gentoo.org> wrote:
    <snip>
    This seems rather restrictive, adds unnecessary redundancy, and would
    make it hard to type an entry without the aid of special tools.

    Also, there are other files like use.mask which probably shouldn't have
    a completely different format. Their entries often have the author/date
    line plus a one line comment which says all that is needed. Adding
    massive header blocks there would be excessive.

    IMHO Arthur's original proposal was fine. Let's not over-complicate
    things.

    Ulrich

    I'm confused, you're against adding "massive header blocks" but you're
    fine with Arthur's 9 line entry but not my 8 line one.

    My idea was a stop gap to add something easily parsed once the
    comments are stripped but keeping the comments in place currently for
    backwards compatibility.

    Since parsing was part of the OP it made sense to me to suggest an
    "already existing made for humans to read/write while tools can
    already parse it" structure. What special tools do you think are
    needed to write it? I wrote the above in Kate after double checking
    the configparser docs. A standard template would be trivial.

    --
    Ninpo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Sat Sep 23 19:50:01 2023
    On Sat, 23 Sep 2023, Alex Boag-Munroe wrote:

    I'm confused, you're against adding "massive header blocks" but you're
    fine with Arthur's 9 line entry but not my 8 line one.

    Your 8 line entry was this (please correct me if you meant to refer to
    an entry from a different message):

    --- 8< ---
    # [PREAMBLE]
    # Timestamp: 2023-09-21 15:07:42+00:00
    # Author: Arthur Zamarin <arthurzam@gentoo.org>
    # Justification: Very broken, no idea why packaged, need to drop ASAP.
    # The project is done with supporting this package.
    # Bugs: 667687, 667689
    # Packages: dev-lang/python
    dev-lang/python
    --- >8 ---

    And Arthur's was this:

    --- 8< ---
    # Arthur Zamarin <arthurzam@gentoo.org> (2023-09-21)
    # Very broken, no idea why packaged, need to drop ASAP. The project
    # is done with supporting this package. See for history bug #667889.
    #
    # As a better plan, you should migrate to dev-lang/perl, which has
    # better compatibility with dev-lang/ruby when used with dev-lang/lua
    # bindings.
    # Removal on 2023-10-21. Bug #667687, #667689.
    dev-lang/python
    --- >8 ---

    Of course it is longer when it contains 4 additional lines of
    explanation.

    My idea was a stop gap to add something easily parsed once the
    comments are stripped but keeping the comments in place currently for backwards
  • From Ulrich Mueller@21:1/5 to All on Mon Sep 25 14:10:02 2023
    On Sun, 24 Sep 2023, Jonas Stein wrote:

    # Removal on 2023-10-21. Bug #667687, #667689.

    We should use "after" instead of "on":

    # Removal after T

    I wonder if we even need to specify the wording in such detail. For any
    tools parsing the file, it might be enough to say that the line must
    contain, in this order:

    - "Removal" (case insensitive?) as the first word,
    - exactly one date in YYYY-MM-DD format,
    - optionally, the word "bug" followed by one or more bug numbers.

    Ulrich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oskari Pirhonen@21:1/5 to Ulrich Mueller on Tue Sep 26 03:30:01 2023
    On Mon, Sep 25, 2023 at 14:03:26 +0200, Ulrich Mueller wrote:
    On Sun, 24 Sep 2023, Jonas Stein wrote:

    # Removal on 2023-10-21. Bug #667687, #667689.

    We should use "after" instead of "on":

    # Removal after T

    I wonder if we even need to specify the wording in such detail. For any
    tools parsing the file, it might be enough to say that the line must
    contain, in this order:

    - "Removal" (case insensitive?) as the first word,
    - exactly one date in YYYY-MM-DD format,
    - optionally, the word "bug" followed by one or more bug numbers.


    With the scheme above, the following would be valid (among other more nonsensical looking things):

    # Removal before YYYY-MM-DD. Bug #1, #2

    IMO it definitely should require a word with similar meaning to "on" or "after". How exactly that gets worded in the end, IDK. Maybe it'll end
    up as "exactly one of 'on' or 'after'" or something like that.

    - Oskari

    -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQQfOU+JeXjo4uxN6vCp8he9GGIfEQUCZRIz6AAKCRCp8he9GGIf EZ9RAQDQeVfdkQhBmGZlG/A91WWf4BHr2zXBF0OkQMO+nX+ExAEAsSRMFUp8Adqu ecgPEOj7rB8o6s25TD1anfYxnSENAQI=
    =siPW
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)