From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Gitlab Migration Date: Sat, 28 Aug 2021 07:05:49 +0200 Message-ID: References: <87h7fcnmq0.fsf@posteo.net> <87o89kw0hl.fsf@gnus.org> <0c369b25-aedd-1fdf-4813-503f27e42c7c@yandex.ru> <877dg73ejo.fsf@yahoo.com> <24fd6052-c889-5ad1-4536-cd2e1053b0eb@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6575"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Po Lu , Lars Ingebrigtsen , Daniel Fleischer , Philip Kaludercic , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 28 07:06:36 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJqY7-0001Ur-If for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Aug 2021 07:06:36 +0200 Original-Received: from localhost ([::1]:43362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJqY6-0001Wh-8I for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Aug 2021 01:06:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJqXV-0000rp-3e for emacs-devel@gnu.org; Sat, 28 Aug 2021 01:05:57 -0400 Original-Received: from mail-oln040092073070.outbound.protection.outlook.com ([40.92.73.70]:55533 helo=EUR04-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJqXS-00082z-En for emacs-devel@gnu.org; Sat, 28 Aug 2021 01:05:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3UV+rd16KP3mAy/OHcLHSxatB5/dgJhmJPrC8EHo6ZtNBNlGIUV5jbQ9dZZu8aMQq490KPGw2m6+Fh3aX+3btqQLlqVJ4PnBbFgOxeiqCYuoJdzMAODVRrrUQRZqSy7p47qknB4NFNqRo/WfBoan5+hTs3wEwLxE8F631FKBzA6uoJjAJmYp5NqgJx7u6715Fty9YmQ9BDvPOKvkqiDl4kNMw2vQjNRII8omEY+Um2qoyPQs2hND6wNqPHVGTwUtz6Xi5c4SDHaRv6BZP7m6xRo8Jht2iVWmXBk+PwwxtpzpjtpKwOwwm72TEq6Kg3HECzhZQYI04hZvuo+piuTLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8mZGfVoZ5UN+VGNLIx9HzPA+ESdOBF4UYbeJuJC6prM=; b=iwJPq4zjyS+uPW85lRcH+AsFP5FIhnEblqARhi3qyohudqhbmCcpe6+PRIoyQEa3ByRvemgj5XaZjrRlrZcQhHTI4+BNpMeJtv+o65+7c02PZSUY2t8dpG7p7HVaDboczABweD1zfINt0b/NsWzPma/LJxCrFsAWkYXrBlRhA9CdvRao0EgsmQ7Vzl3jKZ1kNiwKvYktFCbSTedBkEg83Md+6MF5VlNRsA9/LfvYQ3xnJmg2dMfWXmY6RNmzH1+n8nHLzOzOW9zdREgfvgOPB12jTkEkhPhHLM5HKD7c679b5BUAwQyfmYWhPWacqjVJEqLCobrnxOhEnUPVnJ72Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8mZGfVoZ5UN+VGNLIx9HzPA+ESdOBF4UYbeJuJC6prM=; b=Hib/86B4LKz7E+qodG0bnnXvfTUmg3NM98agKAHHwOCqWnxhTUdWFdndEUxn+zg6YOe5Uhxj/nhpFuXpS/1kDCD55oDsvvkoWvw/6k6Y3GpDKRR7+qTpD01/o3o0j3otGvBrkZRSr2kUDuYbRE/RwPTK0rTWEpYhardwBWascq9Z+vA0j5R+GGyOuOoc6XPtJqouYbcQ9oFcThdhOmb/E6papJqA8AdirG1Fy9lmpu4jCHIyP2++hD5xmCmyH3jLG5yDO665rpNhBZ56OF/jo7x5P/b/io7qDYKu+oC+S57JU4gvC6rDZAVkcGHwinOGE0oCYAq40a6KYJ3Pasib4w== Original-Received: from HE1EUR04FT045.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::4e) by HE1EUR04HT018.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17; Sat, 28 Aug 2021 05:05:50 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e0d::42) by HE1EUR04FT045.mail.protection.outlook.com (2a01:111:e400:7e0d::183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17 via Frontend Transport; Sat, 28 Aug 2021 05:05:50 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:1A3D053C4308B09BAFECBAD901E7DA01480648AF4FCEFBDFBED0E39A9900593C; UpperCasedChecksum:FE5FF22F766447F758304451C6503FA03C3DFCF9FEE28A1FFA538C9292C617E0; SizeAsReceived:7795; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::35f2:ac79:ee50:c46c]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::35f2:ac79:ee50:c46c%8]) with mapi id 15.20.4457.023; Sat, 28 Aug 2021 05:05:50 +0000 In-Reply-To: <24fd6052-c889-5ad1-4536-cd2e1053b0eb@yandex.ru> (Dmitry Gutov's message of "Fri, 27 Aug 2021 14:33:01 +0300") X-TMN: [iXAh5cCJVX6LH2LIKfz6enNbqmraA8kT] X-ClientProxiedBy: AS8PR04CA0061.eurprd04.prod.outlook.com (2603:10a6:20b:313::6) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87y28mkvki.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AS8PR04CA0061.eurprd04.prod.outlook.com (2603:10a6:20b:313::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.18 via Frontend Transport; Sat, 28 Aug 2021 05:05:50 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 79492335-2bd3-4df9-d850-08d969e180f6 X-MS-TrafficTypeDiagnostic: HE1EUR04HT018: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9GRvEA8eNiTreJqRwOwUJILFSl/M8eJFL/YXXo9/OusbxUNbaPID6ew0dAFD/J7VWxa+3f5B9/ed9X2cDsy92IdsErR8zRzWBDurkoRGq/6Z6x3mwx6A6hmfzvxLKPKA0RyZEmpiJDsdTEG9yo9Fsxv7mMcl5u35005L1AOciR4GycNaajkSfO3sAGhCYSsy7tbqSbfLsNKrWV92byNuzPaGVWGWDPVj2eEtzqPS+ABaK9oBiartvlqwTr/OOPdFSaMfhBdYUhYeBrvxIVTG9x6FX6WJZp5zmKKSNYwi/jsn+oVoQFwsZVZ3mtXvWoimeLXnTXL4XkB9oDh0i+HXvRBUpCorS9lL+18eqeVVn3xFWMjIYisiNhBGco9aJlkpePV5jsHTYRRIh8wkgmiT02Z4lMDsoKiBKYetydPmY6DHmvrtRKctoTEcgwJcxdjV X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YltAYdkjJA+ZMGVIaSGsBF+YHoW6fdfcwOgmm0DQQJTtVjSj1mSNyw7ya2ZwP/9Qsonv5Nh9eAT9UcswvicvrL14xsUe5bzolcq0lL7Kv6YH97oPjr728PvPnmJoWSdUnOEMURx/eYEbj8WeLP5oDQ== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79492335-2bd3-4df9-d850-08d969e180f6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2021 05:05:50.4762 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT045.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT018 Received-SPF: pass client-ip=40.92.73.70; envelope-from=arthur.miller@live.com; helo=EUR04-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273223 Archived-At: Dmitry Gutov writes: > On 27.08.2021 04:31, Arthur Miller wrote: >>>> We also have a bunch of formal rules for submissions which tend to >>>> seem intimidating. A CI with an automated checker running against all >>>> PRs can alleviate that problem. >>> I don't know enough git to tell you exactly what it is, but perhaps >>> whatever runs each time I check-in something to my local copy of the >>> repository that checks for indentation and extraneous whitespace could >>> also work for this? >> Couldn't identation and extraneous space be solved by either running after save >> hook in Emacs, or by running emacs in batch mode as a git hook? > > Yes, you're both talking about git hooks. A minor disadvantage is that a hook > needs to be installed, and then a bug in a hook implementation can stop you from > being able to make a commit (there are overrides, but those require more > googling). Yes, hook is a one way to implement it, but that particular case is solved by just after file save hook. But we could also develop an emacs package that does some basics checks and stuff against local repo? Maybe Cask, edev, I don't know? I just answer on someone asking for these basics checks.