aboutsummaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
...
* Set SYSROOT for has/best_version so that they work when IPC is disabledJames Le Cuirot2023-12-041-0/+7
| | | | | | | | This issue broke cross-compiling. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1198 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.56portage-3.0.56Sam James2023-12-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-011-3/+7
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-011-1/+18
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Stop implicitly manipulating `NO_COLOR`/`NOCOLOR`Michał Górny2023-11-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop implicitly forcing `NO_COLOR` and `NOCOLOR` in ebuild environment. This is undesired for several reasons: 1. It makes it impossible to control color for emerge output independently of command output, e.g. when one goes to a pty while the other goes to logs. 2. It makes it impossible to get color output in logs when running `emerge --jobs ...`. 3. Forcing `NO_COLOR=1` turns out to cause random test failures, and while fixing them is commendable, it is a pain for arch testing and it is currently blocking stabilization requests. With the new approach, the color output in programs is consistent between using ``--jobs`` or ``--quiet-build``, and not. Therefore, both cases generate uniform logs. In order to obtain logs free of color codes, one can either filter them via `ansifilter(1)` (as the manpages already recommend) or explicitly set `NO_COLOR`. Furthermore, one can combine color-free build output (for clean logs) with colorful emerge output by using: NO_COLOR=true emerge --color y ... Bug: https://bugs.gentoo.org/918515 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1188 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pyproject.toml, NEWS: declare pytest markers.David Palao2023-11-111-0/+3
| | | | | | | | | | | | | | | | Declare pytest markers. They can be used to select what tests (not) to run, e.g.: pytest -m ft # to select tests marked with"ft" pytest -m "not ft" # to skip tests marked with "ft" to list the markers: pytest --markers Signed-off-by: David Palao <david.palao@gmail.com> Closes: https://github.com/gentoo/portage/pull/1170 Signed-off-by: Sam James <sam@gentoo.org>
* ebuild: add some missing newlines in errorswh02023-11-111-0/+3
| | | | | Closes: https://github.com/gentoo/portage/pull/1177 Signed-off-by: Sam James <sam@gentoo.org>
* sync: git: add sync-git-verify-max-age-days optionFlorian Schmaus2023-11-111-0/+6
| | | | | | Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1158 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.55portage-3.0.55Sam James2023-11-061-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* bintree: don't call trust helper with --pretendSam James2023-11-061-0/+3
| | | | | | | | | | | Trust helpers are likely to need privileges and it's a bit too far for pretend there, I think. People can run it manually if they want it done for them anyway. We could check writable instead but I'd like to get a fix in for the regression first. Bug: https://bugs.gentoo.org/915842 Signed-off-by: Sam James <sam@gentoo.org>
* emerge: fix _show_ignored_binaries_respect_use with incomplete depgraphSam James2023-11-061-0/+2
| | | | | | | | | I've gone for the simpler solution of just using an empty tuple where the merge list is empty to preserve prior behaviour with what we do (or do not) display wrt skipped binaries. Bug: https://bugs.gentoo.org/916614 Signed-off-by: Sam James <sam@gentoo.org>
* emerge: fix binpkg-respect-use notice with blockersSam James2023-11-061-0/+2
| | | | | | | | Items in _dynamic_config._displayed_list might be blockers, so filter those out. Bug: https://bugs.gentoo.org/916336 Fixes: bb82666b48e18f448661a1a8bf6a39b773cc4b1c Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: fix typoMike Gilbert2023-10-261-1/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* Convert portageq helper to a functionMike Gilbert2023-10-261-1/+3
| | | | | | | | | | This keeps it out of PATH in ebuilds to avoid breaking external utilities that call portageq. Bug: https://bugs.gentoo.org/906129 Bug: https://bugs.gentoo.org/916287 Bug: https://bugs.gentoo.org/916296 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* NEWS: add post-release templateSam James2023-10-251-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: fix omission from portage-3.0.54 newsSam James2023-10-251-1/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.54portage-3.0.54Sam James2023-10-251-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-10-251-0/+8
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-10-221-0/+14
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: add note re structureSam James2023-10-221-0/+8
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: add minor blurb for last few releasesSam James2023-10-221-0/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-10-221-2/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sync/git: update git remote url with sync-uri when necessaryFlorian Schmaus2023-10-221-0/+3
| | | | | | | | | If the repo is not volatile, update the URL of the git remote if it is not equal to the configured sync-uri. Closes: https://bugs.gentoo.org/905869 Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: Update for ban of non-PMS helpersUlrich Müller2023-10-211-0/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* NEWS: post-release templateSam James2023-10-201-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.53portage-3.0.53Sam James2023-10-201-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-10-131-0/+8
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: Eliminate unnecessary package reinstalls (bug #915494)Zac Medico2023-10-121-0/+2
| | | | | Bug: https://bugs.gentoo.org/915494 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* emerge: Increase default number of maximum backtrack attempts from 10 to 20Florian Schmaus2023-10-121-0/+2
| | | | | | | | | Experience shows that 10 is too low and that in some cases a slighlty higher number results in a successful dependency calculation. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1127 Signed-off-by: Sam James <sam@gentoo.org>
* Support Python UTF-8 Mode via portage.utf8_mode (bug 914722)Zac Medico2023-10-111-0/+4
| | | | | | | | | | | | | | | | | | | | When a UTF-8 locale, or UTF-8 mode is detected, set portage.utf8_mode to True, and do not wrap file access with _unicode_func_wrapper. This is intended to mitgate issues with byte string handling in python libraries like shutil, as reported in bug 914722. This patch is intended to be a simple and minimal implementation that can be optimized later through the elimination of unecessary encoding/decoding. The str() wrapping in the unit tests is for lazily evaluated instances of lazy_value, which is used to account for mock portage.const.EPREFIX values that exist during unit tests. Bug: https://bugs.gentoo.org/914722 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* NEWS: fix typoSam James2023-10-091-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ebuild/doebuild.py: also set --load-average in GNUMAKEOPTS defaultFlorian Schmaus2023-10-091-0/+4
| | | | | | | | | | | In the presence of multiple parallel emerge jobs, i.e., emerge -j<num>, it is good to limit the overall parallelism in the system via its load average. This avoids overprovisioning the system with tasks and losing performance due to an increased number of context switches. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1072 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-10-081-0/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-10-061-0/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.52portage-3.0.52Sam James2023-10-031-1/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* env-update: Write /usr/etc/ld.so.conf to fix bfd in some obscure casesJames Le Cuirot2023-10-021-0/+3
| | | | | | | | | | | | | | | | | | | | This is only needed on prefixed systems. bfd currently reads ${EPREFIX}/etc/ld.so.conf and adds the prefix to these paths, but these paths are already prefixed. We need them to stay prefixed for ldconfig and the runtime linker. bfd will use ${EPREFIX}/usr/etc/ld.so.conf instead if that is present, so we can write the unprefixed paths there. Other linkers do not use these files at all. We tried to patch bfd to not use them either, as it shouldn't really be necessary, but that broke some cases, so we are trying this safer approach instead. env-update does not write the files under /etc/ld.so.conf.d, but we shouldn't need to handle these in any case, as all known instances are not affected by this issue. Bug: https://bugs.gentoo.org/892549 Closes: https://github.com/gentoo/portage/pull/1105 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* depgraph: show backtrack information after dep resolutionFlorian Schmaus2023-10-021-0/+2
| | | | | | | | | To improve user's awareness of the backtracking performed by portage and the related limit, show briefly how much backtracking was done. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1107 Signed-off-by: Sam James <sam@gentoo.org>
* search: fix 'mlen' counter for ambiguous package namesMike Gilbert2023-10-021-0/+3
| | | | | | | | | | | | self.mlen was being incremented in both addCP() and output(). Drop the increment in addCP(), and convert mlen to a function-local variable in output(). Bug: https://bugs.gentoo.org/915054 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1106 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-09-261-0/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* vartree: Remove unused variables and parametersgcarq2023-09-261-0/+3
| | | | | | | | | Removes unused local variable cache_incomplete in aux_get() and removes unused parameters for methods around counter_tick(). Signed-off-by: Michael Egger <egger.m@protonmail.com> Closes: https://github.com/gentoo/portage/pull/1089 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-09-211-0/+2
| | | | | Bug: https://bugs.gentoo.org/883071 Signed-off-by: Sam James <sam@gentoo.org>
* make.globals: default-on FEATURES=pkgdir-index-trustedJohn Helmert III2023-09-191-0/+5
| | | | | | | | | | | | | | | | | Commit fbbe0cfe29020313ae44fb2a6afa87c2951ae028 indicates that the rationale for having this disabled is to tolerate manual additions/removals of binpkgs in the PKGDIR. I don't think there are many people doing this, so it should be safe to enable this by default for quicker operations with PKGDIR. [sam: This is only used for local operations, we don't reindex remote indexes, so there's no issue with not having indexes be signed (although we do plan on doing that at some point).] Bug: https://bugs.gentoo.org/889300 Signed-off-by: John Helmert III <ajak@gentoo.org> Closes: https://github.com/gentoo/portage/pull/970 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-09-181-1/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* fetch: ignore force-mirror feature when try_mirrors is falseMike Gilbert2023-09-161-0/+2
| | | | | | | | | | | | | | When fetching layout.conf, we call fetch(try_mirrors=False) to force direct use of the primary URI being passed and ignore mirrors. The force-mirror feature causes fetch to ignore the primary URI. Ignoring both the primary URI and mirrors leads to an unfetchable file. Give precedence to the try_mirrors parameter since we really only set it to False when fetching layout.conf from a mirror. Bug: https://bugs.gentoo.org/877793 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* update NEWSOskari Pirhonen2023-09-151-0/+2
| | | | | | Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Closes: https://github.com/gentoo/portage/pull/1090 Signed-off-by: Sam James <sam@gentoo.org>
* Run PORTAGE_TRUST_HELPER before remote binary package operationsAndreas K. Hüttel2023-09-031-0/+2
| | | | | | | | | | Right now this is somewhat suboptimal because the helper is only called if FEATURES="binpkg-request-signature" is set, but existing signatures are also verified otherwise. Closes: https://github.com/gentoo/portage/pull/1085 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* emerge: ensure paths are UTF-8 encoded in _needs_move()gcarq2023-09-011-0/+2
| | | | | | | Bug: https://bugs.gentoo.org/913103 Closes: https://github.com/gentoo/portage/pull/1086 Signed-off-by: Michael Egger <egger.m@protonmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* Update NEWSMike Gilbert2023-08-241-0/+3
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* bintree: Add invalid_paths member to APISiddhanth Rathod2023-08-211-0/+7
| | | | | | | | | | | | Add object invalid_paths for new eclean feature to deal with invalid binpkgs. This is needed for gentoolkit's eclean to handle cleaning up invalid binpkgs. gentoolkit side PR: https://github.com/gentoo/gentoolkit/pull/28 Bug: https://bugs.gentoo.org/900224 Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Closes: https://github.com/gentoo/portage/pull/1016 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.51portage-3.0.51Sam James2023-08-201-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>