• [gentoo-dev] [PATCH] add apache to metadata.dtd

    From Volkmar W. Pogatzki@21:1/5 to All on Thu Nov 24 13:30:01 2022
    There are many packages hosted on <package>.apache.org like e.g.

    dev-java/log4j-core -> https://logging.apache.org/log4j/2.x/
    dev-java/pdfbox -> https://pdfbox.apache.org/
    net-libs/serf -> https://serf.apache.org/

    A new Upstream <remote-id type="apache"> would allow setting remote-id to the correct value for those packages.

    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    ---
    metadata.dtd | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/metadata.dtd b/metadata.dtd
    index c36242a..6546dc6 100644
    --- a/metadata.dtd
    +++ b/metadata.dtd
    @@ -56,7 +56,7 @@
    <!ELEMENT bugs-to (#PCDATA)>
    <!-- specify a type of package identification tracker -->
    <!ELEMENT remote-id (#PCDATA)>
    - <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|freedesktop-gitlab|gentoo|github|gitlab|gnome-gitlab|google-code|hackage|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|savannah|savannah-nongnu|sourceforge|sourcehut|vim) #
    REQUIRED>
    + <!ATTLIST remote-id type (apache|bitbucket|cpan|cpan-module|cpe|cran|ctan|freedesktop-gitlab|gentoo|github|gitlab|gnome-gitlab|google-code|hackage|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|savannah|savannah-nongnu|sourceforge|sourcehut|vim) #
    REQUIRED>

    <!-- category/package information for cross-linking in descriptions
    and useflag descriptions -->
    --
    2.37.4

    --- SoupGate-Win32 v1.05
  • From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to Volkmar W. Pogatzki on Thu Nov 24 15:10:01 2022
    On Thu, 2022-11-24 at 13:29 +0100, Volkmar W. Pogatzki wrote:
    There are many packages hosted on <package>.apache.org like e.g.

    dev-java/log4j-core -> https://logging.apache.org/log4j/2.x/
    dev-java/pdfbox -> https://pdfbox.apache.org/
    net-libs/serf -> https://serf.apache.org/


    This doesn't seem consistent. How is it supposed to work?

    Please don't forget to include a patch for the XML Schema and pkgcheck.

    --
    Best regards,
    Michał Górny

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Helmert III@21:1/5 to vaukai on Fri Nov 25 01:20:01 2022
    Could you resend this in plaintext?

    On Thu, Nov 24, 2022 at 05:46:45PM +0100, vaukai wrote:
    <!doctype html>
    <html>
    <head>
    <meta charset="UTF-8">
    </head>
    <body>
    <blockquote type="cite">
    <div>
    Michał Górny &lt;<a href="mailto:mgorny@gentoo.org">mgorny@gentoo.org</a>&gt; hat am 24.11.2022 15:03 CET geschrieben:
    </div>
    <div>
    &nbsp;
    </div>
    <div>
    &nbsp;
    </div>
    <div>
    On Thu, 2022-11-24 at 13:29 +0100, Volkmar W. Pogatzki wrote:
    </div>
    <blockquote type="cite">
    <div>
    There are many packages hosted on &lt;package&gt;.apache.org like e.g.
    </div>
    <div>
    &nbsp;
    </div>
    <div>
    dev-java/log4j-core -&gt; <a href="https://logging.apache.org/log4j/2.x/" target="_blank" rel="noopener">https://logging.apache.org/log4j/2.x/</a>
    </div>
    <div>
    dev-java/pdfbox -&gt; <a href="https://pdfbox.apache.org/" target="_blank" rel="noopener">https://pdfbox.apache.org/</a>
    </div>
    <div>
    net-libs/serf -&gt; <a href="https://serf.apache.org/" target="_blank" rel="noopener">https://serf.apache.org/</a>
    </div>
    <div>
    &nbsp;
    </div>
    </blockquote>
    <div>
    This doesn't seem consistent. How is it supposed to work?
    </div>
    <div>
    &nbsp;
    </div>
    <div>
    Please don't forget to include a patch for the XML Schema and pkgcheck.
    </div>
    </blockquote>
    <div class="default-style">
    &nbsp;
    </div>
    <div class="default-style">
    <a href="https://882351.bugs.gentoo.org/attachment.cgi?id=835371">https://882351.bugs.gentoo.org/attachment.cgi?id=835371</a>
    </div>
    <div class="default-style">
    <a href="https://882351.bugs.gentoo.org/attachment.cgi?id=835437">https://882351.bugs.gentoo.org/attachment.cgi?id=835437</a>
    </div>
    <div class="default-style">
    &nbsp;
    </div>
    <div class="default-style">
    Wiki says "DTD (needs gentoo-dev ML review, do this before any other step)"
    </div>
    <div class="default-style">
    --
    </div>
    <div class="default-style">
    Best
    </div>
    <div class="default-style">
    Volkmar W. Pogatzki
    </div>
    <div class="default-style">
    &nbsp;
    </div>
    </body>
    </html>


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

    iHUEABYKAB0WIQQyG9yfCrmO0LPSdG2gXq2+aa/JtQUCY4AIGQAKCRCgXq2+aa/J tfMxAQDqZSKxcYgY5QKPQ6If1BaGvJEqj6heuXphME8O7oXjhwEAppy5yJQffLQR jtWk4a1KLY4/QM0lRbNCiWUhjrwryQY=
    =ymSa
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Volkmar W. Pogatzki@21:1/5 to All on Fri Nov 25 10:10:02 2022
    Michał Górny <mgorny@gentoo.org> hat am 24.11.2022 15:03 CET geschrieben:


    On Thu, 2022-11-24 at 13:29 +0100, Volkmar W. Pogatzki wrote:
    There are many packages hosted on <package>.apache.org like e.g.

    dev-java/log4j-core -> https://logging.apache.org/log4j/2.x/ dev-java/pdfbox -> https://pdfbox.apache.org/
    net-libs/serf -> https://serf.apache.org/


    This doesn't seem consistent. How is it supposed to work?

    Please don't forget to include a patch for the XML Schema and pkgcheck.

    --
    Best regards,
    Michał Górny


    https://882351.bugs.gentoo.org/attachment.cgi?id=835371 https://882351.bugs.gentoo.org/attachment.cgi?id=835437

    Wiki says "DTD (needs gentoo-dev ML review, do this before any other step)"
    --
    Best regards
    Volkmar W. Pogatzki

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Volkmar W. Pogatzki@21:1/5 to All on Fri Nov 25 14:30:01 2022
    Michał Górny <mgorny@gentoo.org> hat am 25.11.2022 14:16 CET geschrieben:


    On Fri, 2022-11-25 at 10:04 +0100, Volkmar W. Pogatzki wrote:
    This doesn't seem consistent.  How is it supposed to work?

    You didn't answer this question.

    --
    Best regards,
    Michał Górny

    Sorry. I have to admit I have no idea how remote-id works and what's
    needed to make a new remote-id work.

    I was asked on https://bugs.gentoo.org/882351 to post here, so I did.

    What did you mean with »doesn't seem consistent«,
    why should an "apache" remote-id not be possible?
    --
    Kind regards
    Volkmar W. Pogatzki

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to Volkmar W. Pogatzki on Fri Nov 25 14:20:01 2022
    On Fri, 2022-11-25 at 10:04 +0100, Volkmar W. Pogatzki wrote:
    This doesn't seem consistent.  How is it supposed to work?

    You didn't answer this question.

    --
    Best regards,
    Michał Górny

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to Volkmar W. Pogatzki on Fri Nov 25 14:40:02 2022
    On Fri, 2022-11-25 at 14:28 +0100, Volkmar W. Pogatzki wrote:
    Michał Górny <mgorny@gentoo.org> hat am 25.11.2022 14:16 CET
    geschrieben:

     
    On Fri, 2022-11-25 at 10:04 +0100, Volkmar W. Pogatzki wrote:
    This doesn't seem consistent.  How is it supposed to work?

    You didn't answer this question.

    --
    Best regards,
    Michał Górny

    Sorry. I have to admit I have no idea how remote-id works and what's
    needed to make a new remote-id work.

    I was asked on https://bugs.gentoo.org/882351 to post here, so I did.

    What did you mean with »doesn't seem consistent«,
    why should an "apache" remote-id not be possible?

    Let me rephrase the question: what will be the remote-id values for
    these packages? How can you handle the case when some of the packages
    are at top level of the domain, while others are in subpage?

    --
    Best regards,
    Michał Górny

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Volkmar W. Pogatzki on Fri Nov 25 14:50:01 2022
    On Fri, Nov 25, 2022 at 02:28:23PM +0100, Volkmar W. Pogatzki wrote:
    Michał Górny <mgorny@gentoo.org> hat am 25.11.2022 14:16 CET geschrieben:


    On Fri, 2022-11-25 at 10:04 +0100, Volkmar W. Pogatzki wrote:
    This doesn't seem consistent.  How is it supposed to work?

    You didn't answer this question.

    Sorry. I have to admit I have no idea how remote-id works and what's
    needed to make a new remote-id work.

    The problem from the examples you gave is log4j-core:

    dev-java/log4j-core -> https://logging.apache.org/log4j/2.x/
    dev-java/pdfbox -> https://pdfbox.apache.org/
    net-libs/serf -> https://serf.apache.org/

    you can have e.g.
    url-template: https://<remote-id>.apache.org/
    metadata: <remote-id type="apache">logging</remote-id>
    https://logging.apache.org/

    But that won't add a log4j/2.x at the end of the url, current
    implementation just does a dumb replacement for a single part

    --
    ionen

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

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmOAx5oACgkQskQGsLCs QzSjXQf8DOTxXz+h9gMo9s7kWcSfSJ+uAIVMG9miRlpSxid/pm4HWExC7qylE8dU /KLaApQW5sOhAkVSpMppfDaH6a6SCJnYRuty0VNZd/R3C5YaH9gMRqaIyZj+AggY /oNpPabrsZ/PwH9nTWCF+p1PuW0BVj89+OvRez8BmZb2kVCR7a67JU5Wlc8XMFos M5uXwi4Udt3CZLy8KvWHPwdeYnJuvIR5z9NWjKKi6029PuOnflEvT/316+WnROnQ mmh3aVjw9YVe2tuIPzT7xIcw+HtMkOQio7DSs50pQms9VYNBgQAyxoC0PGYaexqO HU2mBph+um9yRP7kt/btqt+5/5AEeA==
    =qz0H
    -----END PGP SIGNATURE-----

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