View previous topic :: View next topic |
Author |
Message |
Iksaif n00b
Joined: 02 Nov 2007 Posts: 2
|
Posted: Sat Apr 16, 2011 9:49 am Post subject: euscan: a tool to check if ebuilds are outdated |
|
|
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 ).
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.
The code is available (both the utility and the web interface) at http://git.iksaif.net/?p=euscan.git;a=summary
And the web interface is hosted at http://euscan.iksaif.net/
Small TODO:
- Package euscan utility as 'app-portage/euscan' (someone could do that ?)
- Add charts (using google charts ?)
- Add a way to subscribe to weekly/monthly repport for maintainers/herds
- Add better heuristics to detect false positives
- Any idea ?
Example:
Code: |
$ ../euscan htop
* sys-process/htop-0.9 [gentoo]
Ebuild: /usr/portage/sys-process/htop/htop-0.9.ebuild
Repository: gentoo
Homepage: http://htop.sourceforge.net
Description: interactive process viewer
* Scanning: http://switch.dl.sourceforge.net/sourceforge/htop/htop-${PV}.tar.gz
* Scanning: http://switch.dl.sourceforge.net/sourceforge/htop
* Generating version from 0.9
* Brute forcing: http://switch.dl.sourceforge.net/sourceforge/htop/htop-${PV}.tar.gz
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.10.tar.gz ... [ !! ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.11.tar.gz ... [ ok ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-1.0.tar.gz ... [ !! ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-2.0.tar.gz ... [ !! ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.12.tar.gz ... [ ok ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.13.tar.gz ... [ ok ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.14.tar.gz ... [ !! ]
* Trying: http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.15.tar.gz ... [ !! ]
Upstream Version: 0.11 http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.11.tar.gz
Upstream Version: 0.13 http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.13.tar.gz
Upstream Version: 0.12 http://switch.dl.sourceforge.net/sourceforge/htop/htop-0.12.tar.gz
|
|
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Apr 17, 2011 11:12 am Post subject: |
|
|
Moved from Gentoo Chat to Unsupported Software.
Not in portage (yet! ) so moved here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|