Gentoo Archives: gentoo-portage-dev

From: NP-Hardass <NP-Hardass@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] Add .git dir to excluded dirs in default PORTAGE_RSYNC_OPTS
Date: Mon, 14 Dec 2015 03:09:06
Message-Id: 20151213220841.19eab808@Valar-Morghulis.home.adambfeldman.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 Based off of git master at Mon Dec 14 02:36:31 UTC 2015, commit
5 7cbd04cd62c8f13ed41e07ff8bc9b7e5d5ac700b
6
7
8 - - From b49fba5c16a931d3ab041446dd8aeba4d2403260 Mon Sep 17 00:00:00 2001
9 From: NP-Hardass <NP-Hardass@g.o>
10 Date: Sun, 13 Dec 2015 21:20:39 -0500
11 Subject: [PATCH] Add .git dir to excluded dirs in default PORTAGE_RSYNC_OPTS
12
13 Adding the .git dir to the default exclude dirs should have no ill side
14 effects as rsync is not allowed when .git dirs are present and should,
15 on the user's side prevent future potential sync issues like those that
16 we recently experienced.
17 - - ---
18 cnf/make.globals | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/cnf/make.globals b/cnf/make.globals
22 index 82d8cc1..836bb5c 100644
23 - - --- a/cnf/make.globals
24 +++ b/cnf/make.globals
25 @@ -92,7 +92,7 @@ PORTAGE_RSYNC_RETRIES="-1"
26 # Number of seconds rsync will wait before timing out.
27 #RSYNC_TIMEOUT="180"
28
29 - - -PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
30 +PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
31
32 # The number of days after the last `emerge --sync` that a warning
33 # message should be produced.
34 - - --
35 2.6.4
36
37
38 - - --
39 NP-Hardass
40 -----BEGIN PGP SIGNATURE-----
41 Version: GnuPG v2
42
43 iQIcBAEBCAAGBQJWbjLHAAoJEBzZQR2yrxj7/v0P/3NAxycwWB+EyLmTRTJI3whL
44 VLlN+oW3Pvw+PInnv23o/cMlfH3i8wNgi6syaWj+z6guasN0vC3pGJ9XCTo7SJW5
45 BKUEL8tzbQFa8W5k0nK9IkCOrEvqartBep9KLu8vj2SUQ4xRcEWk/uBksczJ+13g
46 CzP3kDdJmKGWZHER8+viwQ6tVNKxJW41SwQG5pz4emfADyceQnu/iy9SlRk8PsOD
47 LfHbuoZTv6YejuA8sDj09vRiNGfEwjuDTqBvjUziHdDg8J9is+vtmj04dqf05ZBR
48 PrEpoPo5FulGMzQjfF7dgyTpzM5pHBkxvPwM2U3HupnV1H5xixpXkNMEYQ6V3zK+
49 Max5LbOpzMzHdAx7+gYSRHC4pUa6FTy9lvEqgBfgDG7niq82HADltEruoFT0PRzX
50 ggRqxGJtRStrwHJDBGRNGdmOelmzI5FCC1497GdlOIvRdiRxvmIdlConVvWD5cii
51 FbaZsTxrV36NRUXCvR8G9hHLjJUPAjXMU3Ri+huCn0KjDN705envnBhF0LbJ3bvj
52 jRA/5KDLJcwPMOneEMp5Vb4SQJtC7n3OG1oxaqdQoZ4pu61i0LVdoEe5JpuHtKkM
53 g0PL7S+J8AA1eBTIlcYnsuwDt1QeAPq5eyHnQfBwF2ptKmRjNz3dPf4VNzM+ZYcW
54 xZDbhRKNifiWTq6Ee0Ee
55 =1vMD
56 -----END PGP SIGNATURE-----

Attachments

File name MIME type
Add-.git-dir-to-excluded-dirs-in-default-PORTAGE_RSY.patch text/x-patch

Replies