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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5BF115817D for ; Sun, 16 Jun 2024 14:27:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04F2CE2B3A; Sun, 16 Jun 2024 14:27:02 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1D1CE2B21 for ; Sun, 16 Jun 2024 14:27:01 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1sIqqR-0008uH-Nb for gentoo-user@lists.gentoo.org; Sun, 16 Jun 2024 16:26:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nuno Silva Subject: [gentoo-user] Re: Difficulty with updating /etc/basb/bashrc Date: Sun, 16 Jun 2024 15:26:53 +0100 Message-ID: References: <20240614182211.5f93fe57@coreI5.home> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Archives-Salt: 22baaf21-efea-4586-814d-1e09bf657cf9 X-Archives-Hash: 203ef7250f430d697d8a41444394c2a3 On 2024-06-14, Alan Mackenzie wrote: > Hello, Netfab. > > On Fri, Jun 14, 2024 at 18:22:11 +0200, netfab wrote: >> Le 14/06/24 à 17:53, Alan Mackenzie a tapoté : >> > Right now, I have a problem. Is there any convenient way I can get >> > the older standard file contents back again, so as to be able to do >> > this 3-way diff? > >> The old bashrc file installed by previous versions of the ebuild : > >> https://github.com/gentoo/gentoo/blob/master/app-shells/bash/files/bashrc > >> The new bashrc file : > >> https://github.com/gentoo/gentoo/blob/master/app-shells/bash/files/bashrc-r1 > > I don't have access to these files, unfortunately. Github has blocked > them behind a script. I certainly amn't about to let a Microsoft script > run in my browser. That is just too high a cost to pay. > > Are these files freely available, anywhere, perhaps? In this case it's definitely better to use Gentoo's gitweb instead of the GitHub mirror, but, for reference, currently with GitHub you can replace "/blob/" with "/raw/" in the address to get redirected to the raw address (which has more different parts, but just doing this replacement will get you there). (Also: For commit diff URLs in GitHub, appending .diff will get you the plain diff.) (But gitweb is quite better than GitHub, especially now that GitHub requires javascript (and also some newer features, so just enabling javascript isn't enough, you need one of a small number of browsers). GitHub used to be quite usable to browse repositories and investigate code, navigating around different commits in the history, and checking "blame" annotations and so on, but now it's not useful to me even for just that...) -- Nuno Silva