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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B0B91581F0 for ; Thu, 12 Dec 2024 04:56:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7743AE0D38; Thu, 12 Dec 2024 04:56:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE9C3E0C21 for ; Thu, 12 Dec 2024 04:56:02 +0000 (UTC) From: Sam James To: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New tool for updating Bug summaries after package moves: bugsed In-Reply-To: <92d7c9ee507b349771f5efe67231a2fc3a3dff58.camel@gentoo.org> (=?utf-8?Q?=22Micha=C5=82_G=C3=B3rny=22's?= message of "Wed, 11 Dec 2024 15:08:25 +0100") Organization: Gentoo References: <92d7c9ee507b349771f5efe67231a2fc3a3dff58.camel@gentoo.org> User-Agent: mu4e 1.12.7; emacs 31.0.50 Date: Thu, 12 Dec 2024 04:55:59 +0000 Message-ID: <87r06dcxeo.fsf@gentoo.org> 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8d73ec2c-c053-418e-b30a-3f0cdc563512 X-Archives-Hash: 9bc4fa55ef22ff028b9541128301e9dc Micha=C5=82 G=C3=B3rny writes: > Hi, > > I've made a quick tool that can perform search-and-replacement > on Bugzilla bugs, so if you move a package, you can quickly update > hundreds of bugs filed against it. Nice! > > https://github.com/projg2/bugsed > > Note that it just does dumb text replacement with substring match, so it > can be greedy. By default, it just does a dry-run, `-u` to update. > > You may also want to try pkgmove from mgorny-dev-scripts, which is also > dumb as hell, greedy on seding stuff and requires you to rename ebuilds > inside the package directory first. Could you run it over historical updates (at least from the last year)? I can do it if you give me whatever recipe you used as well (or if not, can get to it later again when bored).