On Mon, Feb 13, 2012 at 10:50 AM, Dirkjan Ochtman <d...@gentoo.org> wrote:
> On Mon, Feb 13, 2012 at 10:33, Corentin Chary <corentin.ch...@gmail.com> 
> wrote:
>> One other thing, metadata.xml already contain a remote-id tag, which
>> would be very great to help euscan do its job, but a lot of package
>> are lacking it:
>> - Should we patch repoman to scan SRC_URI and issue a warning when it
>> looks like an URI that match a well known remote-id
>> - Should we write a script to update metadata.xml ? It would be easy
>> for rubygem, pypi and pear packages.
>>
>> Any comment ? Objections ? Ideas ?
>
> I like the idea for keeping the data somewhere for known-insane cases,
> and metadata.xml sounds like it might be fine. But I don't think we
> should add anything for the likes of PyPI, if we can easily derive
> that we should look on PyPI some other way (i.e. for python, many
> packages list a PyPI page in their HOMEPAGE).

For pypi (and some others), looking at SRC_URI is enought: it starts
with mirror://pypi/.
Still for those <upstream><remote-id> *must* be set because the
package name is not always exactly the same as in gentoo. Currently
euscan tries to guess it, but it is not always accurate.
Most of the time, if remote-id is set, we don't need "version-scan"
because upstream provides a stable API to list versions.


-- 
Corentin Chary
http://xf.iksaif.net

Reply via email to