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