From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wSjANUloGmdVMhkAWB0awg (envelope-from ) for ; Thu, 24 Oct 2024 11:31:21 -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=afZX53Wn; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CC1EA1E39B; Thu, 24 Oct 2024 11:31:21 -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 CAEE31E37A for ; Thu, 24 Oct 2024 11:31:20 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 336C93858C41 for ; Thu, 24 Oct 2024 15:31:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 336C93858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1729783880; bh=rn8a13n3Xa86Ipcz0IQQUU5lHenT4u4KsIPulMHHWKA=; h=Subject:To:Cc:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=afZX53WnXWunZMneRYdtVWfUzYzkRflUCiGtaAlFyaylAqUqswmqJHZbu2Y33HoL8 P+v9ncC1T8Bmb8biZabaoln2VR40M+G7cOIh34nHGQdVsi4PWguVdCXBMTaIqtY9+f jed3mkzSBKQaToOJ5pVE2QpeAZMVYilmJVmhKYmA= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 416503858D3C for ; Thu, 24 Oct 2024 15:29:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 416503858D3C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 416503858D3C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729783777; cv=none; b=Sosk/FlF4WVkkMJ3ZX2I7745855T+VH4udoGLST7WItnNL6KXrLCcJgYBW58PGrloAtAEVE18/LRnGgff5R91BW9uW6TyF5na94hHO9JoQnski24zyKswOorjSYhEDn1mAyPGkXGg14DzfgTfDxYsyocHA0u3zfU0+TESgHEUkQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729783777; c=relaxed/simple; bh=+ICgBtE1aLA1R/9BE6cuRDpbDod3KfjQtZ/g82zO8X4=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=EGAEELSeOx/kFJp7PJMQP/MmjJODfNH8DynX58cukN0sbGT6U2QKvs9LdkQW0fhutJDq5EF/AK+7tcxylV9a+428s8TLpbdlvIV/il4BtQES7jVkNHX5f/EHmYYkRqAk9AGNBmHeiJMhKNo30SLDOcRFGye1HlKNDViNh/QUxl0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mail-oa1-f72.google.com (mail-oa1-f72.google.com [209.85.160.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-140-F_9d2eBIMDCY6Ft_TeCVnA-1; Thu, 24 Oct 2024 11:29:33 -0400 X-MC-Unique: F_9d2eBIMDCY6Ft_TeCVnA-1 Received: by mail-oa1-f72.google.com with SMTP id 586e51a60fabf-288485b2358so1137325fac.3 for ; Thu, 24 Oct 2024 08:29:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729783769; x=1730388569; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rn8a13n3Xa86Ipcz0IQQUU5lHenT4u4KsIPulMHHWKA=; b=S0mAB7h6dJfMrHTueko0aU7Rykgx3VlHXGEAXetOji0mPV7zSZWC/b/1OZ9ZktkiKZ jqT/V5RiXSYYvDdaL3Ss386BPTEP3VVtw4IJp3mjIURyz1GW1+29tC0kMIw2PLVLGXxb Dx85p8cHQGsyPJ/rvWB6/zJtxTZ8KXtbl1ewwAxnrMeyy7MlxJ8obViDuJJ/QKLD4Tnk oZVK3sPpRIC1Dt8WvGsxMGtFlgGq9Tlnw9UUl6y94BCIoUkgLN0qLqnlJY9vKXLmQSBa zxF6xu2/Uja3D/xyNWjMpR58xoY59pH7Iioyda9jq7vr/Oi4QtezuBOyFnrFhL+C6Z+P s1Vw== X-Forwarded-Encrypted: i=1; AJvYcCXQPLdjYgEEKsunA8BHSdM3R9PrAauVOCnCxF9Cl4h7uv/SGySPqYqL4rF1MydzOlYS8iM=@sourceware.org X-Gm-Message-State: AOJu0Yxeb7xtp58x12X6vrp8612VGdZ+BXh8lwN+aaCMLR0kpT1v/R56 gEg7QENhYsuvm0pfRGKKHfX1BOennBOZ+iSQdWMgctppjITx6WHt+q2i1EZU6EsQWj4DguEqGn9 FK9k21Eh8L9WZw5j912qbRJuAEysJB2SkbJhSl66VEzgZqF0Q X-Received: by 2002:a05:6870:b521:b0:277:cc56:2300 with SMTP id 586e51a60fabf-28ccb4b6aa2mr6806664fac.12.1729783769628; Thu, 24 Oct 2024 08:29:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6ZnpPglLjYGhVkYDvsZK/cDvIrMqYtZFUz/buPcqNPyi/2BJEZ+LAOiJJMyNgNzdrwmw+XQ== X-Received: by 2002:a05:6870:b521:b0:277:cc56:2300 with SMTP id 586e51a60fabf-28ccb4b6aa2mr6806587fac.12.1729783768215; Thu, 24 Oct 2024 08:29:28 -0700 (PDT) Received: from t14s.localdomain (c-76-28-97-5.hsd1.ma.comcast.net. [76.28.97.5]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b165a710b4sm495765085a.104.2024.10.24.08.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 08:29:27 -0700 (PDT) Message-ID: <66e3991c177fac91ca64fce1b035171156a73e79.camel@redhat.com> Subject: Automatic URLs in forgejo? (was Re: Sourceware forge experiment) To: Mark Wielaard , binutils@sourceware.org, gcc@gcc.gnu.org, gdb@sourceware.org, newlib@sourceware.org, libc-alpha@sourceware.org Cc: forge@sourceware.org Date: Thu, 24 Oct 2024 11:29:25 -0400 In-Reply-To: <20241021012256.GE20500@gnu.wildebeest.org> References: <20241021012256.GE20500@gnu.wildebeest.org> User-Agent: Evolution 3.52.4 (3.52.4-1.fc40) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: David Malcolm via Gdb Reply-To: David Malcolm Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" 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 >=20 > 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). >=20 > 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.) >=20 > The full setup can be found in this git repository: > https://sourceware.org/cgit/forge/ >=20 > 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. >=20 > 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. >=20 > 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?=20 GCC has its own short notation for referring to commits, see e.g.=20 https://forge.sourceware.org/gcc/gcc-mirror/commit/83abdb041426b7490e93c3f7= 7be93148bcd94de3 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/65c5bbe1c92f9c08e99d3a37= c136f2ef9804a37f it would be nice if the "PR114423" in the subject line and the=20 "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=3D114423 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