Date: Wed, 2 Mar 2016 19:42:40 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409957 - head/ports-mgmt/synth Message-ID: <201603021942.u22JgeUj028588@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Mar 2 19:42:40 2016 New Revision: 409957 URL: https://svnweb.freebsd.org/changeset/ports/409957 Log: ports-mgmt/synth: Upgrade version 1.03 => 1.10 This release addresses unacceptably long repository rebuild times for the worst cases (FreeBSD [1], slow CPU, slow mechanical disk). Until now, rebuilding the repository required a full tree scan (nearly 26k ports). While I only saw around 4 minutes on a 4-year DragonFly machine equipped with a SSD, others reported times exceeding 20 minutes. This new method scans existing packages twice -- first to eliminate those packages where the port was removed and also those with a mismatching version (parallel). This sets up a second pass to serially and recursively scan the ports of the remaining packages. That leads to the final validation (same as previously done) and the actual repository generation. Now the repository generation time is much shorter, but corresponds to the number of build packages in the packages directory. The long repository generation times were identified prior to the 1.0 release, but I targetted 1.1 for the enhancement. Modified: head/ports-mgmt/synth/Makefile head/ports-mgmt/synth/distinfo Modified: head/ports-mgmt/synth/Makefile ============================================================================== --- head/ports-mgmt/synth/Makefile Wed Mar 2 17:28:51 2016 (r409956) +++ head/ports-mgmt/synth/Makefile Wed Mar 2 19:42:40 2016 (r409957) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= synth -PORTVERSION= 1.03 +PORTVERSION= 1.10 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt Modified: head/ports-mgmt/synth/distinfo ============================================================================== --- head/ports-mgmt/synth/distinfo Wed Mar 2 17:28:51 2016 (r409956) +++ head/ports-mgmt/synth/distinfo Wed Mar 2 19:42:40 2016 (r409957) @@ -1,4 +1,4 @@ -SHA256 (jrmarino-synth-v1.03_GH0.tar.gz) = afecbe38bef08b18ca9e7594541ea80f4265f5e122c9cc1e628a5d8f25ec2ee1 -SIZE (jrmarino-synth-v1.03_GH0.tar.gz) = 91737 +SHA256 (jrmarino-synth-v1.10_GH0.tar.gz) = f29f9707f55b2396a64292de9611c988d91df88b1a5b66deac30e3b236f7c4d5 +SIZE (jrmarino-synth-v1.10_GH0.tar.gz) = 92918 SHA256 (jrmarino-synth_external-v1.3_GH0.tar.gz) = 2afc03e494d2394446eabdb5244967c202a79b449c7cad7ea67a87807cc25f44 SIZE (jrmarino-synth_external-v1.3_GH0.tar.gz) = 209283
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603021942.u22JgeUj028588>