From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E39972 for ; Sun, 25 Apr 2021 10:58:45 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 1C9F761154 for ; Sun, 25 Apr 2021 10:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619348324; bh=SJ5/ttvfc44VlGSYbk7OJfuBTSoqmsy/ergWseoZybI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=cYq3B8iG266OPyoquGduBepC8GD5/7EeQaHbUECkkQUI72nTxpF3xffoJp8w+auck T4azNrw39dk0r4nIXF26x1HgY22K2B23oitl55vCRxoEMjN0hui8hKjSi+QJrpJDzQ JMxffKgFXBrJ3jx460+Qo0w3wTVVln3GSayG3zh/QmWuOYgFk+jBDChXpMg0mn06/d rFkCVVhf4SZOYz+yxTBrZdyGL51pLM6N82D8KcY7rZhMqrsylPT56S8DYsT/ilS7y3 Mqjs2IlQEEhEPCM8kA+f77gPvg/qfmO/SiawxRtV+YI2UnPyMRqDz1pY19lguVRrE9 vXdJChRfQ3OoQ== Date: Sun, 25 Apr 2021 13:58:40 +0300 From: Leon Romanovsky To: tools@linux.kernel.org Subject: Re: backfilling threads with b4 (was: Re: [MAINTAINER SUMMIT] Rethinking the acceptance policy for "trivial" patches) Message-ID: References: <20210422112001.22c64fe9@coco.lan> <20210422125357.uuxprp6rqxewcdsr@nitro.local> <20210422180540.hj6xs75sqlmnegs6@nitro.local> X-Mailing-List: tools@linux.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210422180540.hj6xs75sqlmnegs6@nitro.local> On Thu, Apr 22, 2021 at 02:05:40PM -0400, Konstantin Ryabitsev wrote: > On Thu, Apr 22, 2021 at 08:56:45PM +0300, Leon Romanovsky wrote: > > > macro index 4 "~/work/git/korg/b4/b4.sh mbox -f -o ~/Mail" > > > > > > You'll need to adjust it to point at where your maildir lives, of course, but > > > that's the general idea. With it in place, you can hit "4" in the index view > > > to get the rest of the thread (without duplicating the messages you already > > > have). > > > > Konstantin, > > > > I tried the above and here the obstacles which I encounter. > > This is probably better suited for tools@linux.kernel.org (cc'ing > accordingly). > > > 1. My emails are stored in Maildir. The mb2md script half-worked but ok > > for the test. > > 2. b4 didn't work if I tried to use lore link from the middle of discussion, > > which is very common pattern to me. > > 3. b4 didn't grab the discussions, so I got the patches, but didn't get and > > won't get any interesting to me responses. > > Are you sure you copied the command correctly? > > 1. It should automatically recognize when it's pointed at a maildir, so no > mb2md should be necessary. Are you sure you changed "-o ~/Mail" to be > pointing at your maildir? > 2. It's supposed to grab the message-id from the piped message, so you > shouldn't need to pass any lore links. > 3. Are you sure you're using "b4 mbox" not "b4 am"? The mbox command just > returns the entire thread. Thanks Konstantin, I tried the suggestion and it worked. The b4 downloaded whole thread with all comments. Thanks