Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | depgraph: use _iter_match_pkgs_any where possible | Zac Medico | 2011-09-09 | 1 | -6/+5 | |
| | ||||||
* | Use utf_8 'merge' encoding for all locales.v2.2.0_alpha55 | Zac Medico | 2011-09-09 | 1 | -18/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | Previously, we used sys.getfilesystemencoding() for the 'merge' encoding, but that had various problems: 1) If the locale is ever changed then it can cause orphan files due to changed character set translation. 2) Ebuilds typically install files with utf_8 encoded file names, and then portage would be forced to rename those files to match sys.getfilesystemencoding(), possibly breaking things. 3) Automatic translation between encodings can lead to nonsensical file names when the source encoding is unknown by portage. 4) It's inconvenient for ebuilds to convert the encodings of file names themselves, and upstreams typically encode file names with utf_8 encoding. So, instead of relying on sys.getfilesystemencoding(), we avoid the above problems by using a constant utf_8 'merge' encoding for all locales, as discussed in bug #382199 and bug #381509. | |||||
* | depgraph: pull in new virtual slots with --update | Zac Medico | 2011-09-09 | 1 | -1/+7 | |
| | | | | | | | | Previously, the virtual cost minimization code from bug #141118 would prevent virtual dependencies from pulling in new slots. That behavior was not desired for --update, so now it's fixed to pull in the latest slot available. This allows virtual/jdk-1.7.0 to be pulled in by dependencies when --update is enabled. | |||||
* | getbinpkg: fix old binhost protocol for python3 | Zac Medico | 2011-09-08 | 1 | -3/+12 | |
| | | | | This will fix bug #382233. | |||||
* | egencache: tweak cache dir write access check | Zac Medico | 2011-09-07 | 1 | -5/+9 | |
| | ||||||
* | egencache: remove metadata-transfer warning | Zac Medico | 2011-09-07 | 2 | -4/+0 | |
| | | | | | | It should be enough that the automatic use of metadata-transfer is documented in the man page, and allows us to avoid showing a useless warning in common usage scenarios. | |||||
* | pordbapi: add unshared cache mode for egencache | Zac Medico | 2011-09-07 | 1 | -6/+27 | |
| | ||||||
* | egencache: validate cache dir more | Zac Medico | 2011-09-07 | 1 | -3/+19 | |
| | ||||||
* | cache/volatile: fix __iter__ and __contains__ | Zac Medico | 2011-09-07 | 1 | -2/+6 | |
| | | | | Special methods can't be assigned in the constructor. | |||||
* | abssymlink: fix inverted logic from last commitv2.2.0_alpha54 | Zac Medico | 2011-09-06 | 1 | -1/+1 | |
| | ||||||
* | merge: avoid abssymlink readlink call | Zac Medico | 2011-09-06 | 2 | -3/+11 | |
| | | | | | | This will avoid the "OSError: [Errno 2] No such file or directory" that is triggered inside abssymlink if the merge encoding is not ascii or utf_8, as shown in bug #382021. | |||||
* | tests/emerge: test regenworld | Zac Medico | 2011-09-05 | 1 | -0/+3 | |
| | ||||||
* | tests/emerge: test fixpackages | Zac Medico | 2011-09-05 | 1 | -0/+3 | |
| | ||||||
* | tests/emerge: test env-update | Zac Medico | 2011-09-05 | 2 | -1/+4 | |
| | ||||||
* | tests/emerge: test portageq | Zac Medico | 2011-09-05 | 1 | -3/+16 | |
| | ||||||
* | ResolverPlayground: make.profile in /etc/portage | Zac Medico | 2011-09-05 | 1 | -10/+10 | |
| | ||||||
* | tests/emerge: test egencache | Zac Medico | 2011-09-05 | 2 | -16/+38 | |
| | | | | | This tests --update in any case, and --update-use-local-desc only if python xml support is detected. | |||||
* | tests/emerge: add a debug mode that shows stdout | Zac Medico | 2011-09-05 | 1 | -7/+24 | |
| | ||||||
* | tests/emerge: test directory with latin-1 enc | Zac Medico | 2011-09-05 | 1 | -2/+4 | |
| | ||||||
* | Update unread news items in --pretend mode. | Zac Medico | 2011-09-04 | 1 | -4/+17 | |
| | | | | | | | | | This has been disabled since commit c7faa634369e61b87a40172ceb0a5cb9494fd518, but the only reason cited was to avoid permissions issues. So, go ahead and enable it, and handle PermissionDenied just in case. NOTE: The NewsManager typically handles permission errors by returning silently, so PermissionDenied won't necessarily be raised even if we do trigger a permission error. | |||||
* | test_pty_eof: add SKIP msg for unsupported plat | Zac Medico | 2011-09-04 | 1 | -0/+13 | |
| | ||||||
* | tests/emerge: auto-disable sandbox if necessary | Zac Medico | 2011-09-04 | 1 | -0/+6 | |
| | ||||||
* | Fix repoman dependency.unknown to use xmatch.v2.2.0_alpha53 | Zac Medico | 2011-09-03 | 1 | -11/+12 | |
| | | | | This solves the issues discussed in bug #381087, comment #8. | |||||
* | Handle symlink content with bad encoding. | Zac Medico | 2011-09-03 | 3 | -8/+38 | |
| | | | | | | | | This will fix bug #381629. The case is tested in tests/emerge. During forced charset conversion, 'ascii' codec is forced, since otherwise we somehow end up with the wrongly encoded file names when running the test with Python 3.2 (which causes encoding problems for quickpkg when it calls tarfile.gettarinfo). | |||||
* | Join /var/log/emerge.log with EPREFIX. | Zac Medico | 2011-09-03 | 1 | -1/+10 | |
| | ||||||
* | elog/mod_save: join /var/log with os.sep too | Zac Medico | 2011-09-03 | 2 | -2/+4 | |
| | ||||||
* | elog/mod_echo: send all msg types to stdout | Zac Medico | 2011-09-03 | 1 | -0/+13 | |
| | ||||||
* | elog/mod_save: join /var/log with EPREFIX | Zac Medico | 2011-09-03 | 2 | -2/+2 | |
| | ||||||
* | Handle unpickle EOFError. | Zac Medico | 2011-09-03 | 5 | -8/+14 | |
| | ||||||
* | Handle unpickle AttributeError (bug #381705). | Zac Medico | 2011-09-03 | 5 | -9/+20 | |
| | ||||||
* | tests/emerge: add minimal herds.xml | Zac Medico | 2011-09-03 | 3 | -17/+60 | |
| | | | | This will allow src_test to trigger issues like bug #381657. | |||||
* | xml/metadata: handle py 3.1 cElementTree incompat | Zac Medico | 2011-09-03 | 1 | -2/+3 | |
| | | | | This will fix bug #381657. | |||||
* | Fix indentation.v2.2.0_alpha52 | Arfrever Frehtes Taifersar Arahesis | 2011-09-02 | 1 | -1/+1 | |
| | ||||||
* | xml/metadata: handle py 2.6 cElementTree incompat | Zac Medico | 2011-09-02 | 1 | -3/+12 | |
| | ||||||
* | vartree: add missing _merge_unicode_error import | Zac Medico | 2011-09-02 | 1 | -2/+2 | |
| | ||||||
* | tests/emerge: disable unmerge delays | Zac Medico | 2011-09-01 | 1 | -0/+2 | |
| | ||||||
* | tests/emerge: test binary packages and emaint | Zac Medico | 2011-09-01 | 1 | -1/+12 | |
| | ||||||
* | Use utf_8 encoding for merge when ascii is configured. | Zac Medico | 2011-09-01 | 1 | -3/+14 | |
| | | | | | | | It probably won't hurt, and forced conversion to ascii encoding is known to break some packages that install file names with utf_8 encoding (see bug #381509). The ascii aliases are borrowed from python's encodings.aliases.aliases dict. | |||||
* | tests/emerge: enable arbitrary commands | Zac Medico | 2011-09-01 | 1 | -18/+22 | |
| | | | | | | This will allow us to throw in some test commands for various helpers related to emerge (things like etc-update, dispatch-conf, quickpkg, portageq, ebuild, and emaint). | |||||
* | Show merge list before "missed update" messages. | Zac Medico | 2011-09-01 | 1 | -0/+2 | |
| | ||||||
* | merge: start at correct EPREFIX offset | Zac Medico | 2011-09-01 | 1 | -1/+2 | |
| | ||||||
* | tests/emerge: install some files | Zac Medico | 2011-09-01 | 2 | -0/+18 | |
| | ||||||
* | tests/emerge: add some pkgs for depclean | Zac Medico | 2011-08-31 | 1 | -0/+16 | |
| | ||||||
* | doebuild_environment: include EPREFIX in ED | Zac Medico | 2011-08-31 | 1 | -1/+3 | |
| | ||||||
* | unmerge: never unmerge outside of EROOT | Zac Medico | 2011-08-31 | 1 | -1/+8 | |
| | ||||||
* | xml/metadata: implement XMLParser.doctype() | Zac Medico | 2011-08-31 | 1 | -2/+13 | |
| | | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47. | |||||
* | Revert "xml/metadata: implement XMLParser.doctype()" | Zac Medico | 2011-08-31 | 9 | -136/+60 | |
| | | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included. | |||||
* | xml/metadata: implement XMLParser.doctype() | Zac Medico | 2011-08-31 | 9 | -60/+136 | |
| | | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47. | |||||
* | Fix deprecated Element.getchildren() call. | Zac Medico | 2011-08-31 | 1 | -2/+1 | |
| | ||||||
* | make.conf.5: bump date stamp | Zac Medico | 2011-08-31 | 1 | -1/+1 | |
| |