note that sets can't contain other sets
[portage.git] / RELEASE-NOTES
1 Release Notes; upgrade information mainly.
2 Features/major bugfixes are listed in NEWS
3
4 portage-2.2
5 ==================================
6
7 * The python namespace for portage has been sanitized, all portage related code
8   is now contained within the portage namespace. External script should be updated
9   accordingly, though links exist for backward compability.
10 * -* support in package.keywords was changed as it was inconsistent with 
11   ACCEPT_KEYWORDS behavior (also see http://dev.gentoo.org/~genone/docs/KEYWORDS.stupid).
12   Previously having -* in package.keywords matched packages with KEYWORDS="-*", 
13   now it resets the ACCEPT_KEYWORDS list for the given atom like it does when
14   used in ACCEPT_KEYWORDS.
15   For packages that don't specify any other KEYWORDS you can use the new ** token
16   as documented in portage(5) to disable KEYWORDS filtering completely.
17 * Portage now warns if an ebuild repository does not have a name, as several new
18   features in 2.2 make use of or require named repositories. The repository name
19   is stored in profiles/repo_name in each repository.
20 * Package set support: There are several important notes regarding package sets:
21   - they may currently only include simple and versioned atom, use conditionals
22     or any-of constructs aren't possible yet
23   - emerge makes no difference atm wether you pass a setname or all atoms contained
24     in the set to it, this means that without options packages will be remerged if 
25         already installed and added to the worldfile (exception: "world" and "system"
26         are still handled specially), or in the case of --unmerge all atoms in a set
27         will be unmerged even if they are depended upon by other packages
28   - sets shadow packages with the same name
29   - sets can not contain other sets     
30
31 portage-2.1.3
32 ==================================
33
34 * Portage now requires >=python-2.4, but doesn't need pycrypto anymore if
35   >=python-2.5 is installed and openssl supports the rmd160 hash.
36 * The "save_summary" and "echo" elog modules are now enabled by default. Setting
37   PORTAGE_ELOG_SYSTEM in make.conf will override this, so if you don't want elog
38   set PORTAGE_ELOG_SYSTEM="" in make.conf
39 * The unmerge process will remove any file that is not claimed by another
40   package in the same slot and is not protected by CONFIG_PROTECT, even if the
41   modification time or checksum differs from the file that was originally
42   installed.  The old behavior is still available by adding -unmerge-orphans
43   to FEATURES.
44 * The world file now supports slot atoms such as 'sys-devel/gcc:3.4'. In some
45   cases, emerge --depclean may remove slots that it would not have removed
46   in the past. The emerge --noreplace command can be used to add an atom to the
47   world file and prevent matching packages from being removed.  A slot atom
48   will be recorded in the world file for any atom that is precise enough to
49   identify a specific slot.
50 * For safer operation, emerge --prune will not unmerge packages that have
51   reverse dependencies. Use --verbose to display reverse dependencies. Use
52   --nodeps to completely ignore dependencies.
53 * emerge --depclean now accepts atoms and will unmerge only the specified
54   packages if nothing depends on them. Use --verbose to display reverse
55   dependencies.
56
57 portage-2.1.2
58 ==================================
59
60 * Depending on the number of packages installed, users may notice a difference
61   in the time taken for dependency calculations.  This performance penalty is
62   due to the addition of important new features which include the ability to
63   detect reverse blockers, the building of a complete dependency graph, and the
64   ability to use installed packages to satisify dependencies even after their
65   ebuilds have been removed from the portage tree.
66 * emerge does not necessarily update build time dependencies that are not
67   strictly required.  See the --with-bdeps option in the emerge(1) man page.
68
69 portage-2.1.1
70 ==================================
71
72 * emerge --search doesn't use regular expressions now anymore by default, so
73   emerge --search dvd+rw-tools now works as expected. Regular expressions can be enabled
74   by prefixing the search string with %. 
75 * emerge --depclean algorithm is much safer than the old one.
76 * emerge --newuse detects changes in IUSE that previously went undetected.
77
78 portage-2.1
79 ==================================
80
81 * new cache framework, breaking all old cache modules.
82   If you're having problems with portage_db_cdb, this is likely the cause.
83 * USE flag output ordering has changed.  The old ordering is now an option
84   by the name of --alphabetical.  Adding the option to EMERGE_DEFAULT_OPTS
85   in make.conf will restore the old behaviour permanently.
86 * The deprecated --inject has been removed, use /etc/portage/profile/package.provided
87 * The deprecated --upgradeonly has been removed, use /etc/portage/package.* 
88   instead.
89 * 'emerge sync' has been deprecated, use 'emerge --sync' instead (same 
90   for other actions)
91 * Tools that call emerge should override the EMERGE_DEFAULT_OPTS environment
92   variable or use the emerge --ignore-default-opts option.
93 * rsync option handling has been redesigned, instead of RSYNC_* variables
94   use PORTAGE_RSYNC_EXTRA_OPTS from now on.
95 * autouse (use.defaults) has been deprecated by specifying USE_ORDER in make.defaults
96   Users may still turn this back on by specifying USE_ORDER="env:pkg:conf:auto:defaults"
97   in make.conf.  Interested in figuring out what use flags were turned off?  Check out
98   /usr/portage/profiles/base/use.defaults and other use.defaults files that correspond 
99   to your profile.
100