Fabian Groffen [Fri, 20 Jul 2007 07:23:25 +0000 (07:23 -0000)]
Give more information that might help to identify the culprit.
svn path=/main/branches/prefix/; revision=7324
Fabian Groffen [Fri, 20 Jul 2007 07:20:53 +0000 (07:20 -0000)]
Remove typically Vim-typo.
svn path=/main/branches/prefix/; revision=7323
Fabian Groffen [Thu, 19 Jul 2007 17:11:37 +0000 (17:11 -0000)]
Merged from trunk 7284:7306
+------------------------------------------------------------------------+
| 7285 | Sort the atoms when writing the world file. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7286 | Always be sure to load the latest version of the world file |
| zmedico | while it's locked. |
|---------+--------------------------------------------------------------|
| 7287 | Revert PackageSet.containsCPV() calls back to |
| zmedico | findAtomForPackage() calls so that things like slot atoms |
| | and old-style virtuals are properly supported. |
|---------+--------------------------------------------------------------|
| 7288 | Make sure PackageSet._atoms is always a set. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7289 | Make sure the atoms are loaded when calling |
| zmedico | PackageSet.findAtomForPackage(). |
|---------+--------------------------------------------------------------|
| 7290 | Don't show the repo display when the package list is empty. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7292 | When dep_expand throws a ValueError due to an ambiguous |
| zmedico | atom, try to expand it against the installed packages in |
| | case it yields a unique match. |
|---------+--------------------------------------------------------------|
| 7294 | When expanding ambiguous atoms against the vardb, make sure |
| zmedico | the the expanded package is also available in the portage |
| | tree. |
|---------+--------------------------------------------------------------|
| 7296 | For bug #185670, make sure package.use.{mask,force} are |
| zmedico | properly displayed. |
|---------+--------------------------------------------------------------|
| 7298 | Unify USE handling in the depgraph with the other metadata. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7300 | Use PF in dyn_package. Thanks to swegener. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7301 | Make PackageSet._updateAtomMap() clear the map in case |
| zmedico | something was removed. |
|---------+--------------------------------------------------------------|
| 7302 | Use PackageSet.getAtoms() as a wrapper around load() since |
| zmedico | load() can trigger unnecessary stat calls. |
|---------+--------------------------------------------------------------|
| 7303 | Iterate over a list in order to avoid breaking the iterator |
| zmedico | when an atom is removed. |
|---------+--------------------------------------------------------------|
| 7305 | Use the --depclean algorithm to make --prune safe. The old |
| zmedico | unsafe --prune will be used if the --nodeps option is |
| | specified. |
|---------+--------------------------------------------------------------|
| 7306 | Allow atoms to be specified for --depclean so that it can be |
| zmedico | used to safely unmerge packages if nothing depends on them. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7307
Fabian Groffen [Mon, 16 Jul 2007 17:34:24 +0000 (17:34 -0000)]
Merged from trunk 7269:7283
+------------------------------------------------------------------------+
| 7270 | sync MAILSUBJECT in make.conf with make.globals |
| genone | |
|--------+---------------------------------------------------------------|
| 7271 | s/node/atom/ and other minor updates |
| genone | |
|--------+---------------------------------------------------------------|
| 7272 | Make PackageSet to behave more like a real set, and change |
| genone | loading logic a bit to avoid unnecessary reloads for editable |
| | sets |
|--------+---------------------------------------------------------------|
| 7273 | use a more logical approach for editable sets |
| genone | |
|--------+---------------------------------------------------------------|
| 7274 | fix load logic for editable sets once more |
| genone | |
|--------+---------------------------------------------------------------|
| 7275 | ignore already applied glsas when loading the security set |
| genone | |
|--------+---------------------------------------------------------------|
| 7276 | add support for metadata |
| genone | |
|--------+---------------------------------------------------------------|
| 7277 | fix metadata parsing for file-based sets, add support for |
| genone | user-defined file sets in test code |
|--------+---------------------------------------------------------------|
| 7278 | disable FEATURES=gpg as it's unmaintained, useless and likely |
| genone | broken for many people |
|--------+---------------------------------------------------------------|
| 7279 | replace emerge.AtomSet with portage.sets.InternalPackageSet |
| genone | |
|--------+---------------------------------------------------------------|
| 7280 | break recursion cycle |
| genone | |
|--------+---------------------------------------------------------------|
| 7281 | Replace emerge.SystemSet with |
| genone | portage.sets.profiles.PackagesSystemSet |
|--------+---------------------------------------------------------------|
| 7282 | break another recursion cycle, add special subclass for |
| genone | "world" to handle locking |
|--------+---------------------------------------------------------------|
| 7283 | Replace emerge.WorldSet with portage.sets.files.WorldSet |
| genone | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7284
Fabian Groffen [Sun, 15 Jul 2007 09:38:30 +0000 (09:38 -0000)]
Merged from trunk 7253:7267
+------------------------------------------------------------------------+
| 7254 | For bug #185278, make the verbose flag display show |
| zmedico | masked/forced flag status for binary packages too. |
|----------+-------------------------------------------------------------|
| 7256 | Make the repo display work for overlays that don't define |
| zmedico | repo_name (like it used to). |
|----------+-------------------------------------------------------------|
| 7257 | Always show PORTDIR with index 0 in the repo display. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7258 | Encapsulate the repo display code in a class. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7259 | Use sys.stdout instead of print to avoid an extra newline. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7260 | Remove unused repo_name code. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7263 | When deciding if a package is slotted inside |
| zmedico | create_world_atom(), check the vdb in case the package is |
| | multislot. |
|----------+-------------------------------------------------------------|
| 7265 | Fix typo. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7267 | split up the debug/sources steps as proposed by swegener |
| SpankMan | and give the whole file a cleanup |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7268
Fabian Groffen [Sat, 14 Jul 2007 09:32:14 +0000 (09:32 -0000)]
Merged from trunk 7246:7251
+------------------------------------------------------------------------+
| 7247 | Save the repo name along with the other metadata inside |
| zmedico | dyn_compile() so that it's saved inside binary packages for |
| | when they are finally merged. |
|---------+--------------------------------------------------------------|
| 7249 | Misc fixes for verbose repo output: - Support binary |
| zmedico | packages by using the 'repository' metadata that's stored in |
| | the package. - Support PORTAGE_CONFIGROOT, showing repos |
| | from both configs if necessary. - Dynamic allocation of repo |
| | indexes so only relevant repos are shown. |
|---------+--------------------------------------------------------------|
| 7250 | Fix it so that the 'repository could not be determined' |
| zmedico | message is shown when appropriate (issue with variable |
| | scope). |
|---------+--------------------------------------------------------------|
| 7251 | PDEPEND is now installed as soon as possible so that it |
| zmedico | behaves more like RDEPEND. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7253
Fabian Groffen [Fri, 13 Jul 2007 19:35:55 +0000 (19:35 -0000)]
Fix problem that for now only I encountered as in
http://article.gmane.org/gmane.linux.gentoo.alt/2778
dbapi.getRepositoryPath returns an os.path.realpath-ified path of the
repository, which means in case of symlinks (my case) this is different
from what the PORTDIR variable gives. So before comparing,
os.path.realpath-ify the PORTDIR too.
svn path=/main/branches/prefix/; revision=7245
Fabian Groffen [Fri, 13 Jul 2007 17:59:44 +0000 (17:59 -0000)]
Merged from trunk 7209:7242
+------------------------------------------------------------------------+
| 7210 | - remove readable bits for debug files if the souce ELF is |
| solar | setXid |
|---------+--------------------------------------------------------------|
| 7211 | - be quiet about overlays profiles/repo_name entry when |
| solar | --quiet mode is used |
|---------+--------------------------------------------------------------|
| 7212 | Remove the repo_name warning in the portdbapi constructor |
| zmedico | since we don't want to see a warning every time the portage |
| | module is imported. |
|---------+--------------------------------------------------------------|
| 7214 | For bug #184806, account for the fact the metadata is not |
| zmedico | cached for slot_collision_nodes. |
|---------+--------------------------------------------------------------|
| 7216 | For bug #184604, make env-update write $ in front of quoted |
| zmedico | values when appropriate. |
|---------+--------------------------------------------------------------|
| 7218 | For bug #184843, allow USE_EXPAND variables to pass through |
| zmedico | if none of their flags are in IUSE. This allows packages |
| | that support LINGUAS but don't declare it in IUSE to use the |
| | variable outside of the USE_EXPAND context. |
|---------+--------------------------------------------------------------|
| 7220 | For bug #184679, handle ENOTDIR by finding the non-directory |
| zmedico | parent and testing that for collision instead. |
|---------+--------------------------------------------------------------|
| 7222 | For bug #184687, skip the huge --depclean warning when |
| zmedico | --quiet mode is enabled. |
|---------+--------------------------------------------------------------|
| 7224 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7226 | Fix another case similar to bug #184806 that can occur with |
| zmedico | --onlydeps. |
|---------+--------------------------------------------------------------|
| 7228 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7230 | Use set.discard() instead of remove() to avoid a potential |
| zmedico | KeyError. |
|---------+--------------------------------------------------------------|
| 7237 | For bug #184983, prevent USE_EXPAND_HIDDEN flags from being |
| zmedico | hidden if they are the only thing that triggered |
| | reinstallation. |
|---------+--------------------------------------------------------------|
| 7239 | Make depgraph._reinstall_for_flags() always return all |
| zmedico | revelant flags. |
|---------+--------------------------------------------------------------|
| 7241 | Fix the case where the currently installed package is from a |
| zmedico | repo that is no longer in the overlay (oldrepo is None |
| | rather than an empty string). |
|---------+--------------------------------------------------------------|
| 7242 | Add "reset" to the list of attributes. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7244
Fabian Groffen [Mon, 9 Jul 2007 17:24:57 +0000 (17:24 -0000)]
Merged from trunk 7163:7207
+------------------------------------------------------------------------+
| 7164 | Don't store unslotted system packages in the world file. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7166 | Fix emerge by ebuild path so that it works properly. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7168 | add modified copy of gentoolkits glsa.py (r410) |
| genone | |
|----------+-------------------------------------------------------------|
| 7169 | Enable keyword expansion |
| genone | |
|----------+-------------------------------------------------------------|
| 7170 | Add first draft of PackageSet backend modules |
| genone | |
|----------+-------------------------------------------------------------|
| 7171 | Fix emerge by tbz2 path so that it works properly. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7172 | fix copyright year |
| genone | |
|----------+-------------------------------------------------------------|
| 7174 | Remove the PKG_*ARG* color classes in order to simplify |
| zmedico | things since it's questionable whether many people will |
| | want to use them. Also, make the PKG_*SYSTEM colors default |
| | to the traditional colors since people are generally most |
| | interested in world packages. |
|----------+-------------------------------------------------------------|
| 7176 | ignore generated docs |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 7177 | tighten up --quiet output for --unmerge |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 7178 | Count the number of merges processed by MergeTask and use |
| zmedico | that to determine whether or not post_merge() should run. |
|----------+-------------------------------------------------------------|
| 7180 | Don't exclude system virtuals from world since they can |
| zmedico | match multiple old-style virtuals but only one of them will |
| | be pulled in by update or depclean. |
|----------+-------------------------------------------------------------|
| 7183 | Misc color fixes. Thanks to Arfrever Frehtes Taifersar |
| zmedico | Arahesis <Arfrever.FTA@GMail.Com> for this patch from |
| | bug#183861, comment #9. |
|----------+-------------------------------------------------------------|
| 7185 | When depgraph updates preferences for old-style virtuals, |
| zmedico | also update them in the global config so that they are |
| | consistent everywhere. Optimize config.setinst() to |
| | minimize the work done. |
|----------+-------------------------------------------------------------|
| 7187 | Add a depgaph.loadResumeCommand() method to handle loading |
| zmedico | and validation of all resume data. |
|----------+-------------------------------------------------------------|
| 7189 | `find` can accept a list of paths so condense this nested |
| SpankMan | for loop, and dont split off debug information for ET_REL |
| | files as these are never pulled in via debug utilities (and |
| | can trigger weird behavior in binutils when linked into |
| | things, like glibcs crt1.o) |
|----------+-------------------------------------------------------------|
| 7191 | Now that the "white" color code really is white, alias it |
| zmedico | to bold where it's used by emerge since white looks bad on |
| | a terminal with a white background. |
|----------+-------------------------------------------------------------|
| 7193 | allow split debuf for kernel modules |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 7195 | For bug #184412, make depclean more consistent with the |
| zmedico | update algorithm by keeping the highest version that as |
| | visible in the portage tree and pruning any versions that |
| | are either masked or no longer exist in the portage tree. |
|----------+-------------------------------------------------------------|
| 7197 | Allow system virtuals to be pruned from the world file in |
| zmedico | cases where the matched package is the only provider of |
| | that virtual. |
|----------+-------------------------------------------------------------|
| 7199 | Add color classes PROMPT_CHOICE_{DEFAULT,OTHER} for |
| zmedico | emerge's Yes/No prompt. |
|----------+-------------------------------------------------------------|
| 7201 | For bug #184566, enable the emerge --info action to run an |
| zmedico | option pkg_info() function from each installed ebuild. |
|----------+-------------------------------------------------------------|
| 7203 | Make dblink invalidate the vardbapi caches for each merge |
| zmedico | and unmerge. Don't use portage.listdir() since mtime |
| | granularity can prevent cachedir from invalidating it's |
| | cache properly and this redundant cache layer isn't needed |
| | anyway. This should solve the intermittent failure of |
| | AUTOCLEAN to properly clean packages. |
|----------+-------------------------------------------------------------|
| 7204 | Pass the file path into the PermissionDenied exception. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 7206 | simplify logic a bit |
| genone | |
|----------+-------------------------------------------------------------|
| 7207 | Fix interaction of resume opts with spinner output handling |
| zmedico | so that output always looks correct. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7209
Fabian Groffen [Thu, 5 Jul 2007 19:19:41 +0000 (19:19 -0000)]
Merged from trunk 7137:7161
+------------------------------------------------------------------------+
| 7138 | In depgraph.select_files(), unify favorites handling with |
| zmedico | the other args handling. |
|---------+--------------------------------------------------------------|
| 7139 | Fix --oneshot handling from the previous commit. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7140 | Use depgraph._args_nodes to simplify |
| zmedico | depgraph.saveNomergeFavorites(). |
|---------+--------------------------------------------------------------|
| 7142 | Record a slot atom in the world file for any atom that is |
| zmedico | precise enough to identify a specific slot. Make depclean |
| | clean unnecessary slots of system and world packages. For |
| | update and depclean, world atoms can be greedy with slots |
| | while system atoms can not. |
|---------+--------------------------------------------------------------|
| 7144 | Fix greedy atoms logic for system mode. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7146 | For bug #183861, allow a color class in color.map to specify |
| zmedico | a space separated list of attributes so that any combination |
| | of foreground, background, and other attributes is possible. |
| | Thanks to Arfrever Frehtes Taifersar Arahesis |
| | <Arfrever.FTA@GMail.Com> for this patch. |
|---------+--------------------------------------------------------------|
| 7147 | Add a "onerror" callback to parse_color_map() for handling |
| zmedico | each ParseError that would otherwise be raised. |
|---------+--------------------------------------------------------------|
| 7148 | Fix broken code concatenation logic in parse_color_map(). |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7149 | Make the color class handling for package sets more |
| zmedico | consistent as suggested in comment #2 of bug #183861. |
|---------+--------------------------------------------------------------|
| 7150 | Document the additional color classes for bug #183861. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7153 | Replace sys.exit() with return in depgraph.display() and |
| zmedico | action_build(). |
|---------+--------------------------------------------------------------|
| 7155 | Add note about repo name warnings |
| genone | |
|---------+--------------------------------------------------------------|
| 7157 | Remove fallback imports for set(), and note minimum |
| genone | requirement of python-2.4 |
|---------+--------------------------------------------------------------|
| 7159 | Remove redundant config update notification (bug #184116) |
| genone | |
|---------+--------------------------------------------------------------|
| 7161 | Move depgraph._args_atoms to depgraph._sets["args"] and move |
| zmedico | depgraph._args_nodes to self._set_nodes. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7163
Fabian Groffen [Tue, 3 Jul 2007 16:31:36 +0000 (16:31 -0000)]
Merged from trunk 7130:7135
+------------------------------------------------------------------------+
| 7131 | Clean up system and world set handling. For forward |
| zmedico | compatibility, the world file handling now allows the world |
| | file to contain arbitrary atoms such as slot atoms. |
|---------+--------------------------------------------------------------|
| 7132 | Add USE to the list of metadata keys to pull. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7133 | Fix broken favorites handling with --usepkg. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7135 | Implement BlockerCache.keys() so that DictMixin.__repr__() |
| zmedico | works. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7137
Fabian Groffen [Mon, 2 Jul 2007 20:52:02 +0000 (20:52 -0000)]
Cleaned up configure, removed unnecessary checks (greatly speeds up)
Cleaned up users/groups stuff with configure arguments
Removed python-missingos since we don't work with prehistoric pythons
for ages any more (prehistoric starts at < 2.2.3)
svn path=/main/branches/prefix/; revision=7130
Fabian Groffen [Mon, 2 Jul 2007 17:34:40 +0000 (17:34 -0000)]
Remove --wheelgid from configure, and wheelgid from const_autotool. The
wheel group isn't really used in portage and superseeded by the portage
group.
svn path=/main/branches/prefix/; revision=7129
Fabian Groffen [Mon, 2 Jul 2007 17:31:24 +0000 (17:31 -0000)]
Merged from trunk 7090:7126
+------------------------------------------------------------------------+
| 7091 | For bug #183639, give a more informative message with the |
| zmedico | package.provided warning. |
|---------+--------------------------------------------------------------|
| 7093 | Test for existence of the getRepositories method since |
| zmedico | bindbapi doesn't have it atm. |
|---------+--------------------------------------------------------------|
| 7094 | Add a 0xAAAA00 rgb color code to represent the darkyellow |
| zmedico | color that some terminals have instead of brown. |
|---------+--------------------------------------------------------------|
| 7096 | print a notice when a repository/overlay does not have a |
| genone | name |
|---------+--------------------------------------------------------------|
| 7097 | ewarn when merging a package and the source |
| genone | repository/overlay does not have a name |
|---------+--------------------------------------------------------------|
| 7098 | apply additional phase filters as otherwise some messages |
| genone | are logged in both unmerge and merge |
|---------+--------------------------------------------------------------|
| 7099 | Remove old wheel group warnings since portage stopped using |
| zmedico | this group long ago. |
|---------+--------------------------------------------------------------|
| 7100 | Add docs for /etc/portage/color.map and a few misc man page |
| zmedico | fixes. Thanks to Arfrever Frehtes Taifersar Arahesis |
| | <Arfrever.FTA@GMail.Com> in bug #183758. |
|---------+--------------------------------------------------------------|
| 7102 | Add a QA warning for invalid values of RESTRICT. Thanks to |
| zmedico | peper for the patch. |
|---------+--------------------------------------------------------------|
| 7104 | For bug #180045, try to merge PDEPEND as soon as possible so |
| zmedico | that it behaves more like RDEPEND. |
|---------+--------------------------------------------------------------|
| 7106 | Add medium-soft support to DepPriority.__str__(). |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7108 | Update --buildpkgonly logic to account for |
| zmedico | DepPriority.MEDIUM_SOFT. |
|---------+--------------------------------------------------------------|
| 7110 | Revert --buildpkgonly logic back because it was already |
| zmedico | correct. |
|---------+--------------------------------------------------------------|
| 7112 | For bug #131030, update the warning about potential for |
| zmedico | emerge --sync overwrite or delete files in ${PORTDIR}. Add |
| | references to the PKGDIR and DISTDIR docs. |
|---------+--------------------------------------------------------------|
| 7114 | s/PORTAGE_EXTRA_RSYNC_OPTS/PORTAGE_RSYNC_OPTS/ for |
| zmedico | correctness. |
|---------+--------------------------------------------------------------|
| 7116 | If necessary, resample the leaf nodes so that they include |
| zmedico | all nodes whose hard deps are satisfied. |
|---------+--------------------------------------------------------------|
| 7118 | Move medium priority out of ignore_priority_range and handle |
| zmedico | it separately. |
|---------+--------------------------------------------------------------|
| 7120 | Flatten restrict for the RESTRICT.invalid check. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7122 | Clean up the selected_nodes logic in depgraph.altlist(). |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7124 | Clone asap_nodes so that iteration is safe for node removal. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7126 | Prefer asap_nodes more aggressively over any other nodes |
| zmedico | whenever possible. If no asap_nodes can be selected for a |
| | given iteration, they will be ignored for the next |
| | iteration. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7128
Fabian Groffen [Fri, 29 Jun 2007 09:49:07 +0000 (09:49 -0000)]
Merged from trunk 7086:7089
+------------------------------------------------------------------------+
| 7087 | Store name of source repository in vdb node for later |
| genone | comparison |
|--------+---------------------------------------------------------------|
| 7088 | Use better parseable format for list_preserved_libs |
| genone | |
|--------+---------------------------------------------------------------|
| 7089 | display source repository for installed package and target |
| genone | package (bug #67072) |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7090
Fabian Groffen [Thu, 28 Jun 2007 19:06:46 +0000 (19:06 -0000)]
Merged from trunk 7080:7083
+------------------------------------------------------------------------+
| 7081 | For bug #144333, document the new --reinstall=changed-use |
| zmedico | option. |
|---------+--------------------------------------------------------------|
| 7083 | Fix typo. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7085
Fabian Groffen [Thu, 28 Jun 2007 09:28:07 +0000 (09:28 -0000)]
Merged from trunk 7054:7078
+------------------------------------------------------------------------+
| 7055 | Format $EBUILD_OVERLAY_ECLASSES output more like it was |
| zmedico | before. |
|---------+--------------------------------------------------------------|
| 7057 | Fix quoting. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7059 | For bug #142473, account for $ROOT when deciding if a |
| zmedico | package is part of world or not. |
|---------+--------------------------------------------------------------|
| 7061 | Instead of just a list, use a cat/pkg dict for matching |
| zmedico | packages against args in the depgraph. |
|---------+--------------------------------------------------------------|
| 7063 | Improve tracking of correspondence between arguments and |
| zmedico | packages in the depgraph. |
|---------+--------------------------------------------------------------|
| 7064 | Cache aux_get() metadata in depgraph.create() and use |
| zmedico | PROVIDE for matching packages to arguments. |
|---------+--------------------------------------------------------------|
| 7065 | Just use a containment test for matching pprovided args |
| zmedico | since it works correctly and match_to_list() isn't |
| | appropriate for this. |
|---------+--------------------------------------------------------------|
| 7067 | Discard "nomerge" nodes to speed up depgraph.altlist() since |
| zmedico | those nodes aren't used and the --tree algorithm does a good |
| | job of regenerating them when appropriate. |
|---------+--------------------------------------------------------------|
| 7069 | For bug #144333, make the --reinstall option a single choice |
| zmedico | type. |
|---------+--------------------------------------------------------------|
| 7071 | When filling in "nomerge" nodes for --tree display, stop at |
| zmedico | a node that is an argument or a direct member of a set that |
| | has been specified as an argument (system or world). |
|---------+--------------------------------------------------------------|
| 7073 | For bug #183431, catch a ParseError caused by a corrupt |
| zmedico | profile and dump an error message. This allows emerge to |
| | continue with actions that don't require a valid profile, |
| | such as --sync. |
|---------+--------------------------------------------------------------|
| 7075 | For bug #142473, add 2 additional color classes for system |
| zmedico | packages and packages matched by arguments. |
|---------+--------------------------------------------------------------|
| 7076 | Don't colorize system package when in "world" mode. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7078 | Remove unused worldlist variable. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7080
Fabian Groffen [Wed, 27 Jun 2007 07:57:53 +0000 (07:57 -0000)]
Merged from trunk 7038:7052
+------------------------------------------------------------------------+
| 7039 | Add sanity checks in fetch() and digestgen() to |
| zmedico | automatically detect and handle invalid empty distfiles |
| | since some users have reported difficulty when trying to |
| | create digests. |
|---------+--------------------------------------------------------------|
| 7041 | Add one more size == 0 check to digestgen(). |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7042 | Short circuit the loop as soon as missing hashes are |
| zmedico | detected. |
|---------+--------------------------------------------------------------|
| 7044 | Short circuit the loop as soon as missing hashes are |
| zmedico | detected. |
|---------+--------------------------------------------------------------|
| 7046 | Preserve merge order in elog output. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7047 | Send the ebuild die message through eerror and make sure |
| zmedico | that elog_process() gets called when an ebuild dies. This |
| | makes the elog echo module display the die message last in |
| | case other elog messages push the original die message off |
| | of the top of the screen. |
|---------+--------------------------------------------------------------|
| 7050 | Format the callstack indentation more like it used to be. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7052 | For bug #144333, add a --reinstall=changed-use option which |
| zmedico | behaves similar to how --newuse behaved in portage-2.0.x |
| | days. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7054
Fabian Groffen [Tue, 26 Jun 2007 17:45:18 +0000 (17:45 -0000)]
Haven't seen portage meltdowns lately, so we can revert my hack to keep
it going.
svn path=/main/branches/prefix/; revision=7038
Fabian Groffen [Tue, 26 Jun 2007 15:45:24 +0000 (15:45 -0000)]
Fix up make.conf, as some people really read it and copy over the
examples, which in that case should work.
svn path=/main/branches/prefix/; revision=7037
Fabian Groffen [Tue, 26 Jun 2007 15:33:00 +0000 (15:33 -0000)]
Merged from trunk 7033:7034
+------------------------------------------------------------------------+
| 7034 | For bug #183167, explicitly call elog_process() when |
| zmedico | --buildpkgonly is enabled. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7036
Fabian Groffen [Mon, 25 Jun 2007 12:07:54 +0000 (12:07 -0000)]
Merged from trunk 6995:7031
+------------------------------------------------------------------------+
| 6996 | Fix more typos from r6988. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6999 | For bug #180706, add sorting and a trailing newline in the |
| zmedico | rest of the cases where the world file is written. |
|---------+--------------------------------------------------------------|
| 7002 | Fix broken base_uri handling for old-style binhosts in |
| zmedico | binarytree.gettbz2(). |
|---------+--------------------------------------------------------------|
| 7004 | Update the FETCHCOMMAND docs to indicate that the command |
| zmedico | should be +written to place the fetched file at |
| | ${DISTDIR}/${FILE}. |
|---------+--------------------------------------------------------------|
| 7005 | Clarify RESUMECOMMAND requirements. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7008 | Use a set to optimize containment lookups. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7011 | Remove unused imports and unnecessary dict.keys() call. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7012 | Fix binarytree.isremote() to be consistent with |
| zmedico | binarytree.gettbz2() logic wrt partially downloaded files. |
|---------+--------------------------------------------------------------|
| 7014 | Clean up file_get() to use shlex, varexpand, and spawn. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7016 | For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in |
| zmedico | binarytree.gettbz2(). |
|---------+--------------------------------------------------------------|
| 7018 | Fix resume logic in binarytree.gettbz2(). |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7019 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7023 | For bug #175891, add sftp protocol support via the paramiko |
| zmedico | library. |
|---------+--------------------------------------------------------------|
| 7024 | Fix file_get_lib() so it behaves the same way with sftp as |
| zmedico | it does with other protocols. |
|---------+--------------------------------------------------------------|
| 7025 | Allow SystemExit through as usual. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7027 | Don't use urljoin() in binarytree.gettbz2() since it doesn't |
| zmedico | work correctly wih unrecognized protocols like sftp. |
|---------+--------------------------------------------------------------|
| 7029 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 7031 | For bug #142473, add 4 color classes corresponding to |
| zmedico | combinations of world/merge/nomerge attributes of each |
| | package. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=7033
Fabian Groffen [Sun, 24 Jun 2007 15:56:21 +0000 (15:56 -0000)]
Merged from trunk 6981:6990
+------------------------------------------------------------------------+
| 6982 | Fix check_config_instance() weirdness when the ebuild |
| zmedico | command reloads the portage module. |
|---------+--------------------------------------------------------------|
| 6983 | For bug #182964, replace os.rename() with portage.movefile() |
| zmedico | in cases where the parent directory might change. |
|---------+--------------------------------------------------------------|
| 6985 | Provide a default value for PORTAGE_BINPKG_TMPFILE in case |
| zmedico | the package phase is called by the ebuild command. |
|---------+--------------------------------------------------------------|
| 6986 | Always unlink the .installed flag prior to merge since |
| zmedico | portage.movefile() never leaves intact. |
|---------+--------------------------------------------------------------|
| 6987 | Make the fix for bug #139600 slightly less icky by grabbing |
| zmedico | the ACCEPT_KEYWORDS through mysettings.configdict[backupenv] |
| | instead of directly through os.environ. |
|---------+--------------------------------------------------------------|
| 6988 | Fix column alignment in unmerge output. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6989 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6990 | Handle 'Permission denied' errors that can occur if the |
| zmedico | current user isn't allowed to access PRIVATE_PATH. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6995
Fabian Groffen [Sun, 24 Jun 2007 15:50:52 +0000 (15:50 -0000)]
Merged from trunk 6971:6981
+------------------------------------------------------------------------+
| 6972 | add hashlib support for checksum verification, refactor |
| genone | checksum functions to not look like a complete mess |
|--------+---------------------------------------------------------------|
| 6973 | Allow sync for unpriviledges users if they have write access |
| genone | to $PORTDIR |
|--------+---------------------------------------------------------------|
| 6974 | syntax error |
| genone | |
|--------+---------------------------------------------------------------|
| 6975 | s/!owned/replaced/ in merge output to clarify it |
| genone | |
|--------+---------------------------------------------------------------|
| 6976 | sort the world file before writing it and ensure that it's |
| genone | terminated by a newline |
|--------+---------------------------------------------------------------|
| 6977 | change default diff_command for emacs (bug #147558) |
| genone | |
|--------+---------------------------------------------------------------|
| 6978 | dont break when the binhost url doesn't end with a slash (bug |
| genone | #144440) |
|--------+---------------------------------------------------------------|
| 6979 | highlight world packages in --pretend output (bug #142473) |
| genone | |
|--------+---------------------------------------------------------------|
| 6980 | Add a pointer from FETCHCOMMAND to RESUMECOMMAND (bug |
| genone | #141550) |
|--------+---------------------------------------------------------------|
| 6981 | get ACCEPT_KEYWORDS from the env in gvisible() to properly |
| genone | handle negated values (bug #139600) |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6994
Fabian Groffen [Sun, 24 Jun 2007 15:46:46 +0000 (15:46 -0000)]
Merged from trunk 6949:6970
+------------------------------------------------------------------------+
| 6950 | Update 2.1.3 news for elog stuff. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6952 | Add a note about potential for config mixups in elog |
| zmedico | finalizers. |
|---------+--------------------------------------------------------------|
| 6953 | Dump mod_echo elog output inside post_emerge(), just before |
| zmedico | the other notifications that happen at exit. |
|---------+--------------------------------------------------------------|
| 6954 | Document RESTRICT=bindist and add a note about allowance for |
| zmedico | conditional syntax. |
|---------+--------------------------------------------------------------|
| 6955 | Make elog finalize() handling safe for PORTAGE_CONFIGROOT. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6956 | Remove confcache docs. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6959 | Show which $ROOT a package was merged to when $ROOT is not |
| zmedico | /. |
|---------+--------------------------------------------------------------|
| 6962 | Add a logrotate config for the save_summary elog module |
| zmedico | since it's enabled by default now. |
|---------+--------------------------------------------------------------|
| 6964 | Remove redundant 'Usage: ' from the usage message. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6967 | For bug #182964, replace os.rename() with shutil.move() in |
| zmedico | order to handle EXDEV errors that are triggered by layered |
| | filesystems. |
|---------+--------------------------------------------------------------|
| 6969 | s/OSError/EnvironmentError/ since shutil.move() generally |
| zmedico | raises an IOError. |
|---------+--------------------------------------------------------------|
| 6970 | Revert r6967 since shutil.move() is broken internally. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6993
Fabian Groffen [Sun, 24 Jun 2007 15:46:15 +0000 (15:46 -0000)]
To avoid portage meltdowns for now, make it a warning when obj is not an
instance of type. Whatever this means, it appears to happen a lot
during e.g. ebuild .... digest, not sure why (yet).
svn path=/main/branches/prefix/; revision=6992
Fabian Groffen [Fri, 22 Jun 2007 09:14:05 +0000 (09:14 -0000)]
Move "-prefix" into main version, instead of repoman alone.
svn path=/main/branches/prefix/; revision=6949
Fabian Groffen [Fri, 22 Jun 2007 08:51:31 +0000 (08:51 -0000)]
Merged from trunk 6944:6945
+------------------------------------------------------------------------+
| 6945 | For bug #182428, make quickpkg exclude config files that are |
| zmedico | protected by CONFIG_PROTECT. Add a --include-config option |
| | that includes all config files and a |
| | --include-unmodified-config that includes config files that |
| | have not been modified since installation (matching md5sum). |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6947
Fabian Groffen [Fri, 22 Jun 2007 08:49:49 +0000 (08:49 -0000)]
Merged from trunk 6917:6937
+------------------------------------------------------------------------+
| 6917 | Autodetect if sandbox is active in order to prevent |
| zmedico | recursive sandbox invocation. Thanks to Brian Harring for |
| | the suggestion. |
|----------+-------------------------------------------------------------|
| 6918 | Implement iterkeys on top of __iter__ instead of vice |
| zmedico | versa. Thanks to Brian Harring for the suggestion. |
|----------+-------------------------------------------------------------|
| 6919 | Simplify the implementation of config.__iter__ and also |
| zmedico | implement iterkeys(). |
|----------+-------------------------------------------------------------|
| 6920 | Clean up config.__getitem__(), get() and setdefault() |
| zmedico | implementions. |
|----------+-------------------------------------------------------------|
| 6922 | cache the result of --suffix to reduce testing overhead as |
| SpankMan | suggested by Mr_Bones_ |
|----------+-------------------------------------------------------------|
| 6937 | Make quickpkg print a warning if "bindist" is in RESTRICT. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6946
Fabian Groffen [Fri, 22 Jun 2007 08:46:32 +0000 (08:46 -0000)]
Merged from trunk 6889:6917
+------------------------------------------------------------------------+
| 6889 | Make the progress bar percentage indicator stop at 100% |
| zmedico | instead of just 99%. |
|----------+-------------------------------------------------------------|
| 6890 | Use the the optparse options for --ignore-default-opts |
| zmedico | since that allows option abreviation to work. |
|----------+-------------------------------------------------------------|
| 6892 | Add an --ignore-default-opts option that is analogous to |
| zmedico | the corresponding emerge option. |
|----------+-------------------------------------------------------------|
| 6894 | In dblink._security_check(), use os.path.realpath to make |
| zmedico | sure that the same path isn't counted twice. |
|----------+-------------------------------------------------------------|
| 6896 | as noted by Josh Saddler on the gentoo-dev mailing list, |
| SpankMan | issue a warning if we try to create a binpkg for something |
| | that has IUSE=bindist but was emerged with USE=-bindist |
|----------+-------------------------------------------------------------|
| 6897 | Make IUSE handling safe for IUSE defaults. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6907 | Don't call digraph.hasallzeros() in --resume mode because |
| zmedico | the digraph isn't currently populated in that case. |
|----------+-------------------------------------------------------------|
| 6909 | Don't generate a list of keys for a containment test. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6911 | Remove lots of unnecessary list generation via dict.keys(). |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6912 | Remove more unnecessary list generation. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6913 | Remove more unnecessary list generation. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6914 | Implement UserConfigKlass.__iter__() so that tests pass. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6915 | Fix the test so that it can run inside a sandbox. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6916 | Implement config.has_key() on top of __contains__ instead |
| zmedico | of vice versa. |
|----------+-------------------------------------------------------------|
| 6917 | Autodetect if sandbox is active in order to prevent |
| zmedico | recursive sandbox invocation. Thanks to Brian Harring for |
| | the suggestion. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6944
Fabian Groffen [Fri, 22 Jun 2007 08:42:54 +0000 (08:42 -0000)]
Merged from trunk 6868:6889
+------------------------------------------------------------------------+
| 6869 | Add PORTAGE_BIN_PATH to the environment since it's used by |
| zmedico | dobin to locate isolated-functions.sh. |
|---------+--------------------------------------------------------------|
| 6870 | Add a test case for the logfile functionality of |
| zmedico | portage.spawn(). |
|---------+--------------------------------------------------------------|
| 6871 | For bug #182428, make quickpkg use a more secure umask by |
| zmedico | default and allow it to be overridden by a --umask option. |
| | Add support for QUICKPKG_DEFAULT_OPTS so that default |
| | options can be set in make.conf. |
|---------+--------------------------------------------------------------|
| 6873 | For bug #182571, handle curses.error if it's thrown inside |
| zmedico | get_term_size(). |
|---------+--------------------------------------------------------------|
| 6875 | Return early from get_term_size() is stdout is not a tty. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6877 | For bug #143340, give an appropriate message when there is |
| zmedico | no read access to a binary package. |
|---------+--------------------------------------------------------------|
| 6879 | Fix cacheddir() to behave properly if os.listdir() raises |
| zmedico | errno.EACCES (Permission denied). |
|---------+--------------------------------------------------------------|
| 6881 | For bug #180165, make portageq print a "Permission denied" |
| zmedico | error when appropriate. A PermissionDenied exception is |
| | raised from portage.listdir() enven when EmptyOnError is |
| | True since errno.EACCES is very likely to indicate a |
| | condition that should be reported in any case. |
|---------+--------------------------------------------------------------|
| 6882 | For bug #180165, make has_version dir if portageq has an |
| zmedico | unexpected exit code. |
|---------+--------------------------------------------------------------|
| 6883 | If a package is in the world set but it's not installed, go |
| zmedico | ahead and install it if it's available (instead of telling |
| | the user to run emaint). |
|---------+--------------------------------------------------------------|
| 6886 | Make all the classes inherit from object. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6887 | Show a "world problems" warning for packages that aren't |
| zmedico | installed, even if they are available. |
|---------+--------------------------------------------------------------|
| 6889 | Make the progress bar percentage indicator stop at 100% |
| zmedico | instead of just 99%. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6943
Fabian Groffen [Fri, 22 Jun 2007 08:32:45 +0000 (08:32 -0000)]
Merged from trunk 6861:6867
+------------------------------------------------------------------------+
| 6862 | Fix profile and config arguments to NewsItem.isRelevant() |
| zmedico | inside NewsManager.updateItems(). |
|---------+--------------------------------------------------------------|
| 6863 | For bug #182346, use dblink.isowner() during unmerge so that |
| zmedico | device/inode numbers are used to determine ownership |
| | (despite path mismatch due to symlinks). |
|---------+--------------------------------------------------------------|
| 6865 | In dblink.isowner() don't bother to stat the file when it's |
| zmedico | contained in the contents. |
|---------+--------------------------------------------------------------|
| 6867 | During unmerge, always verify that the file isn't a symlink |
| zmedico | before doing chmod. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6942
Fabian Groffen [Fri, 22 Jun 2007 08:31:09 +0000 (08:31 -0000)]
Merged from trunk 6834:6860
+------------------------------------------------------------------------+
| 6835 | Add portageq command to list preserved libs |
| genone | |
|---------+--------------------------------------------------------------|
| 6836 | Get registry object from vardbapi directly instead of |
| genone | creating another one |
|---------+--------------------------------------------------------------|
| 6837 | For bug #181953, prevent the circular_blocks code from |
| zmedico | selecting a node that's already been selected by the normal |
| | node selection process. |
|---------+--------------------------------------------------------------|
| 6839 | Pass all the of the existing package databases into |
| zmedico | post_emerge() so that we can use them for news and |
| | preserve-libs. |
|---------+--------------------------------------------------------------|
| 6840 | Make display_news_notification() reuse the existing |
| zmedico | portdbapi instance. |
|---------+--------------------------------------------------------------|
| 6841 | Pass existing portdbapi and vardbapi instances into the |
| zmedico | NewsManager constructor. |
|---------+--------------------------------------------------------------|
| 6843 | Fix broken \!found logic so that any missing files are |
| zmedico | properly skipped. |
|---------+--------------------------------------------------------------|
| 6846 | For bug #182105, fix the spelling of the fd_pipes paremeter. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6848 | For bug #182157, never chmod 0 symlinks before unlinking |
| zmedico | them. |
|---------+--------------------------------------------------------------|
| 6850 | For bug #182157, don't let unmerge-orphans unlink symlinks |
| zmedico | to directories since that can remove /lib and /usr/lib |
| | symlinks. |
|---------+--------------------------------------------------------------|
| 6852 | Handle another case where removing a symlink to a directory |
| zmedico | can be harmful. |
|---------+--------------------------------------------------------------|
| 6854 | For bug #182021, use active voice when notifying the user |
| zmedico | that superuser access is required. |
|---------+--------------------------------------------------------------|
| 6856 | Make repoman exit with nonzero status whenever there are qa |
| zmedico | issues (already does the same in commit mode). Thanks to |
| | Daniel Gryniewicz <dang@gentoo.org> in bug #182166. |
|---------+--------------------------------------------------------------|
| 6858 | Make the collision-protect loop check for existance of the |
| zmedico | destination file before checking if it's owned. |
|---------+--------------------------------------------------------------|
| 6860 | Go ahead and unlink symlinks to directories when they're |
| zmedico | actually recorded as symlinks in the contents. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6941
Fabian Groffen [Fri, 22 Jun 2007 08:28:06 +0000 (08:28 -0000)]
Merged from trunk 6815:6833
+------------------------------------------------------------------------+
| 6816 | Always return a dict from dblink.getcontents() since callers |
| zmedico | never expect to get None. |
|---------+--------------------------------------------------------------|
| 6818 | Remove some useless dircache code. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6821 | Reuse previously acquired lstat results. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6823 | Cache dblink instances for security checks and reference |
| zmedico | counts during merge/unmerge so that each CONTENTS only has |
| | to be parsed once. These can also be reused for |
| | collision-protect. |
|---------+--------------------------------------------------------------|
| 6825 | Use cached dblink instances for collision-protect. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6827 | Fix dblink.isowner() so it works properly when ROOT!=/. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6829 | For bug #134620, add a FEATURES=unmerge-orphans option that |
| zmedico | causes unmerge to remove files more aggressively. If a file |
| | is not claimed by another package in the same slot and it is |
| | not protected by CONFIG_PROTECT, unmerge it even if the |
| | modification time or checksum differs from the file that was |
| | originally installed. This is enabled in make.globals since |
| | the vast majority of users probably want this. |
|---------+--------------------------------------------------------------|
| 6831 | Add a note about the new unmerge-orphans behavior. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6833 | In dblink.treewalk(), handle the case where the current cpv |
| zmedico | is already installed but it has a different slot (multislot |
| | or unapplied slotmove). |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6940
Fabian Groffen [Fri, 22 Jun 2007 08:02:36 +0000 (08:02 -0000)]
Merged from trunk 6806:6812
+------------------------------------------------------------------------+
| 6807 | Move news about ** token in package.keywords to the 2.1.3 |
| zmedico | section. |
|---------+--------------------------------------------------------------|
| 6808 | Update the PORT_LOGDIR docs for bug #82378. Thanks to |
| zmedico | Arfrever FTA for reporting. |
|---------+--------------------------------------------------------------|
| 6809 | Update the PORT_LOGDIR docs for bug #82378. Thanks to |
| zmedico | Arfrever FTA for reporting. |
|---------+--------------------------------------------------------------|
| 6810 | Remove stray newline. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6812 | Add a note about preservation of timestamps on merged files. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6939
Fabian Groffen [Mon, 11 Jun 2007 14:26:02 +0000 (14:26 -0000)]
Merged from trunk 6765:6802
+------------------------------------------------------------------------+
| 6766 | For bug #181104, make econf give an appropriate error |
| zmedico | message when configure is not executable. |
|---------+--------------------------------------------------------------|
| 6768 | For bug #139383, in xtermTitleReset() use os.system() |
| zmedico | instead of commands.getoutput() since the latter puts too |
| | much restriction on what $PROMPT_COMMAND may contain. |
|---------+--------------------------------------------------------------|
| 6770 | For bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != |
| zmedico | ${CHOST}. |
|---------+--------------------------------------------------------------|
| 6772 | Only execute $PROMPT_COMMAND when appropriate. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6775 | Skip bogus '$ECLASS inherited illegally' messages when |
| zmedico | installing from a binary package. |
|---------+--------------------------------------------------------------|
| 6778 | For bug #181387, fix an UnboundLocalError for the mymtime |
| zmedico | variable that is triggered by confmem. |
|---------+--------------------------------------------------------------|
| 6780 | For bug #148702, automatically enable flags from IUSE if |
| zmedico | they correspond to unset USE_EXPAND variables such as |
| | LINGUAS. The variable only has to be set to some value or an |
| | empty string in order to disable these flags. |
|---------+--------------------------------------------------------------|
| 6782 | When an update is discarded due to confmem, record it's |
| zmedico | mtime in the contents (it's md5 is already recorded there |
| | too). |
|---------+--------------------------------------------------------------|
| 6784 | For bug #148702, use the * token to trigger wildcard |
| zmedico | expansion of IUSE. This adds flexibility and prevents flags |
| | from being enabled unexpectedly. |
|---------+--------------------------------------------------------------|
| 6786 | Preserve order of flags from IUSE in wildcard expansion. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6788 | Make repoman work with both + and - flags in IUSE. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6790 | For bug #181551, support slot deps in package.keywords. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6792 | For bug #81097, detect and report suspicious hardlinks to |
| zmedico | suid/sgid files. False positives are prevented by doing |
| | reference counts for each inode having suid/sgid bits and |
| | multiple hardlinks. The security check is done prior to each |
| | merge or unmerge phase and it will cause the phase to abort |
| | if a problem is found (so that the user can investigate |
| | before any files are removed). |
|---------+--------------------------------------------------------------|
| 6793 | Don't bother to warn about hardlinks to suid/sgid files |
| zmedico | before unlink since it can give false positives and the |
| | existing suid/sgid security check should spot problems |
| | before this anyway. |
|---------+--------------------------------------------------------------|
| 6794 | Fix the suid/sgid check so it only looks at regular files |
| zmedico | since it can generate false positives otherwise. |
|---------+--------------------------------------------------------------|
| 6796 | For bug #181355, detect parenthesis mismatch in |
| zmedico | paren_reduce(), raise an InvalidDependString exception, and |
| | make sure that all callers handle the exception properly. |
|---------+--------------------------------------------------------------|
| 6797 | Remove the "missing left parenthesis" test for now since it |
| zmedico | gives false positives. |
|---------+--------------------------------------------------------------|
| 6799 | For consistency with other xterm titles code, redirect |
| zmedico | $PROMPT_COMMAND output to stderr. |
|---------+--------------------------------------------------------------|
| 6802 | Bump 2.1.3 to 2.2 for some features and add news about |
| zmedico | USE_EXPAND wildcards. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6804
Fabian Groffen [Fri, 8 Jun 2007 07:10:30 +0000 (07:10 -0000)]
Merged from trunk 6734:6751
+------------------------------------------------------------------------+
| 6735 | Use user-provided $mv_opts for -5 (bug #47442) |
| genone | |
|---------+--------------------------------------------------------------|
| 6736 | Remove duplicate entries from special variables processed by |
| genone | env_update() (bug #172194) |
|---------+--------------------------------------------------------------|
| 6737 | When dblink.treewalk() looks for an installed instance in |
| zmedico | the same slot, make sure that it selects the one with the |
| | highest COUNTER in case there are multiple matches. |
|---------+--------------------------------------------------------------|
| 6738 | Fix typo, split SPACE_SEPARATED variables on whitespace. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6739 | For bug #181021, preserve timestamps from ${D} during merge. |
| zmedico | For replacement operations, the unmerge phase checks the |
| | contents of the newer instance in order to prevent identical |
| | files in the newer instance from being unmerged. |
|---------+--------------------------------------------------------------|
| 6740 | Comment in portage.movefile() that it's impossible to |
| zmedico | preserve timestamps of a symlink since utime() only works on |
| | the target. |
|---------+--------------------------------------------------------------|
| 6741 | For bug #153967, use -O ${DISTDIR}/${FILE} in the default |
| zmedico | FETCHCOMMAND. |
|---------+--------------------------------------------------------------|
| 6742 | For bug #156536, update --resume docs to show that the |
| zmedico | resume history is capable of storing two merge lists. |
|---------+--------------------------------------------------------------|
| 6743 | For bug #82378, only set permissions on PORT_LOGDIR if it is |
| zmedico | created automatically. |
|---------+--------------------------------------------------------------|
| 6745 | For bug #181021, don't compare attributes of contents |
| zmedico | entries when deciding which files not to unmerge. Simply |
| | keep any file that's listed in the new contents in order to |
| | avoid problematic scenarios such as those described in |
| | comments #32 and #40 of bug #8423. |
|---------+--------------------------------------------------------------|
| 6746 | Return copies of the cached values from pkgsplit and |
| zmedico | catpkgsplit. |
|---------+--------------------------------------------------------------|
| 6747 | When using a pty for logging, use setsid() to create a new |
| zmedico | session and make the pty into the controlling terminal of |
| | the new session. This makes interactive ebuild behave |
| | properly in interactive cases like check_license() where |
| | ${PAGER:-less} is invoked. |
|---------+--------------------------------------------------------------|
| 6748 | Fix strange _DevNull instance has no attribute 'isatty' |
| zmedico | warnings that occur when epydoc generates docs. |
|---------+--------------------------------------------------------------|
| 6749 | Make pkgsplit and catpkgsplit return imutable tuples instead |
| zmedico | of mutable lists so that cached values can be safely |
| | returned without cloning them first. Thanks to Brian Harring |
| | for the suggestion. |
|---------+--------------------------------------------------------------|
| 6750 | Make all the python code respect USE conditionals in |
| zmedico | RESTRICT. It's already handled on the bash side since |
| | RESTRICT is assigned the value of PORTAGE_RESTRICT. |
|---------+--------------------------------------------------------------|
| 6751 | Ignore InvalidDependString exceptions from the RESTRICT of |
| zmedico | "nomerge" nodes. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6752
Fabian Groffen [Tue, 5 Jun 2007 16:37:29 +0000 (16:37 -0000)]
Merged from trunk 6719:6733
+------------------------------------------------------------------------+
| 6720 | Make binarytree.prevent_collision() update the Packages |
| zmedico | index since it changes the PATH attribute. |
|-----------+------------------------------------------------------------|
| 6721 | Add a VERSION attribute to the Packages index header and |
| zmedico | reject any index with an unsupported version (current |
| | supported version is 0). |
|-----------+------------------------------------------------------------|
| 6722 | Include SHA1 digests in the Packages index. |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6723 | If PORTAGE_BINHOST is defined then use it as a URI |
| zmedico | attribute in the Packages index header. |
|-----------+------------------------------------------------------------|
| 6724 | copyrights.. id? what? |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6725 | Use the PORTAGE_BINHOST_HEADER_URI environment variable to |
| zmedico | define the URI header field for the Packages index. If the |
| | URI header field is defined then the client will use it as |
| | a base URI for fetching packages. |
|-----------+------------------------------------------------------------|
| 6726 | Remove pym/{cache,elog_modules} directory symlinks since |
| zmedico | they lead to upgrade/downgrade issues. These modules |
| | probably aren't referenced from outside of portage anyway. |
| | There's a hack in config.load_best_module() so that |
| | cache.* in /etc/portage/modules will first try cache.* and |
| | then try portage.cache.* if there's an ImportError. |
|-----------+------------------------------------------------------------|
| 6727 | Fix broken usage of lstrip in creating the PROFILE header |
| zmedico | field. |
|-----------+------------------------------------------------------------|
| 6728 | For bug #164655, port quickpkg to python and use the |
| zmedico | tarfile module for proper handling of symlinks to |
| | directories. Thanks to Martin Parm <parmus@diku.dk> for |
| | the initial port. |
|-----------+------------------------------------------------------------|
| 6729 | Fix typo. |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6730 | Improve support for slot deps atoms given on the command |
| zmedico | line. Thanks to Flameeyes for reporting. |
|-----------+------------------------------------------------------------|
| 6732 | Document EXTRA_ECONF, thanks to Arfrever FTA in bug |
| zmedico | #167057. |
|-----------+------------------------------------------------------------|
| 6733 | Add ECONF_SOURCE to the econf docs. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6734
Fabian Groffen [Fri, 1 Jun 2007 20:57:59 +0000 (20:57 -0000)]
Merged from trunk 6710:6718
+------------------------------------------------------------------------+
| 6711 | Don't complain when $FILESDIR is missing unless manifest1 |
| zmedico | compatibility is enabled. |
|---------+--------------------------------------------------------------|
| 6716 | Fix it so repoman still does QA when $FILESDIR doesn't |
| zmedico | exist. |
|---------+--------------------------------------------------------------|
| 6718 | Add an optional PATH attribute to the Packages index in |
| zmedico | order to indicate the relative path of the package within |
| | the repository. In the future this will allow storage of |
| | more than one package per cpv but for now it's just use to |
| | indicate if a package is stored in the old-style All/ |
| | directory (instead of the category directory). |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6719
Fabian Groffen [Fri, 1 Jun 2007 18:15:35 +0000 (18:15 -0000)]
Merged from trunk 6696:6709
+------------------------------------------------------------------------+
| 6697 | Replace deprecated binarytree.remotepkgs usage with |
| zmedico | binarytree._remotepkgs since the former is vulnerable to |
| | collisions in the tbz2 filename. |
|---------+--------------------------------------------------------------|
| 6698 | Make dep_zapdeps() pull SLOT from the correct dbapi instance |
| zmedico | when it falls back to the vdb. |
|---------+--------------------------------------------------------------|
| 6699 | Raise a KeyError from bindbapi.aux_get() when appropriate. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6704 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6705 | Add some additional variables to the Packages header. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6706 | For bug #149397, raise an InvalidDependString exception if a |
| zmedico | USE has no basename. |
|---------+--------------------------------------------------------------|
| 6707 | Don't repeatedly invoke the depend phase for ebuilds that |
| zmedico | are already known to be broken. |
|---------+--------------------------------------------------------------|
| 6708 | Instead of calling sys.exit() when aux_get() fails inside |
| zmedico | getfetchlist(), convert the KeyError to an |
| | InvalidDependString exception since callers already handle |
| | it. |
|---------+--------------------------------------------------------------|
| 6709 | Add --getbinpkg digest verification. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6710
Fabian Groffen [Thu, 31 May 2007 15:54:40 +0000 (15:54 -0000)]
Merged from trunk 6675:6695
+------------------------------------------------------------------------+
| 6676 | Show deprecation warnings if the "clone" parameters are used |
| zmedico | for the binartree, vartree, or portagetree constructors. |
|---------+--------------------------------------------------------------|
| 6678 | For bug #180399, raise an appropriate InvalidDependString |
| zmedico | exception if there is no flag attached directly to a '?' |
| | token. |
|---------+--------------------------------------------------------------|
| 6680 | Fix an IndexError in get_operator() that occurs when |
| zmedico | isvalidatom() passes it an empty string. |
|---------+--------------------------------------------------------------|
| 6682 | remove pointless $PORTDIR lock |
| genone | |
|---------+--------------------------------------------------------------|
| 6684 | catch GetoptError |
| genone | |
|---------+--------------------------------------------------------------|
| 6685 | Only check ChangeLog if we're dealing with an ebuild (bug |
| genone | #170604) |
|---------+--------------------------------------------------------------|
| 6686 | Create one unified dbapi.update_ents() method and use it for |
| zmedico | both fixpackages and the emaint move{inst,bin} targets. |
|---------+--------------------------------------------------------------|
| 6687 | Make automatic "global updates" always use the config |
| zmedico | instance that's associated with /, since the rest of the |
| | code is targeted at /. |
|---------+--------------------------------------------------------------|
| 6688 | Create one unified dbapi.move_slot_ent() method to replace |
| zmedico | the corresponding binarytree and vardbapi methods. |
|---------+--------------------------------------------------------------|
| 6689 | Allow dbapi.aux_update() to prune empty metadata values from |
| zmedico | storage. |
|---------+--------------------------------------------------------------|
| 6690 | Trigger an update of the Packages index when a package is |
| zmedico | moved or aux_update() is called. |
|---------+--------------------------------------------------------------|
| 6691 | Don't try to perform global updates on binary packages |
| zmedico | unless $PKGDIR is writable. |
|---------+--------------------------------------------------------------|
| 6692 | Don't define bindbapi.move_slot_ent() since the inherited |
| zmedico | one works fine. Override cp_all() instead of cpv_all() since |
| | the latter calls the former. |
|---------+--------------------------------------------------------------|
| 6693 | Implement bindbapi.cpv_all() since the one from fakedbapi |
| zmedico | won't populate the tree. |
|---------+--------------------------------------------------------------|
| 6694 | Add PORTAGE_BINHOST support for fetching a remote Packages |
| zmedico | index. If the index is not found then it falls back to the |
| | old directory listing method. |
|---------+--------------------------------------------------------------|
| 6695 | Fix typos. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6696
Fabian Groffen [Wed, 30 May 2007 17:56:11 +0000 (17:56 -0000)]
Merged from trunk 6646:6673
+------------------------------------------------------------------------+
| 6647 | Fix typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6648 | For bug #180079, fix a KeyError so that a search for the |
| zmedico | empty string will go ahead and match all packages. |
|---------+--------------------------------------------------------------|
| 6650 | For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config |
| zmedico | variable. The default is 15 seconds and it can be disabled |
| | by setting it to 0. |
|---------+--------------------------------------------------------------|
| 6652 | Add new emaint targets called "moveinst" and "movebin" for |
| zmedico | applying package moves from $PORTDIR/profiles/updates/ on |
| | installed packages and binary packages. |
|---------+--------------------------------------------------------------|
| 6653 | Fix emaint world $ROOT handling. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6654 | Cap the progress bar columns at 80 since it looks ridiculous |
| zmedico | when it gets too wide. |
|---------+--------------------------------------------------------------|
| 6655 | Include IUSE in the Package index so that it can be used for |
| zmedico | --newuse calculations. |
|---------+--------------------------------------------------------------|
| 6656 | Fix binarytree.gettbz2() so that it works without |
| zmedico | $PKGDIR/All/ and inserts the downloaded package into the |
| | local index. |
|---------+--------------------------------------------------------------|
| 6657 | For bug #179870, add support for cpv:slot in |
| zmedico | match_from_list() and use it to make config.setcpv() |
| | distinguish slot atoms in package.use. |
|---------+--------------------------------------------------------------|
| 6659 | Don't pass slotted packages into pkgsplit since it doesn't |
| zmedico | handle them. |
|---------+--------------------------------------------------------------|
| 6661 | Fix dep_getcpv() so that it always properly removes the slot |
| zmedico | regardless of which operator is present. |
|---------+--------------------------------------------------------------|
| 6663 | Fix get_operator() and best_match_to_list() so that slot |
| zmedico | deps mesh properly with operators. |
|---------+--------------------------------------------------------------|
| 6665 | For bug #179870, correctly handle slot deps in the profile's |
| zmedico | package.* files. |
|---------+--------------------------------------------------------------|
| 6667 | For bug #180222, make ecompressdir use -f for the automatic |
| zmedico | decompression phase. |
|---------+--------------------------------------------------------------|
| 6669 | Fix slot handling at the beginning of match_from_list(). |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6671 | For bug #61732, support -flag in USE (instead of just |
| zmedico | +flag). Given the current default USE_ORDER, -flag in IUSE |
| | has no effect. |
|---------+--------------------------------------------------------------|
| 6673 | Return a copy of the cached result from match_from_list(). |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6675
Fabian Groffen [Sun, 27 May 2007 21:09:50 +0000 (21:09 -0000)]
Merged from trunk 6634:6644
+------------------------------------------------------------------------+
| 6634 | Fix broken dict.get logic. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6635 | Fix logic for USE_EXPAND variables that are incremental |
| zmedico | (there are none currently). |
|---------+--------------------------------------------------------------|
| 6637 | In the WorldHandler class, add support for an onProgress |
| zmedico | callback that can be used notify the user of job progress. |
| | This isn't really useful for WorldHandler since it completes |
| | quickly, but it will be useful for longer running tasks. |
|---------+--------------------------------------------------------------|
| 6638 | Add a get_term_size() function that uses the curses module |
| zmedico | if available and otherwise falls back to parsing the output |
| | of `stty size`. |
|---------+--------------------------------------------------------------|
| 6639 | Add progress support to emaint (similar to wget's progress |
| zmedico | bar). |
|---------+--------------------------------------------------------------|
| 6640 | Add SIGWINCH support so that the progress bar is resized if |
| zmedico | the xterm is resized. |
|---------+--------------------------------------------------------------|
| 6641 | Fix an UnboundLocalError when there's no tty. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6642 | Fix a typo. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6643 | Add an emaint "binhost" target which does the time consuming |
| zmedico | population of $PKGDIR/Packages that is necessary for a |
| | binhost (MD5 makes it relatively slow). It reuses metadata |
| | from the existing Packages file whenever possible. |
|---------+--------------------------------------------------------------|
| 6644 | Make emaint prune stale entires from $PKGDIR/Packages. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6646
Fabian Groffen [Sun, 27 May 2007 21:05:56 +0000 (21:05 -0000)]
Merged from trunk 6626:6634
+------------------------------------------------------------------------+
| 6627 | Store flags as a set inside the USE incremental loop. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6629 | s/filing a report to/seeking support at/ Thanks to marienz. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6630 | In the econf die message, don't mention bugs.gentoo.org |
| zmedico | specifically. |
|---------+--------------------------------------------------------------|
| 6631 | xmlint can produce garbage output even on success, so only |
| zmedico | dump the ouput when it fails. See bug #179008. |
|---------+--------------------------------------------------------------|
| 6633 | Create the Packages index whether or not $PKGDIR/All/ exists |
| zmedico | so that improved binarytree.populate() performance will be |
| | available in either case. When dealing with packages in |
| | $PKGDIR/All/, it's assumed that the file name, size, and |
| | timestamp are enough information to avoid reading the xpak |
| | data. |
|---------+--------------------------------------------------------------|
| 6634 | Fix broken dict.get logic. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6645
Fabian Groffen [Fri, 25 May 2007 20:26:09 +0000 (20:26 -0000)]
Merged from trunk 6622:6625
+------------------------------------------------------------------------+
| 6623 | For bug #179766, expand USE_EXPAND variables inside the USE |
| zmedico | incremental loop so that USE"-*" will not always destroy |
| | them. |
|---------+--------------------------------------------------------------|
| 6625 | Call tcgetattr and tcsetattr on the slave end of the pty in |
| zmedico | order to avoid an "invalid argument" error on Solaris. |
| | Thanks to grobian. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6626
Fabian Groffen [Fri, 25 May 2007 17:55:00 +0000 (17:55 -0000)]
Merged from trunk 6608:6620
+------------------------------------------------------------------------+
| 6609 | Add more relevant package metadata to the Packages index, |
| zmedico | including dependencies with USE conditionals collapsed. |
|---------+--------------------------------------------------------------|
| 6610 | Fix paren_normalize logic. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6611 | Make PackageIndex.write() alphabetize the metadata keys. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6612 | Remember to call the superclass constructor. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6613 | Make PackageIndex.write() omit USE when appropriate. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6615 | Fix the ignore-previously-merged option so that it compares |
| zmedico | the original files, since mrgconf can be identical to |
| | conf['current'] even when conf['new'] is different from the |
| | archived .dist version (due to diff3 merging). |
| | (prefix: use tabs instead of spaces to avoid IndentErrors) |
|---------+--------------------------------------------------------------|
| 6617 | Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's |
| zmedico | never been that way and the * behavior was already annoying |
| | enough. |
|---------+--------------------------------------------------------------|
| 6618 | Skip fetching of metadata.dtd when mymode == "manifest". |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6620 | To ease the namespace transition, automatically translate |
| zmedico | cache.* to portage.cache.* if an ImportError occurs. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6622
Fabian Groffen [Thu, 24 May 2007 10:31:13 +0000 (10:31 -0000)]
Also check .dylibs, such that we don't exclude Darwin from "much
appreciated" sanity checks
svn path=/main/branches/prefix/; revision=6614
Fabian Groffen [Wed, 23 May 2007 17:37:34 +0000 (17:37 -0000)]
I should run tabnanny myself before committing too... :/
svn path=/main/branches/prefix/; revision=6600
Fabian Groffen [Wed, 23 May 2007 17:32:11 +0000 (17:32 -0000)]
I would be very delighted if people could run tabnanny themselves, as
indenting python is absolutely horrible work, since Vim can't help you
with that due to this indenting=scope thing. It also makes python
itself kind of upset usually if you mix up tabs with spaces, so another
reason to run tabnanny.
svn path=/main/branches/prefix/; revision=6599
Fabian Groffen [Wed, 23 May 2007 17:25:08 +0000 (17:25 -0000)]
Merged from trunk 6590:6592
+------------------------------------------------------------------------+
| 6590 | Save memory by not holding a reference to the PackageIndex |
| zmedico | when it's not being used. |
|---------+--------------------------------------------------------------|
| 6591 | Pass a temporary file name to the package phase in the |
| zmedico | environment variable PORTAGE_BINPKG_TMPFILE and move the |
| | temporary file into place inside binarytree.inject(). This |
| | allows binarytree.inject() to perform the move while holding |
| | a lock. |
|---------+--------------------------------------------------------------|
| 6592 | Add a 'ignore-previously-merged' config option which gives |
| zmedico | similar behavior to the --noconfmem emerge option. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6598
Fabian Groffen [Wed, 23 May 2007 17:21:58 +0000 (17:21 -0000)]
Merged from trunk 6580:6590
+------------------------------------------------------------------------+
| 6580 | Fix namespace for S_ISUID and S_ISGID. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6581 | More namespace fixes. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6582 | Punt the portdbapi.getsize() function since it's unused and |
| zmedico | broken (mysum referenced before assignment). |
|---------+--------------------------------------------------------------|
| 6583 | Fix missing red import. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6584 | Split reading/writing of $PKGDIR/Packages into a |
| zmedico | PackageIndex class. |
|---------+--------------------------------------------------------------|
| 6585 | Discard metadata from the Packages file if there's no MTIME |
| zmedico | attribute. |
|---------+--------------------------------------------------------------|
| 6586 | Update /Packages as each package is built (MD5 is done here |
| zmedico | since it won't hurt performance). |
|---------+--------------------------------------------------------------|
| 6587 | Lock $PKGDIR/Packages during population so that it won't get |
| zmedico | out of sync if another process updates it. |
|---------+--------------------------------------------------------------|
| 6588 | Store the path of $PKGDIR/Packages as |
| zmedico | binarytree._pkgindex_file. |
|---------+--------------------------------------------------------------|
| 6589 | Lock the Packages index while it's being updated with a |
| zmedico | packages that was just built. |
|---------+--------------------------------------------------------------|
| 6590 | Save memory by not holding a reference to the PackageIndex |
| zmedico | when it's not being used. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6597
Fabian Groffen [Wed, 23 May 2007 17:20:32 +0000 (17:20 -0000)]
Merged from trunk 6570:6580
+------------------------------------------------------------------------+
| 6570 | Fix size comparison logic. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6571 | Handle a KeyError if an MTIME is missing from the Packages |
| zmedico | index. |
|---------+--------------------------------------------------------------|
| 6579 | - cleaner version of the hardlink basic suid protection. |
| solar | actually check that the file is setXid |
|---------+--------------------------------------------------------------|
| 6580 | Fix namespace for S_ISUID and S_ISGID. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6596
Fabian Groffen [Wed, 23 May 2007 16:35:27 +0000 (16:35 -0000)]
Merged from trunk 6560:6570
+------------------------------------------------------------------------+
| 6560 | For bug #179206, improve efficiency by using a containment |
| zmedico | test instead of str.count inside update_dbentry. Thanks to |
| | Jason Lai <jason.lai@gmail.com>. |
|---------+--------------------------------------------------------------|
| 6561 | In fetch(), don't try to parse digests unless the "O" |
| zmedico | variable is defined. |
|---------+--------------------------------------------------------------|
| 6562 | For bug #179008, just use metadata.dtd directly from |
| zmedico | $DISTDIR. |
|---------+--------------------------------------------------------------|
| 6563 | - blind chmod 0 before unlinking files to avoid anybody |
| solar | doing sneaky stuff via hardlinks |
|---------+--------------------------------------------------------------|
| 6564 | Add a missing newline to the writemsg output. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6565 | For bug #179380, make support for ECONF_SOURCE in the |
| zmedico | default src_compile() conditional on EAPI != 0. |
|---------+--------------------------------------------------------------|
| 6566 | Use bash to spawn FETCHCOMMAND under selinux since most |
| zmedico | other binaries are forbidden as entrypoints into the fetch |
| | domain. Thanks to Justin Heesemann <jh@ionium.org> for |
| | reporting. |
|---------+--------------------------------------------------------------|
| 6567 | Fix src_compile() ECONF_SOURCE logic to make sure it behaves |
| zmedico | properly. |
|---------+--------------------------------------------------------------|
| 6568 | When ${PKGDIR}/All/ doesn't exist, put packages in |
| zmedico | ${PKGDIR}/${CATEGORY}/ instead. This new layout is backward |
| | compatible with portage-2.1.2 and it will be a requirement |
| | for new PORTAGE_BINHOST support that is comming. |
|---------+--------------------------------------------------------------|
| 6569 | Cache xpak metadata in ${PKGDIR}/Packages in order to |
| zmedico | minimize disk load when binarytree.populate() is called. |
| | This does not do all the keys that genpkgindex does but it |
| | will copy metadata from the existing Packages file if it |
| | appears valid. The binarytree.populate() code is performance |
| | critical, so the MD5 will certainly have to be done |
| | elsewhere (like just after a package is built). |
|---------+--------------------------------------------------------------|
| 6570 | Fix size comparison logic. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6595
Fabian Groffen [Wed, 23 May 2007 16:30:04 +0000 (16:30 -0000)]
Merged from trunk 6550:6560
+------------------------------------------------------------------------+
| 6550 | Catch a potential OSError if the child process has already |
| zmedico | died. |
|----------+-------------------------------------------------------------|
| 6551 | Only show extra whitespace where there are some news items |
| zmedico | to display. |
|----------+-------------------------------------------------------------|
| 6552 | Fall back to pickle if cPickle is unavailable. Thanks to |
| zmedico | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
| | for reporting. |
|----------+-------------------------------------------------------------|
| 6553 | fix from James C. Georgas to not modify EXTRA_EINSTALL |
| SpankMan | #178544 |
|----------+-------------------------------------------------------------|
| 6554 | For bug #176539, add a "manifest" target to repoman so that |
| zmedico | there's a simple way to just generate a Manifest. |
|----------+-------------------------------------------------------------|
| 6555 | Avoid permission errors when trying to lock repo_path. Note |
| zmedico | that the lock file should be mapped into /var somewhere. |
|----------+-------------------------------------------------------------|
| 6556 | In --tree output, keep track of which graph edges have |
| zmedico | already been displayed and try not to display a given edge |
| | more than once. |
|----------+-------------------------------------------------------------|
| 6557 | Add edges to shown_edges at the first oportunity. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6558 | For bug #178378, make the default src_compile() check for |
| zmedico | configure in ${ECONF_SOURCE:-.} (instead of just .) before |
| | it calls econf. Thanks to James C. Georgas |
| | <jgeorgas@rogers.com>. |
|----------+-------------------------------------------------------------|
| 6559 | Use device number and i-node number (like os.path.samefile |
| zmedico | does) to check if the current directory is inside a given |
| | overlay. This solves issues with path comparison and |
| | symlinks. |
|----------+-------------------------------------------------------------|
| 6560 | For bug #179206, improve efficiency by using a containment |
| zmedico | test instead of str.count inside update_dbentry. Thanks to |
| | Jason Lai <jason.lai@gmail.com>. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6594
Fabian Groffen [Wed, 23 May 2007 16:27:03 +0000 (16:27 -0000)]
Merged from trunk 6539:6550
+------------------------------------------------------------------------+
| 6540 | Don't protect USE_EXPAND variables from -* anymore because |
| zmedico | the really critical ones should all be in use.force now |
| | (typically kernel_linux, elibc_glibc, and userland_GNU). |
|---------+--------------------------------------------------------------|
| 6541 | For bug #162404, use a pseudo-terminal device pair (instead |
| zmedico | of a normal pipe) for moving ouput out of the sesandbox |
| | domain. |
|---------+--------------------------------------------------------------|
| 6542 | wrap lines |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6543 | Check to see if I have svn.g.o fixed, no actual file |
| robbat2 | changes. |
|---------+--------------------------------------------------------------|
| 6544 | Check to see if I have svn.g.o fixed, no actual file |
| robbat2 | changes, pass #2 |
|---------+--------------------------------------------------------------|
| 6545 | Add registration support for preserved library objects, move |
| genone | the library->consumer map code out of vardbapi and fix a bug |
| | in the setup code for preserve-libs and collision-protect |
| | caused by using relative paths with os.path.islink() |
|---------+--------------------------------------------------------------|
| 6546 | - store newsid in unread file, not the path to the news item |
| genone | - use octal numbers to specify file permissions - use |
| | descriptive exceptions when (not) creating NewsItem objects |
| | - code style cleanups |
|---------+--------------------------------------------------------------|
| 6547 | Display notification about unread news in all situations |
| genone | specified by glep 42 |
|---------+--------------------------------------------------------------|
| 6548 | Enable elog functionality for the python side of portage |
| genone | |
|---------+--------------------------------------------------------------|
| 6549 | Update for glep42, preserve-libs and elog |
| genone | |
|---------+--------------------------------------------------------------|
| 6550 | Catch a potential OSError if the child process has already |
| zmedico | died. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6593
Fabian Groffen [Tue, 15 May 2007 19:44:43 +0000 (19:44 -0000)]
Merged from trunk 6534:6535
+------------------------------------------------------------------------+
| 6535 | For bug #178293, don't write digest-* files unnecessarily |
| zmedico | when SRC_URI is empty. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6539
Fabian Groffen [Tue, 15 May 2007 19:37:06 +0000 (19:37 -0000)]
Hi Grobian,
in prefix-portage/subst-install.in there is a problem using ${TMP-/tmp}
as temporary directory instead of ${TMPDIR-/tmp}.
TMP is undefined for unix, TMPDIR needs to be used instead.
But on Interix/Windows, TMP must be defined as dos-style path...
Thanks!
/haubi/
(so far for the smell of Windows, thanks Michael Haubenwallner)
svn path=/main/branches/prefix/; revision=6538
Fabian Groffen [Sun, 13 May 2007 21:01:43 +0000 (21:01 -0000)]
It would be nice if people would actually check if what they check in
some sort of works. This doesn't, i.e. it generates a KeyError. With
my little knowledge of Python I turn it into this, which at least allows
me to run "emerge".
svn path=/main/branches/prefix/; revision=6534
Fabian Groffen [Sun, 13 May 2007 20:54:57 +0000 (20:54 -0000)]
This file uses spaces instead of tabs, how annoying.
svn path=/main/branches/prefix/; revision=6533
Fabian Groffen [Sun, 13 May 2007 20:52:10 +0000 (20:52 -0000)]
Merged from trunk 6522:6530
+------------------------------------------------------------------------+
| 6523 | s:${PORTDIR}:/usr/portage: so that it's not implied that |
| zmedico | those variables are automatically relative to ${PORTDIR} |
| | when the value of ${PORTDIR} has changed to something |
| | other than /usr/portage. Thanks to kerframil for |
| | reporting. |
|-----------+------------------------------------------------------------|
| 6524 | Add TODO note about support for blocks within slots. |
| zmedico | Thanks to Brian Harring for reporting. |
|-----------+------------------------------------------------------------|
| 6525 | Fix the varexpand quotes tests since quotes are no longer |
| zmedico | removed by this function. |
|-----------+------------------------------------------------------------|
| 6527 | tabs -> spaces |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6528 | import dispatch_conf from the new namespace |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6529 | remove old import |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6530 | the profile check is spammy and should be squelched when |
| WarnerBro | --quiet is given |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6532
Fabian Groffen [Sun, 13 May 2007 20:49:38 +0000 (20:49 -0000)]
Simplify "outside of prefix" QA check, and actually make it die.
svn path=/main/branches/prefix/; revision=6531
Fabian Groffen [Sat, 12 May 2007 15:11:14 +0000 (15:11 -0000)]
Fix broken test syntax, and hence the QA error not aborting the mission
svn path=/main/branches/prefix/; revision=6522
Fabian Groffen [Sat, 12 May 2007 14:58:55 +0000 (14:58 -0000)]
Merged from trunk 6516:6519
+------------------------------------------------------------------------+
| 6517 | Make sure FEATURES=test and USE=test are consistently |
| zmedico | enabled for all requested phases when the test phase is |
| | forced via the ebuild command. |
|---------+--------------------------------------------------------------|
| 6519 | For bug #177763, clarify about how FEATURES=keepwork allows |
| zmedico | ${WORKDDIR} to be reused. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6521
Fabian Groffen [Thu, 10 May 2007 08:09:52 +0000 (08:09 -0000)]
Merged from trunk 6507:6513
+------------------------------------------------------------------------+
| 6508 | Make sure USE=test is properly enabled when the test phase |
| zmedico | is forced via the ebuild command. Thanks to Caster for |
| | reporting. |
|---------+--------------------------------------------------------------|
| 6511 | For bug #177763, document that FEATURES=keepwork can |
| zmedico | interfere with normal emerge operation. |
|---------+--------------------------------------------------------------|
| 6512 | fix typo from previous commit |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6513 | Make sure USE=test is properly enabled when the test phase |
| zmedico | is forced via the ebuild command, even when USE from |
| | ${T}/environment doen't have it. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6516
Fabian Groffen [Thu, 10 May 2007 08:04:31 +0000 (08:04 -0000)]
(hopefully) fix "outside of prefix" QA abort.
svn path=/main/branches/prefix/; revision=6515
Fabian Groffen [Wed, 9 May 2007 18:38:03 +0000 (18:38 -0000)]
Merged from trunk 6503:6506
+------------------------------------------------------------------------+
| 6504 | For bug #177601, add a reference the --verbose option |
| zmedico | documentation in the OUTPUT section. |
|-----------+------------------------------------------------------------|
| 6505 | For bug #177591, increase shell compatibility by |
| zmedico | preserving quotes in varexpand() since quote removal is |
| | handled by shlex. |
|-----------+------------------------------------------------------------|
| 6506 | fix spacing in loaders |
| WarnerBro | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6507
Fabian Groffen [Tue, 8 May 2007 15:39:41 +0000 (15:39 -0000)]
We still use tabs, not two spaces. VERY BAD WarnerBro!
svn path=/main/branches/prefix/; revision=6502
Fabian Groffen [Tue, 8 May 2007 15:23:49 +0000 (15:23 -0000)]
Merged from trunk 6497:6500
+------------------------------------------------------------------------+
| 6498 | validators++ |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6499 | Honestly if they are missing sys, that error message |
| WarnerBro | probably won't help any more than the other one (zomg |
| | broken) |
|-----------+------------------------------------------------------------|
| 6500 | imports are one module per line, remove type module in |
| WarnerBro | favor of the new hotness, isinstance. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6501
Fabian Groffen [Mon, 7 May 2007 20:26:29 +0000 (20:26 -0000)]
Merged from trunk 6477:6494
+------------------------------------------------------------------------+
| 6478 | For bug #175058, comment #15, expand all possible variables |
| zmedico | in each argument. |
|---------+--------------------------------------------------------------|
| 6480 | For bug #177211, use chmod -R on the children of the current |
| zmedico | directory in order to reduce the size of the argument list. |
|---------+--------------------------------------------------------------|
| 6482 | Use match_from_list in order to potentially avoid more |
| zmedico | blocks. |
|---------+--------------------------------------------------------------|
| 6484 | Add missing base class. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6485 | For bug #171259, fix vercmp so that implicit _p0 is less |
| zmedico | than explicit _p0. Thanks to TGL <degrenier@easyconnect.fr> |
| | for the patch. |
|---------+--------------------------------------------------------------|
| 6487 | Use varexpand to expand FETCHCOMMAND and RESUMECOMMAND. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6490 | Use shlex for better splitting of FETCHCOMMAND. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6492 | Use shlex for better splitting of PORTAGE_RSYNC_OPTS and |
| zmedico | PORTAGE_RSYNC_EXTRA_OPTS. |
|---------+--------------------------------------------------------------|
| 6494 | Prevent blockers that are only partially resolvable by merge |
| zmedico | order from accidentally being ignored. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6497
Fabian Groffen [Fri, 4 May 2007 19:21:08 +0000 (19:21 -0000)]
Merged from trunk 6470:6473
+------------------------------------------------------------------------+
| 6471 | document the behavior of `ebuild` wrt FEATURES=noauto |
| SpankMan | #175444 |
|----------+-------------------------------------------------------------|
| 6472 | Remove news about profile masking which has been reverted |
| zmedico | pending resolution of bug #170697. Thanks to Arfrever |
| | Frehtes Taifersar Arahesis in #149508. |
|----------+-------------------------------------------------------------|
| 6473 | For bug #176765, when a new package is blocked by another |
| zmedico | one that is being replaced, handle another case where the |
| | conflict can be avoided. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6475
Fabian Groffen [Wed, 2 May 2007 19:51:30 +0000 (19:51 -0000)]
Merged from trunk 6466:6467
+------------------------------------------------------------------------+
| 6467 | Fix eend so that it works properly on a standard BSD |
| zmedico | console. Thanks to UberLord. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6470
Fabian Groffen [Tue, 1 May 2007 08:16:04 +0000 (08:16 -0000)]
Allow repoman to commit with manifest1_obsolete. Because I don't have
enough knowhow on the repoman code, I think this "fix" is kind of ugly,
but it works for now.
svn path=/main/branches/prefix/; revision=6465
Fabian Groffen [Tue, 1 May 2007 08:02:21 +0000 (08:02 -0000)]
ecompressdir currently leaves man.ecompress.dir files behind for every
package. This is IMO caused by dir being ".", so use actual_dir
instead. This patch should be merged to the trunk if Mike agrees this
is the correct thing to do.
svn path=/main/branches/prefix/; revision=6464
Fabian Groffen [Tue, 1 May 2007 07:40:41 +0000 (07:40 -0000)]
Merged from trunk 6460:6461
+------------------------------------------------------------------------+
| 6461 | Handle KeyError when the ebuild is corrupt. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6463
Fabian Groffen [Tue, 1 May 2007 07:37:13 +0000 (07:37 -0000)]
Don't default to / in case PORT_LOGDIR is unset, but default to EPREFIX
instead.
svn path=/main/branches/prefix/; revision=6462
Fabian Groffen [Mon, 30 Apr 2007 14:33:33 +0000 (14:33 -0000)]
Merged from trunk 6451:6459
+------------------------------------------------------------------------+
| 6452 | For bug #175058, properly quote the variables in |
| zmedico | FETCHCOMMAND and RESUMECOMMAND since the command is spawned |
| | in a bash shell. |
|---------+--------------------------------------------------------------|
| 6454 | For bug #176384, adjust config according to options of the |
| zmedico | command being resumed. |
|---------+--------------------------------------------------------------|
| 6456 | For bug #175058, avoid potential quoting issues by spawning |
| zmedico | FETCHCOMMAND without a shell. |
|---------+--------------------------------------------------------------|
| 6458 | - add new echo module for people who don't want any real |
| genone | logging - add copyright header in elog modules and enable |
| | keyword substitution - enable save_summary and echo modules |
| | in make.globals |
|---------+--------------------------------------------------------------|
| 6459 | Fix -* handling in gvisible to match incremental semantics |
| genone | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6460
Fabian Groffen [Sat, 28 Apr 2007 11:14:09 +0000 (11:14 -0000)]
Update the cache after syncing via SVN
svn path=/main/branches/prefix/; revision=6451
Fabian Groffen [Sat, 28 Apr 2007 10:36:20 +0000 (10:36 -0000)]
Reverse 6412:6413 because it's not in the trunk, and we only introduce
noise diffs by it.
svn path=/main/branches/prefix/; revision=6450
Fabian Groffen [Sat, 28 Apr 2007 10:34:13 +0000 (10:34 -0000)]
Merged from trunk 6415:6446
+------------------------------------------------------------------------+
| 6416 | strip .comment by default, add a comment as to what we |
| SpankMan | need before we can do .note, and add safe stripping of |
| | relocatable objects |
|-----------+------------------------------------------------------------|
| 6417 | For bug #175344, use cp_list instead of xmatch in order to |
| zmedico | avoid dep_expand calls. |
|-----------+------------------------------------------------------------|
| 6419 | For bug #175344, handle a potential InvalidDependString |
| zmedico | exception when parsing PROVIDE. |
|-----------+------------------------------------------------------------|
| 6421 | For bug #175344, handle a potential InvalidDependString |
| zmedico | exception when parsing PROVIDE. |
|-----------+------------------------------------------------------------|
| 6423 | For bug #175344, validate LICENSE and PROVIDE inside |
| zmedico | doebuild(). |
|-----------+------------------------------------------------------------|
| 6425 | Also validate SRC_URI inside doebuild(). |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6427 | Also validate RESTRICT inside doebuild(). |
| zmedico | |
|-----------+------------------------------------------------------------|
| 6429 | Use portable sh syntax rather than bash syntax. Thanks to |
| zmedico | drizzt. |
|-----------+------------------------------------------------------------|
| 6431 | Pretty up the repoman imports, use cPickle over pickle for |
| WarnerBro | performance |
|-----------+------------------------------------------------------------|
| 6432 | For bug #175781, add a higher preference priority for |
| zmedico | choices where all matching slots are installed (not just |
| | any slot). |
|-----------+------------------------------------------------------------|
| 6435 | fix typo |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6438 | For bug #176139, only symlink the distfiles that are |
| zmedico | required according the current USE settings. |
|-----------+------------------------------------------------------------|
| 6440 | Always ensure permissions in DISTCC_DIR in order to try to |
| zmedico | prevent potential permission problems for non-root users |
| | who are in the portage group (userpriv, etc.). |
|-----------+------------------------------------------------------------|
| 6442 | In the installsources docs, note that CFLAGS needs to be |
| zmedico | set to include debug information. Thanks to tigger^ for |
| | reporting. |
|-----------+------------------------------------------------------------|
| 6444 | For bug #176305, validate the resume merge list before |
| zmedico | attempting to verify the ebuild manifests. |
|-----------+------------------------------------------------------------|
| 6446 | Fix up missing mymergelist variable from the previous |
| zmedico | commit. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6449
Fabian Groffen [Sun, 15 Apr 2007 11:11:01 +0000 (11:11 -0000)]
Being consistent-style-picky here on vapier's commit.
svn path=/main/branches/prefix/; revision=6413
Fabian Groffen [Sun, 15 Apr 2007 11:06:29 +0000 (11:06 -0000)]
Merged from trunk 6410:6411
+------------------------------------------------------------------------+
| 6411 | convert `type -p` to `type -P` as noted by grobian |
| SpankMan | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6412
Fabian Groffen [Sat, 14 Apr 2007 20:14:12 +0000 (20:14 -0000)]
Clean up.
svn path=/main/branches/prefix/; revision=6410
Fabian Groffen [Sat, 14 Apr 2007 20:04:32 +0000 (20:04 -0000)]
Merged from trunk 6400:6403
+------------------------------------------------------------------------+
| 6401 | revise tests so that `insinto /` does not trigger an error |
| SpankMan | (prefix: add $EPREFIX test) |
|----------+-------------------------------------------------------------|
| 6402 | queue compression |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 6403 | do stripping after compression dequeueing |
| SpankMan | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6409
Fabian Groffen [Sat, 14 Apr 2007 20:02:05 +0000 (20:02 -0000)]
Style. (c) Mike.
svn path=/main/branches/prefix/; revision=6408
Fabian Groffen [Sat, 14 Apr 2007 20:00:02 +0000 (20:00 -0000)]
Make Mike happy and do a real path-search.
svn path=/main/branches/prefix/; revision=6407
Fabian Groffen [Sat, 14 Apr 2007 19:43:45 +0000 (19:43 -0000)]
Change logic to always use deb2targz if deb2targz is available, and fall
back on ar if unavailable. This avoids some CHOST logic, which I don't
really get (yet).
svn path=/main/branches/prefix/; revision=6406
Fabian Groffen [Sat, 14 Apr 2007 08:50:39 +0000 (08:50 -0000)]
Make misc-functions safe for paths/files with spaces in them.
svn path=/main/branches/prefix/; revision=6400
Fabian Groffen [Sat, 14 Apr 2007 07:56:43 +0000 (07:56 -0000)]
Merged from trunk 6382:6397
+------------------------------------------------------------------------+
| 6383 | Use a config instance that's not locked/immutable. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6384 | Use catpkgsplit instead of pkgsplit for consistency with |
| zmedico | usage elsewhere. |
|----------+-------------------------------------------------------------|
| 6386 | Add CATEGORY to blacklisted variables since it can |
| zmedico | interfere with CATEGORY guessing inside doebuild. |
|----------+-------------------------------------------------------------|
| 6388 | Use relative paths inside ecompressdir in order to avoid |
| zmedico | 'Argument list too long' errors with large file sets |
| | (observed when installing sys-apps/man-pages). |
|----------+-------------------------------------------------------------|
| 6392 | simplify unsafe file checking so files/paths with spaces |
| SpankMan | dont cause troubles |
|----------+-------------------------------------------------------------|
| 6394 | create leading directories to match behavior of other do* |
| SpankMan | programs |
|----------+-------------------------------------------------------------|
| 6395 | document new version suffix style #166522 |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 6396 | Prefix the hardlink source with ${D} like we always have. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6399
Fabian Groffen [Fri, 13 Apr 2007 13:05:37 +0000 (13:05 -0000)]
Apparently the combination of SVN and me messed up some changes that
should have been properly propagated.
svn path=/main/branches/prefix/; revision=6391
Fabian Groffen [Fri, 13 Apr 2007 12:58:20 +0000 (12:58 -0000)]
Remove home-made functions; they are not in the trunk, and the added
value is another difference between mainline and prefix.
svn path=/main/branches/prefix/; revision=6390
Fabian Groffen [Thu, 12 Apr 2007 17:17:48 +0000 (17:17 -0000)]
On AIX, we don't use GNU binutils ar, and the ar out there isn't
compatible as well (like odcctools' one), so we have to resort to using
deb2targz on that platform.
svn path=/main/branches/prefix/; revision=6381
Fabian Groffen [Thu, 12 Apr 2007 13:18:12 +0000 (13:18 -0000)]
Merged from trunk 6378:6379
+------------------------------------------------------------------------+
| 6379 | cleanup example ebuild to be more representative of a |
| SpankMan | "good" ebuild #174260 by Timothy Redaelli |
+------------------------------------------------------------------------+
(I'm somehow not convinced this example is completely correct...)
svn path=/main/branches/prefix/; revision=6380
Fabian Groffen [Thu, 12 Apr 2007 10:42:57 +0000 (10:42 -0000)]
Merged from trunk 6370:6371
+------------------------------------------------------------------------+
| 6371 | For bug #173808, add back the old heuristics to make sure |
| zmedico | that we don't just blindly compress the contents of any |
| | directory named "man". |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6378
Fabian Groffen [Thu, 12 Apr 2007 10:38:59 +0000 (10:38 -0000)]
Quote regexp, by Michael Haubenwallner
svn path=/main/branches/prefix/; revision=6377
Fabian Groffen [Tue, 10 Apr 2007 16:03:57 +0000 (16:03 -0000)]
More portage_const -> portage.const. This has obviously never been
tried before.
svn path=/main/branches/prefix/; revision=6370
Fabian Groffen [Tue, 10 Apr 2007 15:53:15 +0000 (15:53 -0000)]
Funk and Fix it up a bit.
svn path=/main/branches/prefix/; revision=6369
Fabian Groffen [Tue, 10 Apr 2007 15:47:43 +0000 (15:47 -0000)]
Merged from trunk 6353:6362
+------------------------------------------------------------------------+
| 6354 | Only apply permissions to ccache, confcache, and distcc dirs |
| zmedico | when they are created in order to avoid interference with |
| | whatever the user's preferred permissions are. Thanks to |
| | Diego Pettenò <flameeyes@gmail.com> for reporting. |
|---------+--------------------------------------------------------------|
| 6356 | Cache NEEDED in order to optimize update_library_map() |
| zmedico | calls. |
|---------+--------------------------------------------------------------|
| 6357 | Update the FEATURES=strict docs for better clarity. Thanks |
| zmedico | to taviso for reporting. |
|---------+--------------------------------------------------------------|
| 6358 | Don't load FEATURES in load_infodir() because FEATURES from |
| zmedico | the build host shouldn't be interpreted asFEATURES on the |
| | client system. Thanks to Thanks to Chri |
|---------+--------------------------------------------------------------|
| 6360 | Efficiently recycle partial valid vdb cache when possible. |
| zmedico | This reduces disk load when switching between versions of |
| | portage that cache different keys. |
|---------+--------------------------------------------------------------|
| 6362 | For bug #173808, compress ${mandir} all in one go instead of |
| zmedico | doing subdirectories separately. This allows symlinks that |
| | point into sibling directories to get updated properly be |
| | ecompressdir. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6368
Fabian Groffen [Tue, 10 Apr 2007 15:44:16 +0000 (15:44 -0000)]
A bit too much of spaces to tabs.
svn path=/main/branches/prefix/; revision=6367
Fabian Groffen [Tue, 10 Apr 2007 15:41:24 +0000 (15:41 -0000)]
portage_const -> portage.const
svn path=/main/branches/prefix/; revision=6366
Fabian Groffen [Tue, 10 Apr 2007 15:34:22 +0000 (15:34 -0000)]
" " -> "\t"
Mixing them in Python is asking for trouble. In fact, even Python
didn't know what to do with this file anymore.
svn path=/main/branches/prefix/; revision=6365