Gentoo Archives: gentoo-dev

From: Corentin Chary <iksaif@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] euscan GSoC project - requesting feedback
Date: Fri, 29 Jun 2012 12:11:52
Message-Id: CAHR064g=8Q4n1ke=O3bTpkLcj-2+medcFub_woU6PzFdYgX9vA@mail.gmail.com
In Reply to: Re: [gentoo-dev] euscan GSoC project - requesting feedback by Kent Fredric
On Fri, Jun 29, 2012 at 4:07 AM, Kent Fredric <kentfredric@×××××.com> wrote:
> On 27 June 2012 19:51, Federico "fox" Scrinzi <fox91@×××××.no> wrote: >> The main question is: what would you like to have on this dashboard? >> Currently (in the development version) there's the possibility to login >> and watch/unwatch packages/categories/herds/... and see the watched >> stuff in the account dashboard. We're planning on implementing a >> weekly(?) custom newsletter based on the packages you're watching, which >> features would you like? >> >> The project repo for the GSoC is here: https://github.com/volpino/euscan >> >> Thanks! >> > > For the most part it seems to get upstream / portage versioning right, > but occasionally you get miss-matches for some reason. > > It would be nice to allow to provide some mapping mechanism that > existed on the overlay itself to inform euscan how to map upstream > versions to downstream ones, but implementing that would be far too > complex I feel. > > Instead, it would be nice to have a mechanism in the interface to set > a "Upstream version is" value for each package if euscan can't tell. > > Ie: > > http://euscan.iksaif.net/package/dev-perl/HTML-TreeBuilder-LibXML/ > > Upstream is 0.71 , portage is ( normalised ) to 0.710.0 , and these > are in fact the same version. So in 0.710.0 , it would be nice to be > able to set the upstream version manually to 0.71 so that euscan no > longer reported it as outdated. > > http://euscan.iksaif.net/package/dev-perl/Authen-SASL-Cyrus-server/ > > 0.13 == 0.13-serve > > http://euscan.iksaif.net/package/dev-perl/Module-Extract-Namespaces/ > > 0.140.200_rc == 0.14_0.2 > > http://euscan.iksaif.net/package/dev-perl/Math-BaseCnv/ > http://euscan.iksaif.net/package/dev-perl/XML-Tidy/ > > 1.8 == 1.8.B59BrZ > 1.8 == 1.8.B2AMvd > > ( Upstream for those 2 packages have a versioning scheme tantamount to > intolerable cruelty. > https://rt.cpan.org/Public/Bug/Display.html?id=60275 ) > > http://euscan.iksaif.net/package/dev-perl/Perl-Critic-Moose/ > 0.999.2_rc == 0.999._002 > > http://euscan.iksaif.net/package/dev-perl/aliased/ > 0.300.100_rc == 0.30_0.1 > > http://euscan.iksaif.net/package/dev-perl/EV/ > 4.110.0  == 4.11 > > > -- > Kent > > perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, > 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" > > http://kent-fredric.fox.geek.nz >
Something that could help with that: we plan to add something like debian/watch in metadata.xml. This should allow to specify a regexp to mangle versions (sed like syntax: /match/replace/). For some specific packages, we also already have specific handlers (cpan, php, pypi, etc...) which have specific version mangling functions.