aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove extended package set configuration docs.v2.1.10.11Zac Medico2011-08-124-25/+9
| | | | Extended package sets configuration is disabled in the stable branch.
* Remove FEATURES=preserve-libs config/docs.Zac Medico2011-08-123-20/+6
| | | | Support for FEATURES=preserve-libs is disabled in the stable branch.
* portage.const: toggle constants for stable branchZac Medico2011-08-121-5/+5
| | | | | | | | _ENABLE_DYN_LINK_MAP = False _ENABLE_PRESERVE_LIBS = False _ENABLE_REPO_NAME_WARN = False _ENABLE_SET_CONFIG = False _SANDBOX_COMPAT_LEVEL = "16"
* repoman: tweak --if-modified help outputv2.2.0_alpha51Zac Medico2011-08-121-0/+1
|
* repoman: warn when --if-modified finds nothingZac Medico2011-08-121-1/+10
|
* Fix log uid for logrotate-3.8 compat (bug 378451)Zac Medico2011-08-123-5/+55
| | | | | | | | | | | If PORT_LOGDIR is writable by the portage group but its uid is not portage_uid, then set the uid to portage_uid if we have privileges to do so, and also copy the uid to the logfile. This fixes logrotate chown failures during the compression phase, when it attempts to copy the uid from the logfile to a temp file. With the "su portage portage" directive and logrotate-3.8.0, logrotate's chown call during the compression phase will only succeed if the log file's uid is portage_uid.
* resume_depgraph: prune all indirect unsatisfiedZac Medico2011-08-101-6/+6
| | | | This should fix some cases of bug 378187.
* repoman: add --if-modified option to check lessZac Medico2011-08-102-0/+18
| | | | | | This is useful if you want to do a repo-level or category-level commit but you only want to run checks for the packages that have uncommitted modifications.
* repoman: check more helper calls for $D, $ED...Zac Medico2011-08-081-1/+1
| | | | | | This adds docinto, docompress, fowners and fperms to the variable.usedwithhelpers check. Notably absent is dosed since that supports mixed input. This will fix bug #377303.
* Package: remove unused profile.system mask typeZac Medico2011-08-081-1/+0
|
* Remove "profile" mask support as per PMS 5.2.7.Zac Medico2011-08-085-14/+4
| | | | | | | | Since this is considered a "legacy" feature by PMS 5.2.7, there shouldn't be any need to support it anymore. Profiles can use package.mask to get similar results, and package.mask additionally allows for comments which are conveniently displayed by emerge. This will fix bug #377907.
* _check_temp_dir: check for 'portage' symlinkZac Medico2011-08-081-3/+24
| | | | This will fix bug #378403.
* fetch: handle non-essential statvfs failureZac Medico2011-08-061-1/+10
|
* unmerge: remove more info dir files for #323213Zac Medico2011-08-061-1/+5
| | | | | Treat any directory named "info" as a candidate here, since it might have been in INFOPATH previously even though it may not be there now.
* portageq: fix short help display for leading \nZac Medico2011-08-051-1/+1
|
* unmerge: remove generated info "dir" filesZac Medico2011-08-041-0/+40
| | | | | | These files are generated by emerge, so we need to remove them when they are the only thing left in the directory. This will fix bug #323213.
* action_info: don't mix print with writemsg_stdoutZac Medico2011-08-042-47/+46
| | | | | This should prevent strange output buffering/order issues reported when piping output to head.
* portageq best_visible: support optional pkgtypeZac Medico2011-08-041-11/+49
|
* Scheduler: fix parallel-fetch order with --jobs=1Zac Medico2011-08-021-0/+7
| | | | | | This avoids a case where the first prefetcher is discarded, causing the second prefetcher to occupy the fetch queue before the first fetcher has an opportunity to execute.
* unpack: remove backward compat for bug #376741v2.2.0_alpha50Zac Medico2011-08-021-12/+0
| | | | | | | This case is extremely rare, since the most common practice is to unpack source files that are already in the cwd. The only Gentoo packages that needed to be fixed were games-arcade/tuxpuck and www-plugins/google-talkplugin.
* unmerge: display preserved syms in ascending ordZac Medico2011-08-021-1/+1
|
* unpack: always unpack to cwd (bug #376741)Zac Medico2011-08-011-1/+15
| | | | | | | This brings portage into agreement with PMS. Also, for existing EAPIs, if the source file is in a writable directory then this will create a symlink for backward-compatible emulation of tools like gunzip and bunzip2.
* depgraph: fix duplicate zero pkg count displayZac Medico2011-08-011-1/+1
|
* unmerge: unmerge symlinks broken by rmdirZac Medico2011-08-011-7/+29
| | | | | This prevents some more false alarms from commit 4bb08136f073024c5d31dceb1618b6f4e7246369.
* post_emerge: just return instead of sys.exit()Zac Medico2011-08-011-7/+1
|
* unmerge: fix false alarm about protected symlinksv2.2.0_alpha49Zac Medico2011-07-291-1/+1
| | | | | | | The error message about preserved symlinks, from commit 4bb08136f073024c5d31dceb1618b6f4e7246369, should only be triggered in cases when the package being unmerged has the given path listed as a symlink in its CONTENTS.
* Fix a typo in a comment.v2.2.0_alpha48Zac Medico2011-07-291-1/+1
|
* emerge: protect symlinks to directories sometimesZac Medico2011-07-281-2/+88
| | | | | | | | | | | | | | Before, it was possible to unmerge a symlink to a directory, such that files installed via the path of the symlink could become inaccessible via that path (and also making it impossible to unmerge them via that path). Now, the symlink will only be unmerged if the directory that it points to only contains regular files which are all being unmerged. In any other case, the symlink will be preserved and an eerror log message will record the event. This will give the user an opportunity to take further action if they deem it necessary, and such symlink preservation will not be silent as it was reported in bug #326685, comment #3.
* depgraph: handle invalid SRC_URIZac Medico2011-07-271-2/+7
| | | | This is a minimal fix for bug #376577.
* config: fix AttributeError: 'NoneType' errorsZac Medico2011-07-271-1/+1
| | | | | | This is a regression from commit 1fdeb78d08bac14f3f999f112499d179a87cf342 and it can only be triggered when repo-level package.use is present.
* merge: abort if symlink replacing dirZac Medico2011-07-261-8/+30
| | | | | This is required for compliance with PMS section 13.4 as discussed in bug #326685.
* NEWS: Add note about EAPI 3 in portage-2.1.7.17.Zac Medico2011-07-251-0/+6
|
* depgraph: make --exclude handle contradictionsZac Medico2011-07-251-1/+7
| | | | | This makes contradictory things like `emerge -e @system --exclude gcc` work as expected.
* Fix a typo in the previous commit.v2.2.0_alpha47Zac Medico2011-07-231-1/+1
|
* LinkageMapELF.getOwners(): add note about plibsZac Medico2011-07-231-0/+5
| | | | | | For preserved libraries, the owner(s) may have been been previously uninstalled, but these uninstalled owners can be returned by this method since they are registered in the PreservedLibsRegistry.
* LinkageMapELF: fix reversed x, cpv var refsZac Medico2011-07-231-1/+1
| | | | This was an error in commit f393413c3f823ef4a60acfcc41c3920933510fc1.
* LibraryConsumerSet: handle KeyError from dbapiZac Medico2011-07-231-8/+13
|
* merge: handle symlink replacing dirZac Medico2011-07-231-5/+13
| | | | | | | | | | | | | Previously, these symlinks would trigger a file collision message and would then be silently dropped in cases when the file collsion did not cause emerge to bail out due to FEATURES=protect-owned or collision-protect. Now, if emerge doesn't bail out due to a file collision, it will trigger an eerror message and merge the symlink with a .backup.XXXX extension appended to the file name, similar to handling of regular files in commit 740f71301ed3daf44c0e77df5d5de39fe1438fb1. This will fix bug 326685.
* LinkageMapELF: remove 5-tuple unpack codeZac Medico2011-07-221-17/+22
|
* LinkageMapELF: add getOwners() method and use itZac Medico2011-07-224-19/+65
| | | | | | This preserves the owner information inside LinkageMap.rebuild() and uses it to implement a getOwners() method, which makes it possible to efficiently lookup owners of library providers and consumers.
* LinkageMapELF: use a class for _obj_properiesZac Medico2011-07-221-11/+31
| | | | | This simplifies the interface, avoiding the need for hardcoded indexes and making it easy to add new attributes.
* LinkageMapELF: optimize memory usageZac Medico2011-07-221-9/+20
| | | | | | | This reduces memory consumption by approximately 30%, by replacing mutable set instances with arrays, tuples, and frozensets where appropriate. Also, identical frozenset instances are shared when available.
* BinpkgFetcher: support selinux PORTAGE_FETCH_TZac Medico2011-07-212-2/+14
| | | | | Thanks to Sven Vermeulen <sven.vermeulen@siphos.be> for the initial patch posted on bug #375835.
* EverythingSet: always create SLOT atomsZac Medico2011-07-211-14/+6
| | | | | | Before it would only include the SLOT in the atom if there were multiple slots installed. However, taht could lead to unwanted upgrades as reported in bug #338959. Therefore, always create SLOT atoms.
* Optimize LinkageMapELF.findConsumers().Zac Medico2011-07-201-7/+8
| | | | | If there are no non-excluded providers then there's no need to search for satisfied consumers.
* Fix unused case in LinkageMapELF.findConsumers().Zac Medico2011-07-191-8/+12
| | | | | | Currently, we never pass in more that one package via the exclude_providers argument, so we never trigger the flaw in the logic that this fixes.
* Scheduler: fix _running_tasks for uninstallsv2.2.0_alpha46Zac Medico2011-07-191-1/+3
|
* EbuildBuild: pass ebuild_path to EbuildFetcherZac Medico2011-07-191-0/+1
| | | | This avoids a redundant pordbapi.findname() call.
* Make emerge --noreplace identical to --selective.Zac Medico2011-07-195-31/+8
| | | | | | This removes a very subtle difference in --noreplace package selection logic which is not very useful and triggers strange package selection choices in some cases, as reported in bug #375571.
* Scheduler: simplify _terminate_tasksZac Medico2011-07-181-19/+8
| | | | | | This should also fix bugs related to CompositeTask instances waiting for queued tasks to start and not being properly terminated in this case.