From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 716AF385B833 for ; Fri, 3 Apr 2020 08:54:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 716AF385B833 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-327-grL_d_ZqMRmXPNAyKx-euQ-1; Fri, 03 Apr 2020 04:54:15 -0400 X-MC-Unique: grL_d_ZqMRmXPNAyKx-euQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DB095800D53; Fri, 3 Apr 2020 08:54:12 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-113-52.ams2.redhat.com [10.36.113.52]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 38229118F20; Fri, 3 Apr 2020 08:54:12 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 0338s9DC010882; Fri, 3 Apr 2020 10:54:10 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 0338s6YN010881; Fri, 3 Apr 2020 10:54:06 +0200 Date: Fri, 3 Apr 2020 10:54:06 +0200 From: Jakub Jelinek To: Martin =?utf-8?B?TGnFoWth?= Cc: Georg-Johann Lay , gcc@gcc.gnu.org, overseers@sourceware.org, "Frank Ch. Eigler" Subject: Re: subversion status on gcc.gnu.org Message-ID: <20200403085406.GX2212@tucnak> Reply-To: Jakub Jelinek References: <20200320173740.GA117263@elastic.org> <20200402122615.GT2212@tucnak> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, score=-14.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, 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 08:54:19 -0000 On Fri, Apr 03, 2020 at 10:38:17AM +0200, Martin Li=C5=A1ka wrote: > > The gcc git svn-rev alias handles that (and also handles release and ot= her > > branches) using approx. > > git log --all --grep=3D"From-SVN: r$rev\b" | head -n 1 | awk '{print $2= }' > > where $rev is 2000 in your case. > >=20 > > =09Jakub > >=20 >=20 > Btw. what about statically generated database (files) which can be used f= or redirection? > I'm sending an example and I have a script that can generate any file con= tent. That can work too, but do we want a directory with 280156 files? One way i= s 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 = ). Or it can be a database query. =09Jakub