Adjust the EbuildNestedDie pattern so that it only matches when ( is surrounded
[portage.git] / RELEASE-NOTES
1 Release Notes; upgrade information mainly.
2 Features/major bugfixes are listed in NEWS
3
4 portage-2.1.6
5 ==================================
6
7 * FEATURES=fixpackages is now enabled by default via make.globals. Set
8   FEATURES="-fixpackages" in make.conf if you'd like to disable it.
9 * The python namespace for portage has been sanitized, all portage related code
10   is now contained within the portage namespace. External script should be updated
11   accordingly, though links exist for backward compability.
12 * -* support in package.keywords was changed as it was inconsistent with 
13   ACCEPT_KEYWORDS behavior (also see http://dev.gentoo.org/~genone/docs/KEYWORDS.stupid).
14   Previously having -* in package.keywords matched packages with KEYWORDS="-*", 
15   now it resets the ACCEPT_KEYWORDS list for the given atom like it does when
16   used in ACCEPT_KEYWORDS.
17   For packages that don't specify any other KEYWORDS you can use the new ** token
18   as documented in portage(5) to disable KEYWORDS filtering completely.
19
20 portage-2.1.5
21 ==================================
22
23 * The pkg_postinst phase is now called after the previous version of a
24   package has been removed. As a consequence, it is no longer possible
25   to call has_version in pkg_postinst to detect whether the current
26   install operation is an upgrade or downgrade. If this information is
27   needed during the pkg_postinst phase, do the has_version call in an
28   earlier phase (such as pkg_preinst) and store the result in a global
29   variable to be accessed by pkg_postinst when it is called. Bug #226505
30   tracks all issues related to this phase execution order change.
31
32 * The metadata-transfer feature is now disabled by default. This disables the
33   "Updating Portage cache" routine that used to run at the tail end of each
34   `emerge --sync` operation. If you use something like the sqlite module and
35   want to keep all metadata in that format alone (useful for querying), enable
36   FEATURES="metadata-transfer" in make.conf. You should also enable
37   FEATURES="metadata-transfer" if you have any eclasses from PORTDIR_OVERLAY
38   that override eclasses from PORTDIR (in this case, you may have disabled
39   a relevant warning message by setting PORTAGE_ECLASS_WARNING_ENABLE="0" in
40   make.conf).
41
42 * The parallel-fetch feature is now enabled by default. It is optimized
43   to avoid doing redundant checksums for previously downloaded files that have
44   the correct size. Run `tail -f /var/log/emerge-fetch.log` in a
45   terminal to view parallel-fetch progress. Add FEATURES="-parallel-fetch"
46   to /etc/make.conf if you want to disable this feature.
47
48 * For extra careful dependency handling, emerge has a new --complete-graph
49   option that causes it to consider the deep dependencies of all packages from
50   the system and world sets. With this option enabled, emerge will bail out
51   if it determines that the given operation will break any dependencies of
52   the packages that have been added to the graph. Unlike the --deep option,
53   the --complete-graph option does not cause any more packages to be updated
54   than would have otherwise been updated with the option disabled.
55
56 portage-2.1.4.1
57 ==================================
58
59 * If you have an overlay then you should remove **/files/digest-*
60   files (Manifest1) because they are no longer supported.
61 * If earlier versions of portage will be used to generate manifests
62   for your overlay then you should add a file named manifest1_obsolete
63   to the root of the repository in order to disable generation of the
64   Manifest1 digest files.
65
66 portage-2.1.4
67 ==================================
68
69 * Visibility filtering is now supported for binary packages, so masking behavior
70   is essentially equivalent to that of ebuilds.
71 * There is no need to have a complete portage tree available when installing binary
72   packages or uninstalling packages, but a warning message will still be displayed if
73   it appears that a valid profile is not available.
74
75 portage-2.1.3
76 ==================================
77
78 * Portage now requires >=python-2.4, but doesn't need pycrypto anymore if
79   >=python-2.5 is installed and openssl supports the rmd160 hash.
80 * The "save_summary" and "echo" elog modules are now enabled by default. Setting
81   PORTAGE_ELOG_SYSTEM in make.conf will override this, so if you don't want elog
82   set PORTAGE_ELOG_SYSTEM="" in make.conf
83 * The unmerge process will remove any file that is not claimed by another
84   package in the same slot and is not protected by CONFIG_PROTECT, even if the
85   modification time or checksum differs from the file that was originally
86   installed.  The old behavior is still available by adding -unmerge-orphans
87   to FEATURES.
88 * The world file now supports slot atoms such as 'sys-devel/gcc:3.4'. In some
89   cases, emerge --depclean may remove slots that it would not have removed
90   in the past. The emerge --noreplace command can be used to add an atom to the
91   world file and prevent matching packages from being removed.  A slot atom
92   will be recorded in the world file for any atom that is precise enough to
93   identify a specific slot.
94 * For safer operation, emerge --prune will not unmerge packages that have
95   reverse dependencies. Use --verbose to display reverse dependencies. Use
96   --nodeps to completely ignore dependencies.
97 * emerge --depclean now accepts atoms and will unmerge only the specified
98   packages if nothing depends on them. Use --verbose to display reverse
99   dependencies.
100
101 portage-2.1.2
102 ==================================
103
104 * Depending on the number of packages installed, users may notice a difference
105   in the time taken for dependency calculations.  This performance penalty is
106   due to the addition of important new features which include the ability to
107   detect reverse blockers, the building of a complete dependency graph, and the
108   ability to use installed packages to satisify dependencies even after their
109   ebuilds have been removed from the portage tree.
110 * emerge does not necessarily update build time dependencies that are not
111   strictly required.  See the --with-bdeps option in the emerge(1) man page.
112
113 portage-2.1.1
114 ==================================
115
116 * emerge --search doesn't use regular expressions now anymore by default, so
117   emerge --search dvd+rw-tools now works as expected. Regular expressions can be enabled
118   by prefixing the search string with %. 
119 * emerge --depclean algorithm is much safer than the old one.
120 * emerge --newuse detects changes in IUSE that previously went undetected.
121
122 portage-2.1
123 ==================================
124
125 * new cache framework, breaking all old cache modules.
126   If you're having problems with portage_db_cdb, this is likely the cause.
127 * USE flag output ordering has changed.  The old ordering is now an option
128   by the name of --alphabetical.  Adding the option to EMERGE_DEFAULT_OPTS
129   in make.conf will restore the old behaviour permanently.
130 * The deprecated --inject has been removed, use /etc/portage/profile/package.provided
131 * The deprecated --upgradeonly has been removed, use /etc/portage/package.* 
132   instead.
133 * 'emerge sync' has been deprecated, use 'emerge --sync' instead (same 
134   for other actions)
135 * Tools that call emerge should override the EMERGE_DEFAULT_OPTS environment
136   variable or use the emerge --ignore-default-opts option.
137 * rsync option handling has been redesigned, instead of RSYNC_* variables
138   use PORTAGE_RSYNC_EXTRA_OPTS from now on.
139 * autouse (use.defaults) has been deprecated by specifying USE_ORDER in make.defaults
140   Users may still turn this back on by specifying USE_ORDER="env:pkg:conf:auto:defaults"
141   in make.conf.  Interested in figuring out what use flags were turned off?  Check out
142   /usr/portage/profiles/base/use.defaults and other use.defaults files that correspond 
143   to your profile.
144