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