From owner-freebsd-ruby@FreeBSD.ORG Tue Jan 12 08:13:56 2010 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3BCB1065676; Tue, 12 Jan 2010 08:13:56 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0E08FC20; Tue, 12 Jan 2010 08:13:56 +0000 (UTC) Received: from sputnik.SpringDaemons.com (c-71-198-20-159.hsd1.ca.comcast.net [71.198.20.159]) by mx0.deglitch.com (Postfix) with ESMTPA id D9E4A8FC4E; Tue, 12 Jan 2010 11:13:53 +0300 (MSK) Received: from sputnik.SpringDaemons.com (localhost [127.0.0.1]) by sputnik.SpringDaemons.com (Postfix) with SMTP id CBC0FB86F; Tue, 12 Jan 2010 00:18:37 -0800 (PST) Date: Tue, 12 Jan 2010 00:18:37 -0800 From: Stanislav Sedov To: "Philip M. Gollucci" Message-Id: <20100112001837.0774a6ed.stas@FreeBSD.org> In-Reply-To: <4B4C2B8F.4060706@p6m7g8.com> References: <4B4C240E.4060205@ridecharge.com> <20100111235210.434e6e86.stas@FreeBSD.org> <4B4C2B8F.4060706@p6m7g8.com> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Philip M. Gollucci" , ruby@freebsd.org Subject: Re: RF vs GITHUB and ports trouble X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 08:13:56 -0000 On Tue, 12 Jan 2010 07:58:07 +0000 "Philip M. Gollucci" mentioned: > Stanislav Sedov wrote: > > You can hardly do something with this. If the > > upstream projects doesn't make releases, you > > as a maintainer need to figure out what are > > the right branch points are (when the project > > is most stable), make snapshot of the tree > > and upload it somewhere, where the port can > > find it. > So lets say I'm a project on git hub and I do -- > $ git tag v2.3.6 > > but I never generate an actual .gem or .tgz or whatever package. > You think I should make 36 of them myself, and host them on a mirrored > network somewhere? I highly doubt most non committers are up to that task. > > Rather, we should figure out how to 'checkout/download' that tag/branch > and assemble it into [a in this case .gem] package so the existing ports > framework can use it. > This was discussed several times already[1]. While certainly valuable, it is impossible to do due to several reasons. The main ones: 1) Inability to check checksums of files downloaded. Are you going to calculate the hash from the each file in the repo? 2) Inability to save distfiles. This also means that there will be no mirrors. 3) These ports will be much more vulnerable to failures due to breakages/changes in the repo, etc. This problem will be also amplified by the lack of FreeBSD mirrors due to 2). I don't think it poses a problem for the maintainer to create the snapshot from a github repo, as it can be done automatically by a simple script. If he has no space to host the file, he can also ask to put it onto FreeBSD servers in PR he submits. We had this practice for a long time. As the additional benefit this will also guarantee, that the maintainer performed at least minimum visual check of changes, and this was not a blind version bump as always happens. [1]: check the "[PROPOSAL] Ports using SCM repositories as source instead of distfiles" thread on ports@ for example. -- Stanislav Sedov ST4096-RIPE