Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update portage to create directories atomically. | David James | 2010-08-31 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | Portage should use the ensure_dirs function instead of os.makedirs to create directories, because this function ensures atomicity. It prevents failures when more than one process tries to create the same directory. This fixes a crash bug reported by msb: [...] File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3258, in _merge self.vartree.dbapi._bump_mtime(self.mycpv) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 152, in _bump_mtime os.makedirs(catdir) File "/usr/lib64/portage/pym/portage/__init__.py", line 210, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) File "/usr/lib64/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '/home/msb/trunk/src/build/images/x86-generic/0.8.63.2010_08_03_1844-a1/rootfs//var/db/pkg/x11-proto' BUG=chromium-os:5366 TEST=build_packages && build_image Review URL: http://codereview.chromium.org/3113014 | |||||
* | Add comments about consumers of FakeVardbapi.getpath(). | Zac Medico | 2010-08-31 | 1 | -0/+4 | |
| | ||||||
* | Simplify the vartree constructor usage in config.getvirtuals(). | Zac Medico | 2010-08-31 | 1 | -2/+1 | |
| | ||||||
* | Use self.dbapi.getpath() to simplify code in vartree.get_provide(). | Zac Medico | 2010-08-31 | 1 | -1/+1 | |
| | ||||||
* | Bug #335439 - Fix "AttributeError: 'vartree' object has no attribute | Zac Medico | 2010-08-31 | 1 | -1/+1 | |
| | | | | '_eroot'" in vartree.get_provide(). | |||||
* | When portage updates itself and the new version either inherits | Zac Medico | 2010-08-31 | 3 | -5/+12 | |
| | | | | | | | | | git.eclass or has 9999 in its version, trigger the 'use copy of current sources for install, then restart portage' routine. This is required since with the live git portage-9999 ebuild we can't use the version to detect incompatible changes to ebuild.sh. This issue was noticed due to recent versions of ebuild.sh expecting PORTAGE_BZIP2_COMMAND to be set, causing incompatibility with installed portage-9999 instances. | |||||
* | Fix ResolverPlayground.cleanup() to cleanup the portdbapi instance. | Zac Medico | 2010-08-31 | 1 | -0/+3 | |
| | ||||||
* | Show PORTAGE_BZIP2_COMMAND and PORTAGE_BUNZIP2_COMMAND in emerge --info, | Zac Medico | 2010-08-30 | 1 | -1/+11 | |
| | | | | in case it triggers mysterious unpack() issues or something. | |||||
* | Fix bugs in features_set._prune_overrides() and add another test case. | Zac Medico | 2010-08-30 | 2 | -12/+19 | |
| | ||||||
* | Add testcase to check that features_set._prune_overrides() is working | Zac Medico | 2010-08-30 | 1 | -1/+8 | |
| | | | | correctly. | |||||
* | Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND and | Zac Medico | 2010-08-30 | 6 | -9/+73 | |
| | | | | | | PORTAGE_BUNZIP2_COMMAND settings in make.conf. This only adds support for binary packages, since that's where pbzip2 can provide the most benefit in common cases. | |||||
* | Bug #326561 - Implement FEATURES=unknown-features-filter. This is not | Zac Medico | 2010-08-30 | 3 | -15/+65 | |
| | | | | | enabled by default now, but it may be in the future, depending on feedback from unknown-features-warn. | |||||
* | Move FEATURES=unknown-features-warn code to config.regenerate() so | Zac Medico | 2010-08-30 | 1 | -12/+21 | |
| | | | | | that it shows warnings for unknown FEATURES settings from package.env, and keep a record of shown warnings in config._unknown_features. | |||||
* | When _ENABLE_DYN_LINK_MAP is False, show additional --depclean help | Zac Medico | 2010-08-30 | 2 | -0/+13 | |
| | | | | and warnings advising use of revdep-rebuild. | |||||
* | When _ENABLE_SET_CONFIG is False, disable reading/writing of the | Zac Medico | 2010-08-30 | 1 | -7/+21 | |
| | | | | world_sets file in WorldSelectedSet. | |||||
* | When _ENABLE_SET_CONFIG is False, make load_default_config() create | Zac Medico | 2010-08-30 | 1 | -1/+42 | |
| | | | | | a default hardcoded set configuration that will be used by the upcoming 2.1.9 branch. | |||||
* | Use _ENABLE_PRESERVE_LIBS and _ENABLE_DYN_LINK_MAP constants to control | Zac Medico | 2010-08-30 | 1 | -7/+13 | |
| | | | | instantiation of vardbapi._plib_registry and vardbapi._linkmap. | |||||
* | Add some private constants for use in conditional code in order to | Zac Medico | 2010-08-30 | 1 | -0/+18 | |
| | | | | minimize the diff between branches. | |||||
* | Add a TODO note to AbstractEbuildProcess._can_log() about adding support | Zac Medico | 2010-08-30 | 1 | -0/+3 | |
| | | | | for logging via named pipe (fifo) for sesandbox. | |||||
* | Make match_from_list() strip "!!" when appropriate for strong blocks. | Zac Medico | 2010-08-30 | 1 | -1/+4 | |
| | ||||||
* | Remove duplicate real_vardb definition from merge in action_depclean(). | Zac Medico | 2010-08-30 | 1 | -1/+0 | |
| | ||||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-30 | 1 | -1/+2 | |
|\ | ||||||
| * | Fix "UnboundLocalError: local variable 'real_vardb' referenced before ↵ | Arfrever Frehtes Taifersar Arahesis | 2010-08-30 | 1 | -1/+1 | |
| | | | | | | | | assignment". | |||||
| * | Fix typo in comment. | Arfrever Frehtes Taifersar Arahesis | 2010-08-30 | 1 | -1/+1 | |
| | | ||||||
* | | Fix broken reference to real_vardb in calc_depclean() from 2 commits ago. | Zac Medico | 2010-08-30 | 1 | -1/+1 | |
|/ | ||||||
* | Rename the portage.sets module to portage._sets since it will be useful | Zac Medico | 2010-08-30 | 21 | -35/+40 | |
| | | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form. | |||||
* | Always check if vardbapi._linkmap and vardbapi._plib_registry are | Zac Medico | 2010-08-29 | 5 | -44/+113 | |
| | | | | | | None before trying to use them. This will be useful in the upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form. | |||||
* | Rename vardbapi.linkmap to vardbapi._linkmap since I'm | Zac Medico | 2010-08-29 | 5 | -15/+15 | |
| | | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form. | |||||
* | Rename vardbapi.plib_registry to vardbapi._plib_registry since I'm | Zac Medico | 2010-08-29 | 5 | -22/+22 | |
| | | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form. | |||||
* | Move LinkageMap to a new portage.util._dyn_libs.LinkageMapELF module. | Zac Medico | 2010-08-29 | 2 | -614/+636 | |
| | ||||||
* | Move PreservedLibsRegistry to a new ↵ | Zac Medico | 2010-08-29 | 3 | -117/+141 | |
| | | | | portage.util._dyn_libs.PreservedLibsRegistry module. | |||||
* | Remove unused imports found by pylint. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 35 | -84/+34 | |
| | ||||||
* | Fix import. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 1 | -2/+2 | |
| | ||||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 4 | -11/+11 | |
| | ||||||
* | Add LocationsManager.profile_and_user_locations for use with ↵ | Sebastian Luther | 2010-08-29 | 2 | -8/+12 | |
| | | | | config.categories and archlist. | |||||
* | Add a TODO note about replacing BlockerDB with an incremental depgraph | Zac Medico | 2010-08-29 | 1 | -0/+5 | |
| | | | | for solving bug #279623. | |||||
* | Add a Scheduler._running_tasks() set in order to simplify the | Zac Medico | 2010-08-28 | 1 | -2/+5 | |
| | | | | _is_work_scheduled() method. | |||||
* | Inside Scheduler._dependent_on_scheduled_merges(), don't traverse children | Zac Medico | 2010-08-28 | 1 | -1/+5 | |
| | | | | of uninstall nodes since those aren't dependencies in the usual sense. | |||||
* | Simplify the empty USE conditional /var/db/pkg metadata code in | Zac Medico | 2010-08-28 | 1 | -8/+6 | |
| | | | | _post_src_install_uid_fix(), and handle one more case. | |||||
* | When evaluating USE conditional metadata for /var/db/pkg inside | Zac Medico | 2010-08-28 | 1 | -0/+11 | |
| | | | | | _post_src_install_uid_fix(), ensure non-empty entries are removed if the evaluation results in an empty value. | |||||
* | If there are circular dependencies, and circular_dependency_handler | Zac Medico | 2010-08-28 | 2 | -3/+21 | |
| | | | | | | doesn't have a message, eliminate root nodes before calling digraph.debug_print(). If --debug is enabled then do this even if circular_dependency_handler has a message. | |||||
* | Bug #335055 - Fix "TypeError: argument of type 'NoneType' is not | Zac Medico | 2010-08-28 | 1 | -4/+5 | |
| | | | | | iterable" raised from first call to VirtualsManager.get_virts_p() when trying to expand the category for a package name. | |||||
* | In depgraph._show_unsatisfied_dep(), show some debug info if | Zac Medico | 2010-08-28 | 1 | -5/+12 | |
| | | | | Atom.violated_conditionals() raises InvalidAtom. | |||||
* | Bug #334935 - Fix broken reference to config.pmaskdict insidev2.2_rc71 | Zac Medico | 2010-08-27 | 1 | -2/+3 | |
| | | | | getmaskingreason(). | |||||
* | Use StopIteration to exit nested loops.v2.2_rc70 | Zac Medico | 2010-08-27 | 1 | -5/+9 | |
| | ||||||
* | Add support for IUSE.missing checks in conditional USE dependencies. | Zac Medico | 2010-08-27 | 1 | -3/+35 | |
| | ||||||
* | Add the chflags and selinux values to SUPPORTED_FEATURES. | Zac Medico | 2010-08-27 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-27 | 3 | -3/+3 | |
|\ | ||||||
| * | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-08-28 | 3 | -3/+3 | |
| | | ||||||
* | | Fix breakage caused ignorance of /etc/portage/{arch.list,categories} | Zac Medico | 2010-08-27 | 1 | -9/+12 | |
|/ | | | | config overrides. |