From: Corentin Chary <corentin.chary@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] euscan proof of concept (like debian's uscan)
Date: Mon, 21 Mar 2011 08:24:04 +0000 [thread overview]
Message-ID: <AANLkTi=fCWrLsVPw_i7DO2UhgF5NfBZjWhSiE3Arr7r+@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=LEe+FziC=ong=wym3qi4v9pxxdpEK5wTEz6Dd@mail.gmail.com>
Hi,
I recently started working on a small gentoo utility named "euscan"
(for Ebuild Upstream Scan)
For those who don't know debian's uscan, it allows to scan upstream
for new versions. It's used by packages.qa.debian.org (example:
http://packages.qa.debian.org/p/php-net-ipv4.html ).
It's available at: http://xf.iksaif.net/bordel/euscan
Currently, it uses two heuristics to find new versions, both based on
SRC_URI and PV:
- Directory scanning: scan directories to find files with newer version
- Brute Force: generate new possible versions, and try to download files
Note that it also works when only a part of the version is available
in the url.
I think that it would be great to have these informations on
http://packages.gentoo.org/ and/or unofficial
http://gentoo-portage.com/ website.
We could also add the ability to browse packages by maintainer to help
them see if they have any outdated package.
I started this mostly to see if it was possible, and I don't know if
i'll have the time to continue to work on that project, but I think
gentoo really needs an automated way to detect outdated packages.
This could also be a 2011 GSOC project (finishing euscan, and adding a
web based interface to browse the results).
Examples:
$ ./euscan PEAR-Validate-0.8.3
Package: dev-php/PEAR-Validate-0.8.3
Herd: php
Maintainer: none
Location: /usr/portage/dev-php/PEAR-Validate
* Scanning: http://pear.php.net/get/Validate-${PV}.tgz
* Scanning: http://pear.php.net/get
* Generating version from 0.8.3
* Brute forcing: http://pear.php.net/get/Validate-${PV}.tgz
* Trying: http://pear.php.net/get/Validate-0.8.4.tgz ... [ ok ]
* Trying: http://pear.php.net/get/Validate-0.8.5.tgz ... [ !! ]
* Trying: http://pear.php.net/get/Validate-0.9.0.tgz ... [ !! ]
* Trying: http://pear.php.net/get/Validate-0.10.0.tgz ... [ !! ]
* Trying: http://pear.php.net/get/Validate-0.8.6.tgz ... [ !! ]
New Upstream Version: 0.8.4 http://pear.php.net/get/Validate-0.8.4.tgz
$ ./euscan icu4j-4.4.2
Package: dev-java/icu4j-4.4.2
Herd: java
Maintainer: none
Location: /usr/portage/dev-java/icu4j
* Scanning: http://download.icu-project.org/files/icu4j/${PV}/icu4j-4_4_2-src.jar
* Scanning: http://download.icu-project.org/files/icu4j
New Upstream Version: 4.5.1 http://download.icu-project.org/files/icu4j/4.5.1/
New Upstream Version: 4.5.2 http://download.icu-project.org/files/icu4j/4.5.2/
New Upstream Version: 4.6 http://download.icu-project.org/files/icu4j/4.6/
New Upstream Version: 4.6rc2 http://download.icu-project.org/files/icu4j/4.6rc2/
New Upstream Version: 4.7.1 http://download.icu-project.org/files/icu4j/4.7.1/
New Upstream Version: 4.6.1 http://download.icu-project.org/files/icu4j/4.6.1/
$ ./euscan IceE-1.3.0-r1
Package: dev-cpp/IceE-1.3.0-r1
Herd: no-herd
Maintainer: maintainer-needed@gentoo.org
Description: The Internet Communications Engine (Ice) is a modern
object-oriented middleware with support for C++, .NET, Java, Python,
Ruby, and PHP
Location: /usr/portage/dev-cpp/IceE
* Scanning: http://www.zeroc.com/download/IceE/${0}.${1}//IceE-${PV}-linux.tar.gz
* Scanning: http://www.zeroc.com/download/IceE
* Generating version from 1.3.0
* Brute forcing:
http://www.zeroc.com/download/IceE/${0}.${1}//IceE-${PV}-linux.tar.gz
* Trying: http://www.zeroc.com/download/IceE/1.3//IceE-1.3.1-linux.tar.gz
... [ !! ]
* Trying: http://www.zeroc.com/download/IceE/1.3//IceE-1.3.2-linux.tar.gz
... [ !! ]
* Trying: http://www.zeroc.com/download/IceE/1.4//IceE-1.4.0-linux.tar.gz
... [ !! ]
* Trying: http://www.zeroc.com/download/IceE/1.5//IceE-1.5.0-linux.tar.gz
... [ !! ]
Thanks,
--
Corentin Chary
http://xf.iksaif.net
next parent reply other threads:[~2011-03-21 8:24 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTi=LEe+FziC=ong=wym3qi4v9pxxdpEK5wTEz6Dd@mail.gmail.com>
2011-03-21 8:24 ` Corentin Chary [this message]
2011-03-26 16:35 ` [gentoo-dev] Re: euscan proof of concept (like debian's uscan) Christian Faulhammer
2011-03-26 16:41 ` Corentin Chary
2011-09-18 22:27 ` [gentoo-dev] " "Paweł Hajdan, Jr."
2011-09-19 7:35 ` Dirkjan Ochtman
2011-09-19 8:39 ` Corentin Chary
2011-09-19 8:53 ` Michał Górny
2011-09-19 12:51 ` Corentin Chary
2011-09-23 9:55 ` Corentin Chary
2011-04-03 17:20 ` [gentoo-dev] " Corentin Chary
2011-04-10 8:43 ` Hans de Graaff
2011-04-13 6:47 ` Corentin Chary
2011-04-13 16:23 ` Matthew Summers
2011-04-13 16:58 ` Corentin Chary
2011-04-14 6:49 ` Corentin Chary
2011-04-16 6:29 ` Corentin Chary
2011-04-18 8:26 ` Marijn
2011-04-18 9:05 ` Corentin Chary
2011-04-18 17:22 ` Daniel Pielmeier
2011-04-18 19:14 ` Corentin Chary
2011-04-18 13:32 ` Donnie Berkholz
2011-04-18 13:48 ` Corentin Chary
2011-04-18 19:02 ` Corentin Chary
2011-04-18 19:41 ` Donnie Berkholz
2011-04-18 19:45 ` Donnie Berkholz
2011-04-19 6:19 ` Corentin Chary
2011-04-18 21:08 ` Jorge Manuel B. S. Vicetto
2011-04-19 6:53 ` Corentin Chary
2011-04-19 19:52 ` Tomáš Chvátal
2011-04-20 15:20 ` Corentin Chary
2011-04-27 8:04 ` Corentin Chary
2011-04-27 18:02 ` Tomáš Chvátal
2011-04-28 12:34 ` Corentin Chary
2011-05-02 7:23 ` Corentin Chary
2011-05-05 15:54 ` Corentin Chary
2011-05-06 2:13 ` Patrick Nagel
2011-08-31 13:41 ` Corentin Chary
2011-08-31 16:26 ` Alec Warner
2011-09-01 7:23 ` Alex Legler
2011-09-01 7:44 ` Corentin Chary
2011-09-01 7:49 ` Tomáš Chvátal
2011-09-01 7:55 ` Corentin Chary
2011-09-01 8:05 ` Tomáš Chvátal
2011-09-01 11:47 ` Corentin Chary
2011-09-01 8:31 ` Michał Górny
2011-09-01 9:09 ` Corentin Chary
2011-09-01 14:25 ` Corentin Chary
2011-09-19 19:23 ` Hans de Graaff
2011-09-20 8:00 ` Corentin Chary
2011-09-20 19:04 ` Donnie Berkholz
2011-09-21 8:57 ` Corentin Chary
2011-09-21 10:58 ` Markos Chandras
2011-09-21 12:05 ` Corentin Chary
2011-09-25 18:54 ` Corentin Chary
2011-09-26 18:42 ` Hans de Graaff
2011-09-28 5:41 ` Corentin Chary
2011-11-17 13:49 ` Corentin Chary
2011-04-19 7:29 ` Dirkjan Ochtman
2011-04-19 9:33 ` Corentin Chary
2011-09-06 18:20 ` Matt Turner
2011-09-07 7:32 ` Corentin Chary
2011-09-07 7:44 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=fCWrLsVPw_i7DO2UhgF5NfBZjWhSiE3Arr7r+@mail.gmail.com' \
--to=corentin.chary@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox