From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 937A0158089 for ; Mon, 4 Sep 2023 01:24:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCCD42BC01B; Mon, 4 Sep 2023 01:24:13 +0000 (UTC) Received: from icp-osb-irony-out8.external.iinet.net.au (icp-osb-irony-out8.external.iinet.net.au [203.59.1.225]) by pigeon.gentoo.org (Postfix) with ESMTP id AD0C42BC013 for ; Mon, 4 Sep 2023 01:24:12 +0000 (UTC) X-SMTP-MATCH: 0 X-IPAS-Result: =?us-ascii?q?A2DHGAC5MPVk//1869xaHgEBCxIMQAmEc4FchFGQFAEBA?= =?us-ascii?q?QEBAQaBEy0Di22SI4FqDwEBAQEBAQEBAQk0EAQBAYUGAoZuJjgTAQIEAQEBA?= =?us-ascii?q?QMCAwEBAQEBAQMBAQEFAQEBAQEBBgMBgR2FLwwIJQ2GBQEBAQMjDwEFUQsYA?= =?us-ascii?q?gImAgJXEwYCAQF4ggIBgl4UphKBMYEygQG1CQaBFy2FXoIqAYl/Qn2BEIE8D?= =?us-ascii?q?AOCdT6CYgQYgQcKAQsHAQeDdYJnBIlKgWSDXQcyhV4qiRkqgQgIXoFqPQINV?= =?us-ascii?q?AsLXYEVgkcCAhEnEhQFQnEbAwcDgQIQKwcEMhsHBgkXGBUlBlECAi0kCRMSP?= =?us-ascii?q?gSBaYFTCoECPxEOEYJGKzY2GUuCZgkVDDROdhArBBQYgRUEah8VHjcREhkNA?= =?us-ascii?q?wh2HQIRIzwDBQMENgoVDQshBRRDA0gGTAsDAhwFAwMEgTYFDx8CEBoGDioED?= =?us-ascii?q?gMZKx1AAgELbT01CQ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Phzfcy79lCihJpPmUcYdQ2bUwWzLGWS?= =?us-ascii?q?lA0pGYoS3Rnm+0qwxxg=3D=3D?= X-Talos-MUID: 9a23:/D9l8gUVcRRMnXHq/G7KnxtOP8d52LW/LRwRo8oAqdGOGzMlbg== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.02,225,1688400000"; d="scan'208";a="475153477" Received: from 220-235-124-253.dyn.iinet.net.au (HELO mail.infra.localdomain) ([220.235.124.253]) by icp-osb-irony-out8.iinet.net.au with ESMTP; 04 Sep 2023 09:24:07 +0800 Received: from localhost (mail.infra.localdomain [127.0.0.1]) by mail.infra.localdomain (Postfix) with ESMTP id 14547CA706178 for ; Mon, 4 Sep 2023 09:24:06 +0800 (AWST) X-Virus-Scanned: amavisd-new at localdomain Received: from mail.infra.localdomain ([127.0.0.1]) by localhost (mail.infra.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RpgxyLHbELG9 for ; Mon, 4 Sep 2023 09:23:59 +0800 (AWST) Message-ID: Date: Mon, 4 Sep 2023 09:23:58 +0800 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [gentoo-user] attic Content-Language: en-AU To: gentoo-user@lists.gentoo.org References: <855fdf8c-71b0-a245-7f13-4be637cb62be@iinet.net.au> <2698225.mvXUDI8C0e@rogueboard> From: William Kenworthy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 3ee85989-680e-4826-9e42-540c46331816 X-Archives-Hash: bd1856ce1853f2cc97179b944a938ebe On 3/9/23 18:29, Rich Freeman wrote: > On Sun, Sep 3, 2023 at 4:44 AM Michael wrote: >> On Sunday, 3 September 2023 07:49:36 BST William Kenworthy wrote: >>> Hi , I used to be able to get old ebuilds from "the attic" but I cant >>> find it on google - is it still around? >> Perhaps have a look here at the archives? >> >> https://gitweb.gentoo.org/ > The archives will only contain data migrated from CVS - so only things > from more than a few years ago. > > You want to look into the main repo for anything recently deleted. > >>> * gentoo has moved dev-embedded/reedsolomon to dev-embedded/reedsolo >>> (then removing the old ebuilds) breaking my homeassistant install >>> easiest fix is a local copy until HA catches up. > Both CVS and git maintain a record of anything that has been deleted, > but they do it differently. The attic directory in CVS contains > anything deleted from CVS. In git you need to search the commit > history for these files. > > This can be done via the website, though the search capability is a > little limited. I ended up having to search from a local clone > because your package name contains an error and the web search found > nothing. > > To find your file, go to: > https://gitweb.gentoo.org/repo/gentoo.git/ > Go to the search box in the top right and search for: > dev-python/reedsolomon (note that the package category is > different from what was in your email) > Find the commit one commit before the one that removed your package. > (ie one that contains your package in its most recent version) If you > find the one that deleted your file, then just look at the parent in > the commit header and click on that to go back one version where it is > still present. > Click the tree hash to browse the historical version of the repository > that existed before your file was deleted. > For example, you can find v1.6.1 of that package at: > https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/reedsolomon/reedsolomon-1.6.1.ebuild?id=149a131188ebce76a87fd8363fb212f5f1620a02 > > > If the search function is too limiting on the website, here is how to > do it from a local checkout. This is what I ended up doing since you > had the wrong package name. > > Note that the first step here requires a few minutes and a few GB of > space. My search example is also a bit broader than it would have to > be, but you got the package category wrong and searching for > "dev-embedded/reedsolomon" turned up nothing. > > git clone https://anongit.gentoo.org/git/repo/gentoo.git > cd gentoo > git log --all --full-history --raw --no-merges -- "**/reedsolomon/*" > > Then browse through the history for the file you're interested in. > Suppose you want reedsolomon-1.6.1.ebuild. > Easiest way to do that is to find a commit just before it was deleted, > so just search the log for that filename. Ignore the first commit > where it comes up, which is where the file was deleted (if you examine > that commit the file will be missing, since it was deleted). Go to > the next one. > So reedsolomon-1.6.1.ebuild was deleted in commit > beedaf82bd7abd72a654e26627774aef38590149. The next commit in the log > search is 149a131188ebce76a87fd8363fb212f5f1620a02, > > git checkout 149a131188ebce76a87fd8363fb212f5f1620a02 > cd dev-python/reedsolomon > cat reedsolomon-1.6.1.ebuild > > You can also see this on the web interface at: > https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/reedsolomon/reedsolomon-1.6.1.ebuild?id=149a131188ebce76a87fd8363fb212f5f1620a02 > > The web git interface is capable of displaying past commits. It just > can't search for wildcards/etc. > Thanks Rich, unfortunately the web interface isn't helpful - I cant just navigate the tree to find commits - "https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/reedsolomon/" gives path not found - it looks like you have to know the commit first by downloading the git tree to search it - not friendly at all! the wrong package category was due to trying to wrangle a few ebuilds with the same problem which I confused in the email.  I have now found the last of them in an overlay with the distfiles (a similar problem)! This was all self caused - I had years of portage backups (started last time I had a major problem with finding ancient ebuilds) I lost when simplifying/re configuring my systems :( BillK