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 E89B0385B833 for ; Fri, 3 Apr 2020 09:23:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E89B0385B833 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 5F788AD89; Fri, 3 Apr 2020 09:23:01 +0000 (UTC) Subject: Re: subversion status on gcc.gnu.org To: Jakub Jelinek Cc: Georg-Johann Lay , gcc@gcc.gnu.org, overseers@sourceware.org, "Frank Ch. Eigler" References: <20200320173740.GA117263@elastic.org> <20200402122615.GT2212@tucnak> <20200403085406.GX2212@tucnak> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: Date: Fri, 3 Apr 2020 11:23:00 +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: <20200403085406.GX2212@tucnak> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, 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: Fri, 03 Apr 2020 09:23:04 -0000 On 4/3/20 10:54 AM, Jakub Jelinek wrote: > On Fri, Apr 03, 2020 at 10:38:17AM +0200, Martin Liška wrote: >>> 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. >>> >>> Jakub >>> >> >> 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. > > That can work too, but do we want a directory with 280156 files? It's not ideal :) Maybe a modern linux filesystem will not suffer so much? Oversees people can tell what they want. > One way is > to split the number into halves and have files like whatever/280/151 (and > deal specially with the revisions < 1000 where it would use whatever/0/123 ). That would be possible. > Or it can be a database query. I can imagine a simple sqlite file that can be queried. Basically all is possible. Martin > > Jakub >