From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mailgw3.netvision.net.il ([194.90.1.11]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15QkkV-0001Ge-00 for gentoo-dev@cvs.gentoo.org; Sun, 29 Jul 2001 01:12:27 -0600 Received: from localhost (ras2-p6.rlz.netvision.net.il [62.0.84.134]) by mailgw3.netvision.net.il (8.9.3/8.9.3) with SMTP id KAA09472 for ; Sun, 29 Jul 2001 10:10:40 +0300 (IDT) Content-Type: text/plain; charset="iso-8859-1" From: Dan Armak To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] Problem: HOWTOs archive versions X-Mailer: KMail [version 1.2] References: <01072820141302.04135@localhost> <01072820355404.04135@localhost> <20010728173811.B21210@cvs.gentoo.org> In-Reply-To: <20010728173811.B21210@cvs.gentoo.org> Organization: Gentoo Technologies, Inc. MIME-Version: 1.0 Message-Id: <0107291013030A.04135@localhost> Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sun Jul 29 01:13:01 2001 X-Original-Date: Sun, 29 Jul 2001 10:13:03 +0300 X-Archives-Salt: 5bd7021f-794b-41f7-874f-a1ef3d5ce8af X-Archives-Hash: b6fc271a59263cabcff540524ec78c68 On Sunday 29 July 2001 02:38, you wrote: > On Sat, Jul 28, 2001 at 08:35:54PM +0300, Dan Armak wrote: > > > Best solution for right now is to create our own version of the archive > > > with a timestamp, and write the linuxdoc people to create these > > > archives with a timestamp (20010728, for example) as the version > > > number: > > > > > > linux-howto-20010728.tar.gz > > > > OK, but I forgot to introduce the more important question: what about > > checksums (i.e. message digests)? Should we check for & create a new > > ebuild for a new timestamp every week or so, or should we override > > checksums? And how do you override them? > > Nothing special needs to be done with the message digests. We just upload > the file to our ibiblio mirror. > I've been talking with a man from the LDP. Apparently these archives are updated at least every few days, and potentially whenever any individual howto is updated. So, we can either override checksums - that is, tell portage no checksums are needed, as long as the archives exctracts correctly. Or, we can generate the correct checksum on-the-fly from within the ebuild and have portage reference that. Finally, we might have a program on the gentoo server that would check for new versions every day and update the checksums, but it's making too big a deal of it. As for versioning: I believe (I'm still waiting for the LDP guy's confirmation) that an index file inside the archive is always autogenerated when the archive is autogenerated. We can use its mtime data to add a timestamp as an ebuild version. Is there a problem with setting/overriding PV from within an ebuild? -- Dan Armak Gentoo Linux Developer Matan, Israel