1 |
commit: bd8e67fe227681c439fafad046ad0cd17280c320 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 4 18:28:25 2015 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 4 18:28:25 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-news.git;a=commit;h=bd8e67fe |
7 |
|
8 |
Add news item for portage sync changes |
9 |
|
10 |
--- |
11 |
.../2015-02-04-portage-sync-changes.en.txt | 77 ++++++++++++++++++++++ |
12 |
.../2015-02-04-portage-sync-changes.en.txt.asc | 19 ++++++ |
13 |
2 files changed, 96 insertions(+) |
14 |
|
15 |
diff --git a/2015/2015-02-04-portage-sync-changes/2015-02-04-portage-sync-changes.en.txt b/2015/2015-02-04-portage-sync-changes/2015-02-04-portage-sync-changes.en.txt |
16 |
new file mode 100644 |
17 |
index 0000000..544cf4d |
18 |
--- /dev/null |
19 |
+++ b/2015/2015-02-04-portage-sync-changes/2015-02-04-portage-sync-changes.en.txt |
20 |
@@ -0,0 +1,77 @@ |
21 |
+Title: New portage plug-in sync system |
22 |
+Author: Brian Dolbec <dolsen@g.o> |
23 |
+Content-Type: text/plain |
24 |
+Posted: 2015-02-02 |
25 |
+Revision: 1 |
26 |
+News-Item-Format: 1.0 |
27 |
+Display-If-Installed: sys-apps/portage |
28 |
+ |
29 |
+There is a new plug-in sync system in >=sys-apps/portage-2.2.16. |
30 |
+This system will allow third party modules to be easily installed. Look |
31 |
+for a new layman plug-in sync module in layman's next release. Next is |
32 |
+a brief look at the changes. See the url [1] listed below for detailed |
33 |
+descriptions and usage. |
34 |
+ |
35 |
+Changes: /etc/portage/repos.conf/* |
36 |
+ New setting for all repository types (needed): |
37 |
+ auto-sync = yes/no, true/false # default if absent: yes/true |
38 |
+ |
39 |
+ New for git sync-type: (applies to clone only) |
40 |
+ sync-depth = n where n = {0,1,2,3,...} (optional, default = 1) |
41 |
+ 0 -- full history |
42 |
+ 1 -- shallow clone, only current state (default) |
43 |
+ 2,3,... number of history changes to download |
44 |
+ |
45 |
+ New sync-type modules: |
46 |
+ sync-type = svn # sync a subversion repository |
47 |
+ sync-type = websync # Perform an emerge-webrsync operation |
48 |
+ sync-type = laymanator # (if installed) runs a layman -s action |
49 |
+ |
50 |
+ New native portage postsync hooks |
51 |
+ /etc/portage/postsync.d/* |
52 |
+ Runs hooks once, only after all repos have been synced. |
53 |
+ /etc/portage/repo.postsync.d/* |
54 |
+ Runs each script with three arguments: |
55 |
+ repo name, sync-uri, location |
56 |
+ Each script is run at the completion of every repo synced. |
57 |
+ |
58 |
+Migration: |
59 |
+ Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option |
60 |
+ to each repository definition. Edit sync-type option to one of the |
61 |
+ supported types {rsync, git, cvs, svn, websync, laymanator}. |
62 |
+ [some-repo] |
63 |
+ ... |
64 |
+ sync-type = rsync |
65 |
+ auto-sync = yes |
66 |
+ |
67 |
+ For an existing /etc/portage/repos.conf/layman.conf file: |
68 |
+ 1) change/add the sync-type |
69 |
+ sync-type = laymanator |
70 |
+ 2) Ensure you have the correct layman version installed with |
71 |
+ it's laymanator module also installed. |
72 |
+ Alternate method: |
73 |
+ Please see the wiki page url [1] for detailed instructions. |
74 |
+ |
75 |
+Primary control of all sync operations has been moved from emerge to |
76 |
+emaint. "emerge --sync" now just calls the emaint sync module with the |
77 |
+--auto option. The --auto option performs a sync on only those |
78 |
+repositories with the auto-sync setting not set to 'no' or 'false'. If |
79 |
+it is absent, then it will default to yes and "emerge --sync" will sync |
80 |
+the repository. |
81 |
+ |
82 |
+NOTE: As a result of the default auto-sync = True/Yes setting, commands |
83 |
+ like "eix-sync", "esync -l", "emerge --sync && layman -S" will cause |
84 |
+ many repositories to be synced multiple times in a row. Please edit |
85 |
+ your configs or scripts to adjust for the new operation. |
86 |
+ |
87 |
+WARNING: |
88 |
+ Due to the abaove default. For any repos that you EXPLICITLY do not |
89 |
+ want to be synced. You MUST set "auto-sync = no" |
90 |
+ |
91 |
+The 'emaint sync' module operates similar to layman. It can sync |
92 |
+single or multiple repos. See "emaint --help" or for more details and |
93 |
+examples see the wiki page listed below [1]. |
94 |
+ |
95 |
+Additional help and project API documentation can be found at: |
96 |
+ |
97 |
+[1] https://wiki.gentoo.org/wiki/Project:Portage/Sync |
98 |
|
99 |
diff --git a/2015/2015-02-04-portage-sync-changes/2015-02-04-portage-sync-changes.en.txt.asc b/2015/2015-02-04-portage-sync-changes/2015-02-04-portage-sync-changes.en.txt.asc |
100 |
new file mode 100644 |
101 |
index 0000000..add6bbe |
102 |
--- /dev/null |
103 |
+++ b/2015/2015-02-04-portage-sync-changes/2015-02-04-portage-sync-changes.en.txt.asc |
104 |
@@ -0,0 +1,19 @@ |
105 |
+-----BEGIN PGP SIGNATURE----- |
106 |
+Version: GnuPG v2.0 |
107 |
+ |
108 |
+iQJ8BAABCgBmBQJU0mL3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w |
109 |
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2OUZEQTI0MjY5QzhCNUE3RTlFMjMxRTkw |
110 |
+MTg2ODIyMzFCOTI2RTRGAAoJEAGGgiMbkm5PFXEP/j/ZfwsUWMjxXqsJzCNWLC3K |
111 |
+kOLlRFEnLkk/vPiPQDD+jTKjV6Az8K7w2Bb9duXXnBvW2iQ121vThW2qufJk1RZr |
112 |
+YmaBoTzRQ/iG8ekfLG5TtoZeIAJGgrpLd3xgGatIBYpV/nGX877RjoSsgoMwg9h0 |
113 |
+HGIfVeLd/oBF2Zy7l56fGbIHdkOmtzf6ufc6lJPgJHB4KELZIt3rItQ1BHNRdI5n |
114 |
+KQV1IUcjSi80F2j43uReWCy5LIqXc6eA57iw1zTL56jOhPE4JB0rQXvVYjg0PNb/ |
115 |
+vNjdsXY1NoMUh9Hrc2jOCH5U54PFK4PfdvvY6ujc3Q0D6brxUbi3WdAEV9q3w8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