From owner-freebsd-git@freebsd.org Wed Jul 1 21:51:20 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7600335CAB6 for ; Wed, 1 Jul 2020 21:51:20 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49xw0R1qF0z3b21 for ; Wed, 1 Jul 2020 21:51:18 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id CE2244D9 for ; Wed, 1 Jul 2020 17:51:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 01 Jul 2020 17:51:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; s=fm1; bh=w+uE0gfBZSmJKnHBxVy2AVjuz2GZPvLHF GrHJ6YHeCM=; b=TPq5OeLErQ1TYlRvllQM814JuIan6WqQdjOHEKI5pjKoyECke VEDjIO3XM4hqb1hrVoqsluhPGCq4dxK0bsxil3F1uzzjLEJLzOD4MuJ1YQCMfbt6 MyqzM2368YKwuoBfWRZsfXc1SEkoFpIXERhrn08t9JL27vf4a1kk1MJMvfMrJpIF h5LBF088W7dI7lO0cjy0kGh+dhIZM9A/sD1ajNgdvRxP4m6Zb7NPepl27pjapezz Pl+zuezKGjZfQpfmOumZPFvtAjzI/3lMe9Atix6AUUn/1xnHARtYT3u/jJBats5+ C8hkexFVCGpsycnbmVTMy/6sTOLX9jeBLC6WQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=w+uE0g fBZSmJKnHBxVy2AVjuz2GZPvLHFGrHJ6YHeCM=; b=d92NYEFVxG4k5p4QjJQ1hd tjd2Gbj12VpNq1pl/zHmHDDKf3tI/9FRcXWFqu1i0+KSlMKE8H61TElNAEINh4X9 w0ikIzV2fPrIH5xx8RoUUTrDoiYIad79DKLGlXOLwGczsclhe0IranmG4oJcTs1c UC915w2jFTNlxdXx5JmekW5Zti1BYQoIxtkMbjrD33Pf++SFV0bw1E1qqPuDZEjp VNXBzvGHv1v+vIpztn2jY/PWvnT4euX2hMferagUX5UuDomCLGapOS6Ea59GqdH/ kDgb71Hefckq1PvC4NYjcEZIXhfxI8KoWpJBU6oUxarZo+DPdJbfUPZK6XlPCdxg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtdefgddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmhdthh dtjeenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhgihhllhgv rdhorhhgqeenucggtffrrghtthgvrhhnpeehtefhgfevhfffieeitdejhefhudejjeegue ejvedtieetteekvedtfedtudejkeenucffohhmrghinhepfhhrvghshhhpohhrthhsrdho rhhgpdhfrhgvvggsshgurdhorhhgpdhlrghnghhilhhlvgdrohhrghenucfkphepudejfe druddvtddruddtkedrudefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegurghnsehlrghnghhilhhlvgdrohhrgh X-ME-Proxy: Received: from [192.168.1.9] (ip-173-120-108-139.ekrgmd.spcsdns.net [173.120.108.139]) by mail.messagingengine.com (Postfix) with ESMTPA id ECD41328005A for ; Wed, 1 Jul 2020 17:51:15 -0400 (EDT) From: Dan Langille Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: discovering new commits: FreshPorts Message-Id: <30741857-E21A-4EB9-9C01-81D1E8B8AC03@langille.org> Date: Wed, 1 Jul 2020 17:51:14 -0400 To: freebsd-git@freebsd.org X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49xw0R1qF0z3b21 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm1 header.b=TPq5OeLE; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=d92NYEFV; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-2.67 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm1,messagingengine.com:s=fm3]; RECEIVED_SPAMHAUS_PBL(0.00)[173.120.108.139:received]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.969]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.02)[-1.016]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-0.09)[-0.089]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2020 21:51:20 -0000 FreshPorts currently works off email. Receive a commit email, parse that = email, do some database work. The subversion revision number is contained in the email. That makes it = easy for the code to do: svn up -r X make -V FYI: FreshPorts stores all commits, just not the ports tree. They're all = in there. The technical work of converting a git log message into a FreshPorts = database entry is done: That works. re: https://news.freshports.org/category/development/git/ The biggest remaining issue: what method should FreshPorts use to start = working on a new commit? What process replaces the incoming svn commit = email? At present, there is no email for the git commits (re = https://lists.freebsd.org/mailman/listinfo). It's only the svn commits. I see these choices: 1- continue to process based upon incoming email, but use that only as = the reason to wake up and check git for new commits.=20 I don't know how commits arriving in svn relate to commits arriving in = git - will they be there? 2 - repeatedly run 'git fetch origin' to check for new commits We won't miss a thing - but that's rather DDosS-ish. 3 - a commit hook. =20 The git repo hits up a FreshPorts url on each commit. Insights welcomed. =E2=80=94=20 Dan Langille http://langille.org/