Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
euscan: a tool to check if ebuilds are outdated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Iksaif
n00b
n00b


Joined: 02 Nov 2007
Posts: 2

PostPosted: Sat Apr 16, 2011 9:49 am    Post subject: euscan: a tool to check if ebuilds are outdated Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Apr 17, 2011 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum