From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31273 invoked from network); 17 Oct 2022 11:50:42 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 17 Oct 2022 11:50:42 -0000 Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id bc15b7fb; Mon, 17 Oct 2022 11:50:20 +0000 (UTC) Return-Path: Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lists.zx2c4.com (OpenSMTPD) with ESMTP id 71efd73c for ; Mon, 17 Oct 2022 11:50:19 +0000 (UTC) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29H8qTvw019042; Mon, 17 Oct 2022 11:50:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=corp-2022-7-12; bh=K33pgx29uHbBeHZjL9ISo9XMzRZgiYm17NqpM6QnxHo=; b=O3IxC4T7Zcfov/Sbm2yn121LGZ6Cx0ucpRKHdkO9o8U8Cl7B30WlP/JMxjloF17J1NDI WuK7Ud5pBI9grm37l8Ou8Cq93ck+ZgQh+Nqg91SBBsy4n/ovi6h7+K6tjTtQ0Pr/e8Bl iHDSHurw/fZ3gMRWWLeBXKmeFGsbepLwcFyv1bGCl2izUE1br9na7SJJXmGi73CObEB/ RfAmLKb9IqLn+cfAbL+TS/MYjUDlh5KbQ/KGBRKDM30wV34Mqa2Fn3mu+CPAFtuu9bYa Csg1Mc52TNb+MdKIeuHLZhEwArTA3GbBeaUx0e6bd5VeRHJuzAzrwSV/zWfkCyVFOlNV jg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3k7mtyud72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Oct 2022 11:50:17 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 29H8t6WV027698; Mon, 17 Oct 2022 11:50:16 GMT Received: from t460.home (dhcp-10-175-3-136.vpn.oracle.com [10.175.3.136]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3k8hqx7k5g-1; Mon, 17 Oct 2022 11:50:16 +0000 From: Vegard Nossum To: cgit@lists.zx2c4.com Cc: konstantin@linuxfoundation.org Subject: git notes for the Linux kernel Date: Mon, 17 Oct 2022 13:50:04 +0200 Message-Id: <20221017115010.21977-1-vegard.nossum@oracle.com> X-Mailer: git-send-email 2.35.1.46.g38062e73e0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-17_09,2022-10-17_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210170068 X-Proofpoint-ORIG-GUID: Y573aEY28Vx5-JyV4mrhX5RKQOdp0GlM X-Proofpoint-GUID: Y573aEY28Vx5-JyV4mrhX5RKQOdp0GlM X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" Hi cgit maintainers, I've improved the support for git notes in cgit, including the ability to load notes from a separate repository than the one you are viewing. My use case is using a separate repository of git notes for the Linux kernel to annotate commits with extra cross-referencing information such as e.g.: - lore links to patch submissions matching the patch, - references to subsequent fixes (if the current commit is buggy) - mitre links to CVEs - references to backports in stable/LTS My hope is that these notes can eventually be displayed on git.kernel.org -- at least, we've found the notes invaluable and a huge time saver in different types of kernel work. (I'm still in the process of working out how to release these notes and/or the scripts generating them, but that's a different topic.) I tried to submit the git.git patches upstream, but they were rejected by the maintainer for not being general enough: https://lore.kernel.org/git/20220802075401.2393-1-vegard.nossum@oracle.com/ I will unfortunately not be able to implement the git maintainer's suggestion, so I'll just offer up my git and cgit patches here, in case cgit would still like this functionality; it would mean having to maintain and carry the extra 2 git.git patches. I would be happy to continue forward-porting those patches, however, as this is something I will need to do for our internal use anyway. Here is a screenshot of cgit with Linux kernel notes in action: https://vegard.github.io/cgit/6399f1fae4ec.png cgit patches will follow in replies to this email -- the two prerequisite git.git patches are available at the git mailing list link above and should apply cleanly to v2.38.0. Thanks, Vegard