1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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.
This commit is contained in:
John Marino 2016-03-02 19:42:40 +00:00
parent 9b7a5e873f
commit 3a94393cc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409957
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= synth
PORTVERSION= 1.03
PORTVERSION= 1.10
DISTVERSIONPREFIX= v
CATEGORIES= ports-mgmt

View File

@ -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