Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11252
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Emmanuel Bourg <ebourg@apache.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) |
| Date | Tue, 28 May 2019 11:30:01 +0200 |
| Message-ID | <y2GAF-NW-1@gated-at.bofh.it> (permalink) |
| References | <xZNyG-7L7-3@gated-at.bofh.it> <xZPK9-xq-5@gated-at.bofh.it> <xZPK9-xq-3@gated-at.bofh.it> <xZQdc-WR-5@gated-at.bofh.it> <y0Yil-2bM-3@gated-at.bofh.it> <y0Zo6-34M-13@gated-at.bofh.it> <y13UJ-5GX-3@gated-at.bofh.it> <y1iK6-6EQ-9@gated-at.bofh.it> <y1n73-ZJ-3@gated-at.bofh.it> <y27jz-3XG-3@gated-at.bofh.it> <y29ln-5aH-1@gated-at.bofh.it> <y2qPf-7DW-3@gated-at.bofh.it> <y2FEB-cX-3@gated-at.bofh.it> <y2GqZ-JX-7@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Tue May 28 09:21:26 2019 |
| Old-Return-Path | <ebourg@apache.org> |
| X-Amavis-Spam-Status | No, score=-5.4 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MONEY=0.5, STOCKLIKE=1] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -5.5 |
| Openpgp | preference=signencrypt |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Language | en-US |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/21780 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/1c88d8a0-ab8e-14e5-92e9-4abab5af7fdc@apache.org |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 28 May 2019 11:21:02 +0200 |
| X-Original-Message-ID | <1c88d8a0-ab8e-14e5-92e9-4abab5af7fdc@apache.org> |
| X-Original-References | <d7bd9794-cfa3-a766-659b-f90fa8b279d8@apache.org> <4312b8ae-a1e9-7780-d7f5-37a2a7ec768a@redhat.com> <67ac780f-42e1-26cc-a8ed-f26ba091a9a0@apache.org> <a7b71570-a04c-2c48-c1dd-6a0a7a18ab4c@redhat.com> <9fce0f82-810f-a155-d9c2-2de8ddbafbbc@apache.org> <CAP7YuARgoeZs_TAtPwPKmjTCPH+kA2tcOaVdAD6naGJW1COxhg@mail.gmail.com> <110cbc62-6577-b6aa-c487-151a74560593@apache.org> <20190524133947.tfsboprzcs2eaf4m@lark> <CAP7YuARx11MgNC6Hfc_OoYa=ZKQC+1EhtQnYWQDXU9WGbDVxXw@mail.gmail.com> <09c5b205-eb68-bd44-ee13-4b59f255ed2a@debian.org> <20190526215152.bz5a5mihbg5kgqag@lark> <alpine.DEB.2.21.1905271825460.16139@tglase.lan.tarent.de> <6d2889ea-9079-b75f-9c3c-560339cdc70e@apache.org> <CAKTje6Es1oAH8mb3tjLo+VVLAvjh5bGrr1JBQ=yVi6Cb57K81g@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.java:11252 |
Show key headers only | View raw
Le 28/05/2019 à 11:11, Paul Wise a écrit :
> FTR, uscan is now flexible enough that it can apply arbitrary
> transformations to the HTML and download URL so it is easy enough to
> create a watch file that works:
>
> version=4
> opts="pagemangle=s{<a
> href=\"/jdk-updates/jdk11u/rev/[^\"]*\">\s*(jdk-11\.[^<\s]*)}{<a
> href=\"archive/$1.tar.gz">$1}g" \
> https://hg.openjdk.java.net/jdk-updates/jdk11u/tags \
> .*/jdk-(.*).tar.gz
>
> $ uscan --watchfile watch --package openjdk --upstream-version 0
> uscan: Newest version of openjdk on remote site is 11.0.4+4, local version is 0
> uscan: => Newer package available from
> https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/jdk-11.0.4+4.tar.gz
Thank you Paul. After I posted the previous message I dug into the uscan
documentation and found the new pagemangle option.
Here is the watch file I wrote to match the OpenJDK 11 GA releases:
version=4
opts="repack,compression=xz,pagemangle=s%(jdk-.*)%<a
href='http://hg.openjdk.java.net/jdk-updates/jdk11u/archive/$1.tar.gz'>$1</a>%g"
\
http://hg.openjdk.java.net/jdk-updates/jdk11u-dev/tags
.*/archive/jdk-(11\..*)-ga.tar.gz
Emmanuel Bourg
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-20 12:20 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-20 14:40 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-20 15:10 +0200
Re: Debian distributions of stable OpenJDK updates tony mancill <tmancill@debian.org> - 2019-05-22 06:20 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-22 12:30 +0200
Re: Debian distributions of stable OpenJDK updates tony mancill <tmancill@debian.org> - 2019-05-22 16:40 +0200
Re: Debian distributions of stable OpenJDK updates Matthias Klose <doko@debian.org> - 2019-05-26 22:00 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-27 00:00 +0200
Re: Debian distributions of stable OpenJDK updates Matthias Klose <doko@debian.org> - 2019-05-27 16:00 +0200
Re: Debian distributions of stable OpenJDK updates Thorsten Glaser <t.glaser@tarent.de> - 2019-05-27 18:50 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-23 18:00 +0200
Re: Debian distributions of stable OpenJDK updates Martijn Verburg <martijnverburg@gmail.com> - 2019-05-23 19:10 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-24 00:00 +0200
Re: Debian distributions of stable OpenJDK updates Thorsten Glaser <t.glaser@tarent.de> - 2019-05-24 00:50 +0200
Re: Debian distributions of stable OpenJDK updates tony mancill <tmancill@debian.org> - 2019-05-25 18:10 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-27 17:10 +0200
Re: Debian distributions of stable OpenJDK updates Thorsten Glaser <t.glaser@tarent.de> - 2019-05-27 18:40 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-28 10:40 +0200
Re: Debian distributions of stable OpenJDK updates Thorsten Glaser <t.glaser@tarent.de> - 2019-05-29 14:20 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-30 00:10 +0200
Re: Debian distributions of stable OpenJDK updates tony mancill <tmancill@debian.org> - 2019-05-24 15:50 +0200
Re: Debian distributions of stable OpenJDK updates Martijn Verburg <martijnverburg@gmail.com> - 2019-05-24 20:30 +0200
Re: Debian distributions of stable OpenJDK updates Matthias Klose <doko@debian.org> - 2019-05-26 21:50 +0200
Re: Debian distributions of stable OpenJDK updates tony mancill <tmancill@debian.org> - 2019-05-27 00:00 +0200
Re: Debian distributions of stable OpenJDK updates Matthias Klose <doko@debian.org> - 2019-05-27 16:10 +0200
Re: Debian distributions of stable OpenJDK updates Thorsten Glaser <t.glaser@tarent.de> - 2019-05-27 18:40 +0200
debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Emmanuel Bourg <ebourg@apache.org> - 2019-05-28 10:30 +0200
Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Paul Wise <pabs@debian.org> - 2019-05-28 11:20 +0200
Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Emmanuel Bourg <ebourg@apache.org> - 2019-05-28 11:30 +0200
Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Tiago Daitx <tiago.daitx@canonical.com> - 2019-05-29 04:10 +0200
Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Tiago Daitx <tiago.daitx@canonical.com> - 2019-05-29 04:20 +0200
Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Thorsten Glaser <t.glaser@tarent.de> - 2019-05-29 14:20 +0200
Re: debian/watch file for OpenJDK (was Re: Debian distributions of stable OpenJDK updates) Dalibor Topic <dalibor.topic@oracle.com> - 2019-05-29 16:00 +0200
Re: Debian distributions of stable OpenJDK updates Emmanuel Bourg <ebourg@apache.org> - 2019-05-30 00:00 +0200
Re: Debian distributions of stable OpenJDK updates Thorsten Glaser <t.glaser@tarent.de> - 2019-05-30 00:30 +0200
Re: Debian distributions of stable OpenJDK updates Matthias Klose <doko@debian.org> - 2019-06-10 11:40 +0200
Re: Debian distributions of stable OpenJDK updates Martijn Verburg <martijnverburg@gmail.com> - 2019-05-27 12:30 +0200
csiph-web