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
Fabian Groffen [Tue, 10 Apr 2007 15:33:28 +0000 (15:33 -0000)]
Also check python files in bin/
svn path=/main/branches/prefix/; revision=6364
Fabian Groffen [Sat, 7 Apr 2007 11:47:30 +0000 (11:47 -0000)]
Fix non-prefixness from previous commit
svn path=/main/branches/prefix/; revision=6353
Fabian Groffen [Sat, 7 Apr 2007 11:44:54 +0000 (11:44 -0000)]
Merged from trunk 6345:6351
+------------------------------------------------------------------------+
| 6346 | remove references to DOCDESTTREE and INSDESTTREE |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 6347 | change "DOCDESTTREE" to "_E_DOCDESTTREE_" to try and |
| SpankMan | prevent abuse from ebuild writers |
|----------+-------------------------------------------------------------|
| 6348 | tell people that the FILES section is not supposed to be |
| SpankMan | complete (and sneak in a few style fixups) |
|----------+-------------------------------------------------------------|
| 6349 | document /var/cache/edb/, /var/db/pkg/, and |
| SpankMan | /var/lib/portage/config |
|----------+-------------------------------------------------------------|
| 6350 | remove references to EXEDESTTREE |
| SpankMan | |
|----------+-------------------------------------------------------------|
| 6351 | change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and |
| SpankMan | prevent abuse from ebuild writers |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6352
Fabian Groffen [Fri, 6 Apr 2007 17:45:10 +0000 (17:45 -0000)]
Merged from trunk 6338:6344
(Do the changes I did yesterday again, but then the right way)
+------------------------------------------------------------------------+
| 6339 | Punt the sorted_versions() function in favor of |
| zmedico | list.sort(vercmp). |
|---------+--------------------------------------------------------------|
| 6341 | Don't set os.environ["USERLAND"] inside portage.data and |
| zmedico | rely on USERLAND from the profile instead (bail out if |
| | necessary when USERLAND is unset). |
|---------+--------------------------------------------------------------|
| 6342 | Don't force OS detection in the portage.data module. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6343 | Make sure XARGS has a default value. |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6344 | Provide a default value to the getattr call. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6345
Fabian Groffen [Thu, 5 Apr 2007 20:14:39 +0000 (20:14 -0000)]
portage/__init__ includes userland from portage/data. It doesn't use
it, so we just define it, and set the value to something stupid.
svn path=/main/branches/prefix/; revision=6338
Fabian Groffen [Thu, 5 Apr 2007 20:00:18 +0000 (20:00 -0000)]
Completely remove USERLAND setting. For some reason yet unknown to me
python thinks userland="", and the profiles can do this much better than
I can in python.
svn path=/main/branches/prefix/; revision=6337
Fabian Groffen [Thu, 5 Apr 2007 16:19:46 +0000 (16:19 -0000)]
Get rid of userland madness. The default userland is "GNU", and only
BSD-ish things in non-prefix have a userland "BSD".
svn path=/main/branches/prefix/; revision=6336
Fabian Groffen [Thu, 5 Apr 2007 16:12:42 +0000 (16:12 -0000)]
As Michael Haubenwallner pointed out, in interrevisions, 01.1 should be
less than 01.10, which it is not if you interpret it as a float.
Instead pick the both components as separate integer values and compare
the sub-part if the main part is equal.
Fix crash in emerge --info that occurs if an interrevision package is
emerged which is listed. As far as I am aware this the cast to an int
is pointless here (pym/emerge/__init__.py) as it is processed as string
in portage.vercmp anyway.
svn path=/main/branches/prefix/; revision=6335
Fabian Groffen [Thu, 5 Apr 2007 15:38:52 +0000 (15:38 -0000)]
Merged from trunk 6327:6332
+------------------------------------------------------------------------+
| 6328 | After talking to marienz, decide that 1 class is better |
| WarnerBro | than 4, also realize that UserDict has most of the dict |
| | methods exposed, so drop them. Also add a LoaderError |
| | Exception. Still to do? add a validation callable into the |
| | loader to validate data. |
|-----------+------------------------------------------------------------|
| 6329 | drop line_count in favor of izip and count(), itertools |
| WarnerBro | FOR THE WIN baby. |
|-----------+------------------------------------------------------------|
| 6330 | I consulted the python oracle and it told me enumerate was |
| WarnerBro | better, so go team enumerate |
|-----------+------------------------------------------------------------|
| 6332 | For bug #173184, handle the CommandNotFound that is |
| zmedico | produced during uninstallation of prelink. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6334
Fabian Groffen [Sat, 31 Mar 2007 11:15:41 +0000 (11:15 -0000)]
Merged from trunk 6320:6325
+------------------------------------------------------------------------+
| 6321 | For bug #172571, use socket.AF_INET as the default family |
| zmedico | for socket.getaddrinfo(). |
|----------+-------------------------------------------------------------|
| 6324 | make PDEPEND wording less restrictive #172511 and clarify |
| SpankMan | install status wrt ||() as noted by ferringb |
|----------+-------------------------------------------------------------|
| 6325 | Fix missing import. |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6327
Fabian Groffen [Wed, 28 Mar 2007 20:17:15 +0000 (20:17 -0000)]
Merged from trunk 6316:6318
+------------------------------------------------------------------------+
| 6317 | spaces -> tabs |
| zmedico | |
|---------+--------------------------------------------------------------|
| 6318 | spaces -> tabs |
| zmedico | |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6320
Fabian Groffen [Wed, 28 Mar 2007 20:14:13 +0000 (20:14 -0000)]
Apparently some vital source has gotten lost somewhere. A vimdiff also
revealed some other differences with the trunk that are now eliminated.
svn path=/main/branches/prefix/; revision=6319
Fabian Groffen [Wed, 28 Mar 2007 19:39:38 +0000 (19:39 -0000)]
Cleanup a bit.
svn path=/main/branches/prefix/; revision=6316
Fabian Groffen [Wed, 28 Mar 2007 19:35:07 +0000 (19:35 -0000)]
Adding this script because .... well... we love open source and stuff.
A little script to turn an SVN range (revision1:revision2) into a
"Merged from trunk" message, used when merging changes from the trunk
into the prefix branch.
svn path=/main/branches/prefix/; revision=6315
Fabian Groffen [Wed, 28 Mar 2007 19:32:02 +0000 (19:32 -0000)]
Merged from trunk 6308:6309
+------------------------------------------------------------------------+
| 6309 | For bug #172539, fix ecompressdir suffix handling so that |
| zmedico | automatic decompression of Z, gz, and bz2 suffixes works |
| | properly. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6314
Fabian Groffen [Wed, 28 Mar 2007 19:26:57 +0000 (19:26 -0000)]
Merged from trunk 6291:6307
+------------------------------------------------------------------------+
| 6291 | minor name changes for bin tests, svn propset keywords Id |
| WarnerBro | stuff |
|-----------+------------------------------------------------------------|
| 6292 | Continue to support profile masking at least until bug |
| zmedico | #170697 is settled. |
|-----------+------------------------------------------------------------|
| 6297 | source ${T}/environment before the definition of |
| zmedico | qa_source() and qa_call() so that the call stack shows the |
| | original files and line numbers instead of those from |
| | ${T}/environment. Thanks to Markus Ullmann |
| | <jokey@gentoo.org> for reporting. |
|-----------+------------------------------------------------------------|
| 6299 | Filter the readonly attribute from variables saved in |
| zmedico | ${T}/environment to prevent 'readonly variable' error |
| | messages in later phases. |
|-----------+------------------------------------------------------------|
| 6301 | Properly anchor sed regexp for readlonly attribut |
| zmedico | filtering. |
|-----------+------------------------------------------------------------|
| 6303 | Synchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is |
| zmedico | the default now. |
|-----------+------------------------------------------------------------|
| 6305 | Convert "ebuild" and "binary" "nomerge" nodes into |
| zmedico | "installed" nodes for greater consistency in the depgraph. |
|-----------+------------------------------------------------------------|
| 6307 | Correctly pull the metadata again when the node is |
| zmedico | converted. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6313
Fabian Groffen [Wed, 28 Mar 2007 19:20:08 +0000 (19:20 -0000)]
Merged from trunk 6278:6291
+------------------------------------------------------------------------+
| 6279 | Fix the rest of the tests |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6280 | completely rewrite file bits, use Loader classes to push |
| WarnerBro | loading functionality down |
|-----------+------------------------------------------------------------|
| 6281 | split the loader classes into their own file, split the |
| WarnerBro | recursive filename grabbing out into it's own function |
|-----------+------------------------------------------------------------|
| 6282 | Do the "*" check as early as possible in |
| zmedico | config.getMissingLicenses(). |
|-----------+------------------------------------------------------------|
| 6283 | Verify the Manifest first even if there's only one package |
| zmedico | (prior to the fetch phase). |
|-----------+------------------------------------------------------------|
| 6285 | fix grammar in error output |
| SpankMan | |
|-----------+------------------------------------------------------------|
| 6286 | Fix insecure tempfile usage |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6287 | fix some tests, break others |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6288 | clean up some init functions, add PortageModules class |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6289 | fix tests for PortageModulesFile |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6290 | fix broken PortageModule classes |
| WarnerBro | |
|-----------+------------------------------------------------------------|
| 6291 | minor name changes for bin tests, svn propset keywords Id |
| WarnerBro | stuff |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6312
Fabian Groffen [Wed, 28 Mar 2007 19:17:18 +0000 (19:17 -0000)]
Merged from trunk 6262:6277
+------------------------------------------------------------------------+
| 6263 | default --help should be usable, so make the extended |
| SpankMan | output require --verbose |
|----------+-------------------------------------------------------------|
| 6264 | Add --verbose to the "for more help" message. |
| zmedico | |
|----------+-------------------------------------------------------------|
| 6265 | Ignore non-existent directories for bug #171809. This is |
| zmedico | required for readonly mode. |
|----------+-------------------------------------------------------------|
| 6267 | For bug #171840, consider all choices for slot intersection |
| zmedico | and promote those that have upgrades relative to other |
| | choices. |
|----------+-------------------------------------------------------------|
| 6269 | Clean up and simplify preference selection logic for bug |
| zmedico | #171840. |
|----------+-------------------------------------------------------------|
| 6271 | For bug #172033, remove the obsolete QA Notice for man |
| zmedico | pages that are already compressed. |
|----------+-------------------------------------------------------------|
| 6273 | Allow the merge task to continue despite conflicts when |
| zmedico | --fetch-all-uri is specified. |
|----------+-------------------------------------------------------------|
| 6275 | return from the merge task instead of calling sys.exit |
| zmedico | directly. |
|----------+-------------------------------------------------------------|
| 6277 | Verify all ebuild manifests before building anything now so |
| zmedico | that the user is notified of failure as soon as possible. |
+------------------------------------------------------------------------+
svn path=/main/branches/prefix/; revision=6311
Fabian Groffen [Wed, 21 Mar 2007 21:20:25 +0000 (21:20 -0000)]
Merged from trunk 6257:6261
Catch a potential InvalidDependString exception.
Add a docstring to config.getMissingLicenses().
Pass a list of USE flags into config.getMissingLicenses() so that the
method can eventually be used for binary packages in addition to ebuilds.
Fix a typo.
svn path=/main/branches/prefix/; revision=6262
Fabian Groffen [Tue, 20 Mar 2007 21:05:05 +0000 (21:05 -0000)]
Merged from trunk 6254:6256
Pass missing acceptable_licenses parameter into recursive
_getMissingLicenses() calls.
Fix cvstree import to avoid deprecation warning.
svn path=/main/branches/prefix/; revision=6257
Fabian Groffen [Tue, 20 Mar 2007 20:02:52 +0000 (20:02 -0000)]
Merged from trunk 6252:6253
Appropriately return from _getMissingLicenses() if one of the choices is
satisfied.
svn path=/main/branches/prefix/; revision=6254
Fabian Groffen [Tue, 20 Mar 2007 19:44:21 +0000 (19:44 -0000)]
Merged from trunk 6250:6251
Implement license visibility filtering for GLEP 23, bug #17367, and bug
#152593.
svn path=/main/branches/prefix/; revision=6252
Fabian Groffen [Tue, 20 Mar 2007 08:32:30 +0000 (08:32 -0000)]
Also backup EPREFIX and EROOT, such that we can use those variables in
e.g. pkg_config().
svn path=/main/branches/prefix/; revision=6250
Fabian Groffen [Tue, 20 Mar 2007 08:00:00 +0000 (08:00 -0000)]
- use python from the path, as the system python might be kind of "old"
- if you use /bin/sh, then also only use /bin/sh syntax
svn path=/main/branches/prefix/; revision=6249
Fabian Groffen [Sun, 18 Mar 2007 21:30:15 +0000 (21:30 -0000)]
Merged from trunk 6245:6247
Appropriately use globals() instead of locals() as suggested by marienz.
Revert fowners/fperms hack, as it was almost as broken as SpankMan's
commit.
svn path=/main/branches/prefix/; revision=6248
Fabian Groffen [Sun, 18 Mar 2007 12:00:20 +0000 (12:00 -0000)]
After Spanky's change, also the mode would get prefixed with ${ED},
which chmod or chown obviously doesn't grok. Since the manpages suggest
the mode should come first, we just take the first argument separate,
and leave it alone.
- if it isn't set, chmod/chown will bail out
- if it has spaces, we properly pass it through, up to chmod/chown to
decide what to do
- if it is a filename, chmod/chown will bail out for sure
svn path=/main/branches/prefix/; revision=6245