From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id O71dHFRqGmcsNBkAWB0awg (envelope-from ) for ; Thu, 24 Oct 2024 11:40:04 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=lkgZaBC/; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 489C61E39B; Thu, 24 Oct 2024 11:40:04 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 958DF1E37A for ; Thu, 24 Oct 2024 11:40:03 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 394693858D21 for ; Thu, 24 Oct 2024 15:40:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 394693858D21 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1729784403; bh=/Il213kkvroqdxomMBHeVLSsOJr27wAQxSU9vjPvmlY=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=lkgZaBC/eBs/CLaIlXqxpGe6m2l/eZbMGYaIECVatd6f6xsgjBYCqoJR9br57HtUa CtHCOz3K38aL0aW0MOMN2ygIqk1OOLOyUSBpLB+ul7KC8KTirt/W4ESCrNVfL5zRoU dS9zCpDe4u185Cn15l+3Y3Jr8rO7Sr2v1GWcjnOE= Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id A0F423858D28; Thu, 24 Oct 2024 15:36:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0F423858D28 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0F423858D28 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729784180; cv=none; b=JNMXvzB//dJr1oxIP1cyXmOBpzKr2CIs7b7XszZ+qrCNAmrQd8pX29ussSrX2SE8fcbS2NJiIrddZ+nsaOGxAVxZ8ykoGs39zG3pJQJ3pDn1nG9y4fquh4o1kfKp0h007E/LnD8y7kbQJS+V4v/vgF1XHg20XuocfrNwdfNkGDI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729784180; c=relaxed/simple; bh=Nxa3u4yaK2TBFgVdYcTaYqivNRXk4lUA+/ia771D/zA=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=ZfKhxS4ty9/WnAKPSEkx270rTKfs1/4wfmWNtmeYFZW2uJhC0FDWMC0lCOVvsnKY8zbB6KZ8E3wqLIItee1e0o6p7zLW51pfDoaIPXxEWVmVmX/ChXrDqk84U99guIoQaQvxXZGlTCSD/sLcb1sCoFhLOiXeolDX6RCB/P1fAUA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 09CFA339; Thu, 24 Oct 2024 08:36:40 -0700 (PDT) Received: from [10.2.78.71] (e120077-lin.cambridge.arm.com [10.2.78.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F2F343F528; Thu, 24 Oct 2024 08:36:08 -0700 (PDT) Message-ID: <998c2aaa-99d0-421b-9c94-ee727856f432@arm.com> Date: Thu, 24 Oct 2024 16:36:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Automatic URLs in forgejo? (was Re: Sourceware forge experiment) To: David Malcolm , Mark Wielaard , binutils@sourceware.org, gcc@gcc.gnu.org, gdb@sourceware.org, newlib@sourceware.org, libc-alpha@sourceware.org Cc: forge@sourceware.org References: <20241021012256.GE20500@gnu.wildebeest.org> <66e3991c177fac91ca64fce1b035171156a73e79.camel@redhat.com> Content-Language: en-GB In-Reply-To: <66e3991c177fac91ca64fce1b035171156a73e79.camel@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Richard Earnshaw \(lists\) via Gdb" Reply-To: "Richard Earnshaw \(lists\)" Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 24/10/2024 16:29, David Malcolm wrote: > On Mon, 2024-10-21 at 03:22 +0200, Mark Wielaard wrote: >> As an experiment Sourceware is now running an forgejo v9 instance at >> https://forge.sourceware.org >> >> Everybody with an @sourceware.org, @cygwin.com or @gcc.gnu.org >> address >> can register an account (please use the same user name as your >> account >> name). >> >> The setup has disabled most "extras" (no badges, stars, issues, >> wikis, >> packages, timetracking, milestones, etc.). And users can only fork >> existing repos (it has mirrors of various sourceware projects). Some >> things haven't been setup yet (external trackers/bugzilla, incoming >> email, ci, etc.) >> >> The full setup can be found in this git repository: >> https://sourceware.org/cgit/forge/ >> >> For now it is only open for existing maintainers/developers for >> experimentating with a pull-request model. We can add others as long >> as they understand this is an experiment and does not mean projects >> are accepting patches through it. Contributions should still be sent >> through the mailinglists. >> >> There is also a new mailinglist for discussion about the setup and >> the >> best way to create a pull-request workflow. Please subscribe if you >> create an account and mention which project/organization you would >> like do some experiments for. We can then add you to that >> organization. >> >> https://sourceware.org/mailman/listinfo/forge > > Thanks for setting this up. > > How easy would it be to set up automatic URL generation in the web UI > from regexes on the text of commit subjects/message? > > GCC has its own short notation for referring to commits, see e.g. > > https://forge.sourceware.org/gcc/gcc-mirror/commit/83abdb041426b7490e93c3f77be93148bcd94de3 > where I wrote: > "I believe this hasn't been necessary since r15-1413-gd3878c85f331c7." > It would be nice if the "r15-1413-gd3878c85f331c7" were to get auto- > urlified in the web UI to > https://forge.sourceware.org/gcc/gcc-mirror/commit/d3878c85f331c7 > > Similarly, in GCC we use the notation PRnnnnnn or PR component/nnnnnn > to refer to "problem reports" in bugzilla. Looking at e.g. > https://forge.sourceware.org/gcc/gcc-mirror/commit/65c5bbe1c92f9c08e99d3a37c136f2ef9804a37f > it would be nice if the "PR114423" in the subject line and the > "PR preprocessor/114423" in the ChangeLog fragments in the commit log > got auto-urlified in the web UI to: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114423 > See the wiki page I added today for setting up bugzilla (gcc.gnu.org/wiki/ForgeExperiment). It only works for the / style due to limitations in the way forgejo uses the regex groups. > Other projects sharing the forgejo instance have other notations, > policies, and bug tracker instances, of course. > > FWIW I seem to recall seeing something like this working in the > instance that was recently demoed at Cauldron. > > Hope this is constructive; thanks again > Dave >