From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rwsg1-0001uI-GX for garchives@archives.gentoo.org; Mon, 13 Feb 2012 09:58:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2A5AE0A96; Mon, 13 Feb 2012 09:58:20 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C786FE0A91 for ; Mon, 13 Feb 2012 09:57:50 +0000 (UTC) Received: by bkcit16 with SMTP id it16so213193bkc.40 for ; Mon, 13 Feb 2012 01:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3yxCPro/i7uJLY1020Q1oH1FKra09/ccn+Tkrm7HLyU=; b=rxHYajut5Vkra2eGoEk+G5yVkY5nBBQB8zReHhf345v5w4LOZr6xUZcuVipZtjWVfd vPYK228I/5I0IiQPj9GzxlqkvN95Fvb0GWnRV4EQSNjqaKQNUSMN1Z3MyD5AV6npVDKK snxOYncygRSqepRUpxqJcpgCMiraqr+wEevyo= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.149.209 with SMTP id u17mr7000181bkv.46.1329127069946; Mon, 13 Feb 2012 01:57:49 -0800 (PST) Received: by 10.204.22.17 with HTTP; Mon, 13 Feb 2012 01:57:49 -0800 (PST) In-Reply-To: References: Date: Mon, 13 Feb 2012 10:57:49 +0100 Message-ID: Subject: Re: [gentoo-dev] RFC: upstream/watch in metadata.xml From: Corentin Chary To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: f6461a83-cb02-4eab-a366-95ad298ec1aa X-Archives-Hash: ed28e3091d85f7b13a25c5b2a9735a1d On Mon, Feb 13, 2012 at 10:50 AM, Dirkjan Ochtman wrote: > On Mon, Feb 13, 2012 at 10:33, Corentin Chary 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 *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