Pkgcore

Latest version: v0.12.28

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 26 of 27

0.2.6

--------------------------

- make intersecting ~ and =* atoms work again (used by pquery --revdep)

- catch a corner case py2.5 bug where AttributeError bleeds through from
generic_equality.

- Via solars prodding, finished up the remaining bits for ROOT support.

- resolver traceback for if a requested atom is already known as insoluable.
Thanks to kojiro for spotting it.

- misc bash code cleanup.

- PATH protection has been loosened slightly to enable 'weird' eclasses that
are doing global PATH mangling.

- $HOME location for building was shifted into the targeted packages
directory, rather then a shared within $PORTAGE_TMPDIR.

- setgid/setuid triggers now match portage behaviour; -s,o-w mode change.

- trigger warnings are now enabled.

- New default trigger added; CommonDirectoryModes, checks for common
directories (/usr, /etc, /usr/bin, /usr/lib for example) in the merge set,
checking the packages specified modes for them. If not 0755, throws a
warning.

- For directory on directory merging, ensure_perms (default op) was changed
to preserve the existing directories permissions. Generally speaking, this
means that later versions of an ebuild have to use post_inst to correct the
perms if they're incorrect- previously, the new perms/mode were forced on
the existing. Several common ebuilds (openssl for example) will generate
weird modes on common directories however (heavily restricted perms), which
can break things. For the time being, the default is scaled down to the
looser form portage does.

- added man page generation: pquery, pmerge

- pconfig now has a "dump-uncollapsed" command to dump the "raw" config.

- pebuild now supports --no-auto to run just the targeted phase.

- mass expansion of test coverage: pkgcore.restrictions.*,
pkgcore.util.*, pkgcore.ebuild.*

- minor cleanup of pkgcore.test.ebuild.test_cpv to reduce redundant data sets;
total testcase runtime reduction by about a third.

- diverge from unittest.TestCase to provide extra checks for normal asserts-
assertNotEqual for example, checks both __eq__ and __ne__ now to smoke out
any potential oversights in object equality implementation.

- use nsec mtime resolution if available to match python stdlib.

- env var PORTAGE_DEBUG for controlling how much debug info the ebuild env
generates is now PKGCORE_DEBUG; range is the same, 0 (none), 1 (just the
ebuild/eclass), 2 (1 + relevant setup code), 3 (2 + filter-env data),
4 (everything).


--------------------------

0.2.5

--------------------------

- handle corner case in depend cycle processing where a package directly
depends upon itself; fixes processing of sys-devel/libtool specifically.

- for pquery --attr keywords, sort by arch, not by stable/unstable.

- correct misc corner case atom bugs; an intersection bug, miss on an invalid
use dep atom lacking a closure in cpy atom, verification of use chars in
native atom,

- osutils extensions tests, correcting a few cpy differences in behaviour from
native.

- For unpacking a tarball that doesn't have its files in a subdir, tar will
occasionally try to utime the cwd resulting in a failure- uid owner for
WORKDIR was changed to allow tar to do the utime, thus succeed in unpacking.
Only visible for userpriv and with oddball packages, gnuconfig for example.

- Cleanup of a few slow test cases; running the test suite should now be around
25%-33% faster.


--------------------------

0.2.4

--------------------------

- refactoring of trigger implementations- cleanup and tests. Additionally,
eliminate a potential mtime based frace if the underlying fs (or python
version) doesn't do subsecond resolution.

- force FEATURES into the exported ebuild env always.

- for pmerge -p $target, which prefers reuse normally, *still* prefer the
highest versions, just examine vdb first, then nonvdb.

- minor optimization in readlines usage in the backend; kills off a duplicate
stat call.

- if a stale cache entry is detected, and the backend is writable, wipe the
cache entry. Little bit slower when detected, but saves parsing the file
next time around.


--------------------------

0.2.3

--------------------------

- support for ** in package.keywords

- export preparsed SLOT to ebuild env; ebuilds shouldn't rely on this
since it can lead to fun metadata issues, but certain eclasses do.

- fix exporting finalized form of RESTRICT to the build env; ticket 61.

- fix for RESTRICT=fetch to not treat the filename as a uri.

- expose the full make.conf environment to FETCHCOMMAND and RESUMECOMMAND-
ticket 58

- added support for make.conf defined FETCH_ATTEMPTS; max of unique uris to
attempts per file before giving up, defaults to 10.

- added int_parser type for config instantiation definitions (ConfigHint),
and usual introspection support.

- fix regression limiting satisifiers for depends to installed only in corner
case installed bound cycles; automake/perl specifically trigger this, thus
most folks should have seen it if using -B.

- Better handling of non-ascii characters in metadata.xml.


--------------------------

0.2.2

--------------------------

- The terminfo db is now used for xterm title updates. If title updates
worked in pkgcore 0.2 or 0.2.1 and no longer work in 0.2.2 file a bug and
include the TERM environment variable setting.

- misc fixup for asserts in cpy code when debugging is enabled, and closing
directory fds when corner case error paths are taken (out of memory for
example).

- atoms are picklable now.

- add tests for pmaint copy (quickpkg equivalent), and add
--ignore-existing option to copy just pkgs that don't exist in the
target repo.

- fix pmerge handling of --clean -B for automake and a few other DEPEND level
hard cycles.


--------------------------

0.2.1

--------------------------

- fix corner case for portage configuration support; old system (<=2004)
installations may have /etc/portage/sets/world, which confused pmerges
world updating, leading to writing bad entries. Ticket 54.

- fix issues with distcc/ccache (ticket 55) so that they actually work.

- fix pconfig dump traceback; ticket 56.


------------------------

Page 26 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.