Note more benefits of having USE=ipc enabled.
[portage.git] / NEWS
1 News (mainly features/major bug fixes)
2
3 portage-2.2
4 -------------
5
6 * Add link level dependency awareness to emerge --depclean and --prune actions
7   in order to protect against uninstallation of required libraries.
8 * Add support for generic package sets (also see RELEASE-NOTES)
9
10 portage-2.1.9
11 -------------
12
13 * There is a new ipc (inter-process communication) USE flag which is enabled
14   by default. This allows portage to communicate with running ebuild processes,
15   for things like best_version, has_version, and die calls in nested processes.
16   This flag should remain enabled unless it is found to be incompatible with a
17   specific profile or environment. When enabled, it fixes bug #278895,
18   bug #315615, and makes subshell die support more robust (so that repoman's
19   ebuild.nesteddie check is irrelevant).
20
21 portage-2.1.8
22 -------------
23 * The top-level __init__.py for the portage python package has been split into
24   many smaller python modules, making the code easier to navigate and allowing
25   small parts of the portage api to be imported with less overhead.
26
27 portage-2.1.7
28 -------------
29
30 * Add license visibility filtering (GLEP 23)
31 * Add --accept-properties option for emerge which allows you to use
32   --accept-properties=-interactive in order to temporarily exclude
33   interactive updates.
34 * Add support for Python 3.0. At least Python 2.6 is now required in order to
35   support the new syntax which is used by Python 3.0.
36
37 portage-2.1.6
38 -------------
39
40 * Add support for a new EAPI="2" value. For more information about new EAPI
41   features, refer to the "Ebuild" chapter of the html documentation that is
42   installed with portage.
43 * Add PORTAGE_IONICE_COMMAND setting for make.conf which is called to adjust
44   IO priority on portage and it's subprocesses.
45 * Add emerge --jobs and --load-average options which specify behavior
46   for building packages in parallel or for generating metadata in parallel
47   with emerge --regen.
48 * Add emerge --keep-going option to continue as much as possible after
49   an error. When an error occurs, dependencies are recalculated for
50   remaining packages and any with unsatisfied dependencies are
51   automatically dropped. The --skipfirst option automatically drops
52   packages in the same way, and also drops any masked packages.
53 * Add git and subversion support for repoman.
54 * It is now possible to use `emerge <file>` to reinstall the package that
55   installed a particular file. Package contents entries are indexed to
56   improve performance. A command such as `emerge /lib/modules` can serve
57   as a decent substitute for module-rebuild.
58 * Namespace sanitizing: move all portage related code into portage.* namespace,
59   rename portage_foo modules to portage.foo (but keep symlinks for compability)
60 * Add support for news items (GLEP 42)
61 * Add FEATURES=protect-owned which is identical to the collision-protect
62   feature except that files may be overwritten if they are not explicitly
63   listed in the contents of a currently installed package.
64
65 portage-2.1.5
66 -------------
67
68 * For extra careful dependency handling, emerge has a new --complete-graph
69   option that causes it to consider the deep dependencies of all packages from
70   the system and world sets. With this option enabled, emerge will bail out
71   if it determines that the given operation will break any dependencies of
72   the packages that have been added to the graph. Unlike the --deep option,
73   the --complete-graph option does not cause any more packages to be updated
74   than would have otherwise been updated with the option disabled.
75 * Blockers are now resolved automatically in many more cases
76   than before.  When it's safe, blocked packages are uninstalled
77   automatically so that users are no longer inconvenienced with the
78   task. Automatically uninstalled packages are displayed in the merge
79   list, marked "uninstall" and highlighted in red. With the --tree
80   option enabled, it's possible to see which package(s) caused other
81   ones to be automatically uninstalled.
82 * The dependency resolver now has a feedback mechanism that helps make atom
83   selections more consistent with previous selections that have been added to
84   the graph. This solves some common cases of bug #1343.
85
86 portage-2.1.4
87 -------------
88
89 * After the initial setup phase, the original ebuild and eclasses are no
90   longer needed because the same ebuild environment is reused for the
91   entire lifecycle of the package, including uninstallation.
92 * The emerge --search action supports searching of both installed and binary packages
93   The --usepkg and --usepkgonly options control which repositories are searched.
94
95 portage-2.1.3
96 -------------
97
98 * Allow per-module setting of PORTAGE_ELOG_CLASSES
99 * Add new elog module "echo" to simply display messages when emerge exits
100 * Add ** as new token for package.keywords to bypass the keyword visibility layer
101 * USE_EXPAND variables such as LINGUAS support a * wildcard that will enable
102   all of the corresponding flags that are listed in IUSE for a given package.
103   USE_EXPAND wildcards such as linguas_* are supported in USE and package.use.
104 * The merge process preserves the modification timestamp of files that it
105   installs. The unmerge process will not uninstall files that are claimed by
106   another package in the same slot.
107 * PDEPEND is now installed as soon as possible so that it behaves more like
108   RDEPEND.  This makes PDEPEND more useful for breaking the dependency cycles
109   that are sometimes triggered by RDEPEND and DEPEND.
110 * Enable "echo" and "save_summary" elog modules by default
111 * Fix -* handling in package.keywords to work as intended (reset the accepted 
112   keywords list), also see RELEASE-NOTES.
113 * Make elog functionality available to python code
114
115 portage-2.1.2
116 -------------
117
118 * Ebuilds support default USE flags via +flag in IUSE.
119 * New-style virtuals are now usable for packages that depend on themselves for
120   bootstrap.
121 * Profiles support multiple inheritance and package.use.
122 * CONFIG_PROTECT and CONFIG_PROTECT_MASK both support files (not just
123   directories).
124 * Collision protection handles symlinks properly.
125 * Dependencies can be satisfied by installed packages that do not have matching
126   ebuilds in the portage tree or overlay.
127 * Emerge automatically ignores blockers that are made irrelevant by an upgrade.
128 * Emerge supports "reverse blocker detection" which means that the blockers of
129   installed packages will always be respected.
130 * Emerge builds a complete dependency graph in order to ensure correct merge
131   order and detection of circular dependencies.
132 * The world and system sets allow automatic update of all installed slots.
133 * DEPEND atoms support SLOT dependencies of the form ${CATEGORY}/${PN}:${SLOT}.
134 * Development: Extend PYTHONPATH support to allow overriding the hardcoded 
135   /usr/lib/portage/pym for development/testing purposes
136 * New "finalize" hook for elog modules enabling modules to perform actions on 
137   shutdown (like dispatching collected messages).
138 * New elog modules mail_summary and save_summary that act like the mail/save
139   modules except that they merge messages from multiple packages in a single
140   file/mail.
141 * New QA loglevel and matching eqawarn function
142 * `ebuild foo test` now always runs src_test if available
143 * If DOC_SYMLINK_DIR is set portage installs symlinks to html documention there
144 * FEATURES="test" automatically implies USE="test".
145
146 portage-2.1.1
147 -------------
148
149 * Profiles support use.force, package.use.force, and package.use.mask files.
150
151 portage-2.1 (ongoing via pre releases)
152 ------------
153
154 * FEATURES="confcache" integration; global caching to speed up configure calls, 
155   requires dev-util/confcache
156 * elog framework and accompanying modules for logging ebuild warnings, errors
157   and general notices. Collects eerror/ewarn/elog/einfo messages.
158 * New elog function (should replace einfo in many cases)
159 * version syntax enhancements allowing multiple suffixes and a new 'cvs'
160   version prefix for denoting "live sources" ebuilds.
161 * config files as directories enabling more flexible settings management.
162 * Addition of an register_die_hook method that allows ebuild/eclasses to
163   register functions to be called for better debugging on errors.
164 * Addition of pre and post user hookable functions for each ebuild phase, accessible 
165   via portage bashrc.  Example would be pre_src_unpack .
166 * cache refactoring- runtime improvement from 35% -> 65%.
167 * Intelligently handle and display USE_EXPAND-based IUSE variables.
168 * FEATURES="parallel-fetch".  Download in parallel to compilation.
169 * Include a "changed or new" USE flag output when --verbose isn't specified.
170 * Support for splitting out debug information into separate files in
171   /usr/lib{,32,64}.
172 * exec subsystem refactoring (now with less bugs!)
173 * Added sha256 and rmd160 hashes for digests/manifests
174 * Make --emptytree only apply to ${ROOT} rather than always including /.
175 * Allow packages to be upgraded that are only depended on via a
176   "|| ( =cat/pkg-1* =cat/pkg-2* )" construct.
177 * Ebuild output is no longer cut off early when using PORT_LOGDIR.
178 * Distfiles indirection- $DISTFILES access goes through a tmp dir to fail
179   access to files not listed in SRC_URI.
180 * Emerge now uses --resume to restart itself after portage upgrade.
181 * Atomic file updates via the new atomic_ofstream class.
182 * Global updates and fixpackages performance optimizations.
183 * Tests show that file locking is now more reliable.
184 * A bash call stack is printed when an ebuild dies in ebuild.sh.
185 * New rsync option handling by using a generic PORTAGE_RSYNC_EXTRA_OPTS variable
186 * Manifest2 support that will allow digest-* files to be eliminated from the tree.