summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* elog_process: fix ridicoulus newlines bug #386771Zac Medico2011-10-111-4/+12
| | | | | | This fixes a regression since commit 8a119ea94ecc6668797e3a1358465ef3733f3a3e which added a newline after each character. This boosts efficiency since we no longer convert a strings to lists of characters.
* prepstrip: add support for elfutils stripMike Frysinger2011-10-111-18/+46
| | | | | | | If people use strip from the elfutils package, take advantage of some of its neat features (like splitting + stripping in one step). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: extract buildid with readelf to avoid debugedit when possibleMike Frysinger2011-10-111-9/+23
| | | | | | The readelf utility is much more common than debugedit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: avoid a `dirname` with a simple ${var%/*}Mike Frysinger2011-10-101-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* FakeVartree: disable match wrapper if necessaryv2.2.0_alpha66Zac Medico2011-10-101-2/+2
|
* FakeVartree: type from last commitZac Medico2011-10-101-1/+1
|
* FakeVartree: fix sync for --dynamic-deps=nZac Medico2011-10-101-1/+2
|
* Scheduler: fix myopts typo from last commitZac Medico2011-10-101-1/+1
|
* Add emerge --dynamic-deps <y|n> option.Zac Medico2011-10-106-6/+43
| | | | | | | | | | | | | This makes it possible to disable the dynamic dependency updates that FakeVartree performs by default. WARNING: If --dynamic-deps is disabled, then it is necessary to ensure that an alternative method is used to handle package moves in dependencies of installed packages. Normally, this is handled by FEATURES="fixpackages", which is enabled by default and may be disabled via make.conf(5). Alternatively, in order to manually apply package moves, run `emaint --fix moveinst` after each emerge --sync operation (see emaint(1)).
* mod_syslog: add newlines for bug #386627Zac Medico2011-10-101-5/+4
| | | | | This fixes omission of newlines in syslog messages since commit ca7bef7821876791a26a5f9df6938f4c77fe571f.
* elog_process: add newlines for bug #386627Zac Medico2011-10-101-4/+4
| | | | | This fixes omission of newlines in saved messages since commit ca7bef7821876791a26a5f9df6938f4c77fe571f.
* prepstrip: tweak style of debugedit checksv2.2.0_alpha65Zac Medico2011-10-091-8/+8
| | | | | Make the checks more like the FEATURES/RESTRICT checks from commit 286675a500998e536dbbf2ee2dfe1fedf4290b38.
* prepstrip: merge debugedit checks moreZac Medico2011-10-091-5/+11
| | | | | Use a ${debugedit_found} to remember if it's found or not, and use ${debugedit_warned} to avoid showing duplicate warnings.
* prepstrip: optimize duplicate calls to `has`Mike Frysinger2011-10-091-12/+23
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: merge debugedit checksMike Frysinger2011-10-091-6/+5
| | | | | | Avoid checking for debugedit multiple times. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests/dodir: check relative path by itselfMike Frysinger2011-10-091-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: setup default bin env moreMike Frysinger2011-10-091-0/+3
| | | | | | We want the default testing env to match default portage env. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: optimize chmod slightlyMike Frysinger2011-10-091-3/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests/__init__: return int from main()Zac Medico2011-10-092-8/+9
|
* tests/__init__: import print_functionZac Medico2011-10-091-0/+2
|
* MaskManager: fix "Unmatched removal", bug #386569Zac Medico2011-10-091-5/+40
|
* Skip PORTAGE_TMPDIR write check for fetchonly.Zac Medico2011-10-091-6/+7
| | | | Bug #286201
* show_ignored_binaries: filter noise, bug #386379Zac Medico2011-10-091-0/+26
|
* tests: add --list flag to show available testsMike Frysinger2011-10-091-21/+34
| | | | | | | | | Trying to guess at what runtests actually wants in terms of command line tests is pretty hard. Any invalid value just gives you an ugly traceback. So add a helper --list option so the user can easily figure out what the code wants *exactly*. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: add a --help option to make runtest more friendlyMike Frysinger2011-10-091-2/+7
| | | | | | | At the moment, trying to do `./runtests.h -h` just produces an ugly and indecipherable traceback. Make it a bit more friendly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: split up getTests into helper funcs to avoid duplicationMike Frysinger2011-10-091-20/+17
| | | | | | | This avoids a little duplication between the getTestFromCommandLine and getTests funcs, and they'll get utilized even more in follow up patches. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* runtests: make sure we are in the right dirMike Frysinger2011-10-091-0/+3
| | | | | | | | The code assumes we're in the top of the tree (when it tries to run with the full path "pym/portage/tests/runTests"), so try to make sure we are in the right place to allow things like `../runtests.sh` to "just work". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "RepoConfigLoader: Recursively expand masters."Zac Medico2011-10-091-27/+21
| | | | | This reverts commit ab2a6cc357ba3c8272a4a1556e2c0bcd4bee102e. Reverting all masters recursion code for now (see bug #386569).
* Revert "MaskManager: Fix stacking of lines from master repositories."Zac Medico2011-10-091-5/+4
| | | | | This reverts commit 37f05a23fd55b633674f91f4d7658c19e41d2d63. Reverting all masters recursion code for now (see bug #386569).
* Revert "get_masters: protect against infinite recursion"Zac Medico2011-10-091-30/+23
| | | | | This reverts commit 5628dac1538985af640102654bce60a8e526daeb. Reverting all masters recursion code for now (see bug #386569).
* get_masters: protect against infinite recursionZac Medico2011-10-081-23/+30
| | | | We can't have portage crash because of circular deps in layout.conf.
* RepoConfig: allow repos.conf 'masters' overrideZac Medico2011-10-082-8/+25
| | | | | | | | | | | | | This give the user the power to override 'masters' settings from layout.conf, is case they want use a different set of masters to satisfy dependencies. This is especially important now that recursive expansion of masters is supported since commit ab2a6cc357ba3c8272a4a1556e2c0bcd4bee102e, so that the user can avoid pulling in unwanted repositories as dependencies, if necessary. Also, empty 'masters' settings are now supported, in case a repo wants to avoid implicit inheritance of PORTDIR settings like package.mask.
* tests: fix whitespace to be consistentMike Frysinger2011-10-081-10/+10
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* MaskManager: Fix stacking of lines from master repositories.Arfrever Frehtes Taifersar Arahesis2011-10-081-4/+5
|
* RepoConfigLoader: Recursively expand masters.Arfrever Frehtes Taifersar Arahesis2011-10-081-21/+27
|
* whirlpool.py: tabs to spacesv2.2.0_alpha64Zac Medico2011-10-081-6/+6
|
* portage/mail: always UTF-8 charset for MIMETextZac Medico2011-10-081-2/+1
| | | | This will fix bug #386095.
* repoman: add 'repository' to portdbapi cacheZac Medico2011-10-071-1/+1
| | | | | | | This fixes _getMaskAtom to work correctly with the repo atoms that are generated by MaskManager, solving the issue reported here: https://github.com/cschwan/sage-on-gentoo/issues/90#issuecomment-2324953
* repoman: tweak myupdates/myheaders commit logicv2.2.0_alpha63Zac Medico2011-10-071-2/+1
| | | | | | | | If we unconditionally exclude myremoved from myupdates, then removed files will also be excluded from myheaders. This allows us to avoid unnecessary separate manifest commits in cases when "myheaders" only contained files that were being removed. Since our code always uses myupdates + myremoved, this change in logic doesn't break anything.
* repoman: tweak commit logic wrt thin-manifestZac Medico2011-10-071-1/+1
| | | | | Don't populate the "myheaders" variable when we have thin-manifests that contain only DIST entries.
* Don't do a split signed Manifest commit when no headers will change. Fixes ↵Nathan Phillip Brink2011-10-071-6/+9
| | | | bug #340475.
* elog/collect_ebuild_messages: strip trailing \nv2.2.0_alpha62Zac Medico2011-10-051-0/+1
| | | | | This fixes unintended extra blank lines since commit 1c8ff00a26b0e2e3627e9c552374f71235ee6c39.
* match_to_list: preserve orderZac Medico2011-10-051-1/+8
| | | | | This allows us to properly test behavior of best_match_to_list with different permutations of the input.
* test_best_match_to_list: test all permutationsv2.2.0_alpha61Zac Medico2011-10-051-9/+19
|
* dblink._elog_process: preserve empty linesZac Medico2011-10-041-2/+0
|
* Execute tests bundled with the whirlpool module.Zac Medico2011-10-041-0/+16
|
* Mark some messages for translation.Arfrever Frehtes Taifersar Arahesis2011-10-051-10/+14
|
* whirlpool.py: fix for python3Zac Medico2011-10-041-4/+5
|
* whirlpool.py: skip tests during importZac Medico2011-10-041-6/+7
|
* RepoConfig: sort __slots__Zac Medico2011-10-041-4/+6
|