Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:plugin-sync commit in: man/
Date: Mon, 29 Sep 2014 18:29:32
Message-Id: 1412011220.e74aefc1289d063111dd817ae90251170673cd04.dol-sen@gentoo
1 commit: e74aefc1289d063111dd817ae90251170673cd04
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 30 15:47:23 2014 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Mon Sep 29 17:20:20 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e74aefc1
7
8 man: Update man pages with new sync info
9
10 man/portage.5: Add the new auto-sync variable.
11 man/emaint.1: Add the new sync module.
12 man/emerge.1: Update the --sync action.
13
14 ---
15 man/emaint.1 | 15 ++++++++++++++-
16 man/emerge.1 | 8 +++++++-
17 man/portage.5 | 10 ++++++++++
18 3 files changed, 31 insertions(+), 2 deletions(-)
19
20 diff --git a/man/emaint.1 b/man/emaint.1
21 index 8356299..f02bc68 100644
22 --- a/man/emaint.1
23 +++ b/man/emaint.1
24 @@ -37,6 +37,9 @@ Perform package move updates for binary packages located in \fBPKGDIR\fR.
25 .BR moveinst
26 Perform package move updates for installed packages.
27 .TP
28 +.BR sync
29 +Perform sync actions on specified repositories.
30 +.TP
31 .BR world
32 Fix problems in the \fIworld\fR file.
33 .SH DEFAULT OPTIONS
34 @@ -46,7 +49,7 @@ Check for any problems that may exist. (all commands)
35 .TP
36 .B \-f, \-\-fix
37 Fix any problems that may exist. (not all commands)
38 -.SH OPTIONS
39 +.SH OPTIONS logs command
40 .TP
41 .B \-C, \-\-clean
42 Cleans the logs from \fBPORT_LOGDIR\fR (logs command only)
43 @@ -58,6 +61,16 @@ OPTION (logs command only)
44 .B \-t NUM, \-\-time NUM
45 Changes the minimum age \fBNUM\fR (in days) of the logs to be listed or
46 deleted. (logs command only)
47 +.SH OPTIONS sync command
48 +.TP
49 +.B \-a, \-\-auto
50 +Sync repositories which have its auto\-sync setting set yes, true. (sync command only)
51 +.TP
52 +.B \-A, \-\-allrepos
53 +Sync all repositories which have a sync\-uri specified. (sync command only)
54 +.TP
55 +.B \-r, \-\-repo REPO
56 +Sync the repository specified. (sync command only)
57 .SH "REPORTING BUGS"
58 Please report bugs via http://bugs.gentoo.org/
59 .SH AUTHORS
60
61 diff --git a/man/emerge.1 b/man/emerge.1
62 index a2cb3f6..52aff95 100644
63 --- a/man/emerge.1
64 +++ b/man/emerge.1
65 @@ -240,7 +240,7 @@ the package name. \fBTake caution\fR as the descriptions are also
66 matched as regular expressions.
67 .TP
68 .BR \-\-sync
69 -Updates repositories, for which sync\-type and sync\-uri attributes are
70 +Updates repositories, for which auto\-sync, sync\-type and sync\-uri attributes are
71 set in repos.conf. See \fBportage\fR(5) for more information.
72 The \fBPORTAGE_SYNC_STALE\fR variable configures
73 warnings that are shown when emerge \-\-sync has not
74 @@ -251,6 +251,12 @@ The emerge \-\-sync action will revert local changes (e.g. modifications or
75 additions of files) inside repositories synchronized using rsync.
76
77 \fBNOTE:\fR
78 +The emerge \-\-sync command is a compatibility command. Sync operations are
79 +now performed using the the new emaint sync module. This new emaint sync module
80 +has greater functionality and flexibility. Please refer to \fBemaint(1)\fR for
81 +more information about sync operations.
82 +
83 +\fBNOTE:\fR
84 The \fBemerge\-webrsync\fR program will download the entire
85 portage tree as a tarball, which is much faster than emerge
86 \-\-sync for first time syncs.
87
88 diff --git a/man/portage.5 b/man/portage.5
89 index e399f0f..efafc27 100644
90 --- a/man/portage.5
91 +++ b/man/portage.5
92 @@ -818,6 +818,16 @@ When 'force = aliases' attribute is not set, \fBegencache\fR(1),
93 since operations performed by these tools are inherently
94 \fBnot\fR \fIsite\-specific\fR.
95 .TP
96 +.B auto\-sync
97 +This setting determines if the repo will be synced during "\fBemerge \-\-sync\fR" or
98 +"\fBemaint sync \-\-auto\fR" runs. This allows for repositories to be synced only when
99 +desired via "\fBemaint sync \-\-repo foo\fR".
100 +.br
101 +Valid values: yes, no, true, false.
102 +.br
103 +If unset, the repo will be treated as set
104 +no, false.
105 +.TP
106 .B eclass\-overrides
107 Makes given repository inherit eclasses from specified repositories.
108 .br