From owner-freebsd-git@freebsd.org Wed Jul 22 00:03:13 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 B07D336C090 for ; Wed, 22 Jul 2020 00:03:13 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 4BBFzN3vyqz4R8Z for ; Wed, 22 Jul 2020 00:03:12 +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 406689F1 for ; Tue, 21 Jul 2020 20:03:10 -0400 (EDT) Received: from imap36 ([10.202.2.86]) by compute2.internal (MEProxy); Tue, 21 Jul 2020 20:03:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=b5kJDqCmVwFWGVj1n14+F62+BR5MKdUx/Kr4vVESr7Q=; b=r3+mQ2C+ 1CejOJmIYWpdtjkUUKC1pE+eY3vFyhE4r2u/hnZaU0EO/ar8woFdV6BUVAljyZSg UGRcZdu9bL/01VKexOX7OuuGAUJ8kx0ouXUOdhhTNzGCjmgO8XhhLVlO0qqLCRUi JF/glcTyqSlLjtqfJjoauuSkDlh08kM1fofr49ZTHg3EdJ4ux0vQym50wI8p1Lra sI0Ue7ddVpHwwDLxxaWj5/k2l/0d6ZTKt/7eXc4diuXq+DaIbXzRNAQQ9FpJC9dQ dJPS8rABjQt+ElSZWsThFNHEgHPzhB7b8AC4Zdms0s4c6XTAK+x6NrMKr/YPz38P 12RFOJHoBoNsMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=b5kJDqCmVwFWGVj1n14+F62+BR5MK dUx/Kr4vVESr7Q=; b=d+r9xEcOkydYTP5lPH+6nDNjubVXYZ5jwop0cCqPzJ1hS RY+ui2NpwMrbBZqAH1NNHEWJt+eUMJmdKIFkE0c0BX+d+6wxJMujpTsyt3PFq01G h6pq2GuGOE/iYjH4kH0nAu3YLVhg/G/AghU0etTRP/7olabyDF+NuVaS05Bk6Klg VIkma81lUiD4H2/WTCibfmVCIOaXq6OJIpV78B6VR0c1Nd68MyfJeMSkHxg+tj1S Scmbq058zVeFbu9WDckChHjtFlFLW+rNtTOirP4iy+R3ta2l8diHBLTdI2Ybt2U6 8u7mFVJyua2BqVOTi2DdvenWHxCyINu3v8RkrVEWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrgeekgddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdffrghnucfnrghnghhilhhlvgdfuceouggrnheslhgrnhhgihhl lhgvrdhorhhgqeenucggtffrrghtthgvrhhnpedtueeiteektdfgjefgkeeulefgjeekff duteffhfeuffeiieeujefgffekffeffeenucffohhmrghinhepfhhrvghshhhpohhrthhs rdhorhhgpdhgihhthhhusgdrtghomhdpfhhrvggvsghsugdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhl vgdrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8ADD61880067; Tue, 21 Jul 2020 20:03:09 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-92-g11c785d-fm-20200721.004-g11c785d5 Mime-Version: 1.0 Message-Id: <3c7b8854-f5e8-4c72-acb3-f1147eae9df3@www.fastmail.com> Date: Tue, 21 Jul 2020 20:02:48 -0400 From: "Dan Langille" To: freebsd-git@freebsd.org Subject: FreshPorts status update 2020.07.21 Content-Type: text/plain X-Rspamd-Queue-Id: 4BBFzN3vyqz4R8Z X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm1 header.b=r3+mQ2C+; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=d+r9xEcO; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 64.147.123.19 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-2.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.019]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm1,messagingengine.com:s=fm3]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[64.147.123.19:from]; 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.99)[-0.988]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-0.72)[-0.719]; 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_WWW(0.50)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19: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, 22 Jul 2020 00:03:13 -0000 Hello, At present, devgit.FreshPorts.org is keeping up with all port commits. Processing is initiated manually. I run a script to set some flags. This could be run by a commit-hook pulling a URL. FreshPorts can do the rest. I welcome discussion on how to do this. I'd rather keep the URL private, for less abuse-potential. We could add in some auth or ACL. Invoking the URL will get FreshPorts to query the FreeBSD repo. I've posted the following issue at https://github.com/FreshPorts/git_proc_commit/issues/23 ### I am having trouble detecting a port delete or copy. Under subversion, as seen at https://svnweb.freebsd.org/ports?view=revision&revision=542761, you get a deleted notice. In the email (https://docs.freebsd.org/cgi/getmsg.cgi?fetch=1326960+0+current/svn-ports-head) this turns up as: head/net/kdav/ under Deleted. In git, it does not, from what I can tell. I can find: $ grep net/kda 2020.07.21.17.15.38.000000.d016c9140a6e4b7627d26485926a659f2686185d.xml - net/kdav became a framework and was therefore moved to net/kf5-kdav. (Sorry, the above is the XML generated by https://github.com/FreshPorts/git_proc_commit/blob/master/git-to-freshports/git-to-freshports-xml.py) Knowing that a file has been deleted within a commit is vital. Detecting it from within the commit log is the optimal approach. Does anything have a suggestion here? I can see that the Makefile & pkg-plist have been renamed, and distinfo has been deleted. Perhaps it's just a matter of changing my approach. However, this does not yet sound like a solid plan. I welcome suggestions for something I have missed in the git interface please. ### I have not yet coded processing for these repos: * https://github.com/freebsd/freebsd * https://github.com/freebsd/freebsd-doc I am hoping that's just a matter of altering the code so that different repos can be feed to the code. -- Dan Langille dan@langille.org