From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 8B4DB385DC02 for ; Sat, 4 Apr 2020 06:38:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8B4DB385DC02 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id ED7EEACB5; Sat, 4 Apr 2020 06:38:49 +0000 (UTC) Subject: Re: subversion status on gcc.gnu.org To: "Frank Ch. Eigler" , Overseers mailing list Cc: Jakub Jelinek , Georg-Johann Lay , gcc@gcc.gnu.org References: <20200320173740.GA117263@elastic.org> <20200402122615.GT2212@tucnak> <20200403201900.GD31864@redhat.com> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <81d96f7f-9811-17fb-6158-13c5a5e538e8@suse.cz> Date: Sat, 4 Apr 2020 08:38:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200403201900.GD31864@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: overseers@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Overseers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2020 06:38:53 -0000 On 4/3/20 10:19 PM, Frank Ch. Eigler wrote: > Hi - > >>>> https://gcc.gnu.org/r2000 >>>> maps to a search and you get thousands of hits for SVN: r2000** >>> >>> The gcc git svn-rev alias handles that (and also handles release and other >>> branches) using approx. >>> git log --all --grep="From-SVN: r$rev\b" | head -n 1 | awk '{print $2}' >>> where $rev is 2000 in your case. > > I'll look into fixing the forwarding regexp. > >> Btw. what about statically generated database (files) which can be >> used for redirection? I'm sending an example and I have a script >> that can generate any file content. > > I don't think we will require something that elaborate. Well, I still believe we want to use the map file. Reason is that the gitweb redirection can't deal with SVN revision that don't belong to trunk. Thanks, Martin > > - FChE >