Commit Graph

1075 Commits

Author SHA1 Message Date
Fabio Erculiani
489e48ba46 [entropy.db.skel] warn when repository locks are being acquired 2013-12-07 20:25:55 +01:00
Fabio Erculiani
6f37738781 [entropy.client] always prefer installed_repository() over protected attribute 2013-12-07 20:25:55 +01:00
Fabio Erculiani
366fc37f59 [entropy.db.sqlite] implement locking infrastructure 2013-12-07 20:24:23 +01:00
Fabio Erculiani
a8fd6c52c0 [entropy.db.skel] warn about flock related methods usage 2013-12-07 20:24:23 +01:00
Fabio Erculiani
3d6021042f [entropy.db.skel] split release() into release_shared() and release_exclusive() 2013-12-07 20:24:23 +01:00
Fabio Erculiani
6206c3de48 [entropy.db.sqlite] add _is_memory() method 2013-12-07 20:24:23 +01:00
Fabio Erculiani
4903d261da [entropy.db.skel] add base API for handling flock based synchronization 2013-12-07 20:24:22 +01:00
Fabio Erculiani
8852a15913 [entropy.misc] add shared(), release() context managers to FlockFile 2013-12-07 20:24:22 +01:00
Fabio Erculiani
f28ab4f702 Release Entropy 247 2013-12-06 17:49:22 +01:00
Fabio Erculiani
0184dac617 [entropy.db.skel] fix matching of old style virtuals
When only a subset of the packages in a given key, slot expose
an old style virtual dep string (like virtual/linux-binary-lts),
make sure not to pull in all of them instead.
2013-12-06 16:13:43 +01:00
Fabio Erculiani
d029f5568c Release Entropy 246 2013-12-06 09:20:51 +01:00
Fabio Erculiani
5c717701f7 [entropy.client.package.actions] fetch: pass metadata through _check_package_path_download
This method is called in the setup phase, when self._meta is still None.
2013-12-06 09:18:23 +01:00
Fabio Erculiani
f85c890f9a Release Entropy 245 2013-12-05 23:42:17 +01:00
Fabio Erculiani
a2e1e6ba94 [entropy.client] delay installed repository initialization as much as possible 2013-12-05 23:11:36 +01:00
Fabio Erculiani
addd11b191 Release Entropy 243 2013-12-05 22:25:29 +01:00
Fabio Erculiani
9c7fdd5410 [entropy.tools] update docstrings for Entropy Resources Lock methods 2013-12-05 22:12:25 +01:00
Fabio Erculiani
b21eeaf4d2 [entropy.client.methods] make Entropy Resources Lock methods classmethods 2013-12-05 22:05:35 +01:00
Fabio Erculiani
82b85704ce [entropy.output] make TextInterface methods classmethods
This makes possible to fix a circular dependency in the Entropy
Resources Lock management methods
2013-12-05 21:36:30 +01:00
Fabio Erculiani
4d20097e97 Release Entropy 242 2013-12-05 16:34:16 +01:00
Fabio Erculiani
8846e063ae [entropy.db.sqlite] add preserved_libs related methods for backward schema compat 2013-12-05 16:33:41 +01:00
Fabio Erculiani
c6aced2bdc Release Entropy 241 2013-12-05 16:23:55 +01:00
Fabio Erculiani
755c751d40 Release Entropy 240 2013-12-04 17:44:24 +01:00
Fabio Erculiani
43992dd452 [entropy.client.package.actions] install: fix entropy_install_unpack_hook() in case of smart packages 2013-12-04 17:43:44 +01:00
Fabio Erculiani
cedee6a35c [entropy.client.package.actions] install: use the correct package_id 2013-12-04 17:38:56 +01:00
Fabio Erculiani
32027b2449 [entropy.spm] fix vdb handling wrt locking, fix several potential races 2013-12-03 16:29:56 +01:00
Fabio Erculiani
b70ceca1ce [entropy.db.sqlite] drop retrieveSignatures
This is no longer needed here since support for the old schema
has been dropped (the schema update code will update the tables
anyway)
2013-11-30 12:18:39 +01:00
Fabio Erculiani
ec3d091c22 [entropy.db.sqlite] drop retrieveProvide and searchProvidedVirtualPackage
They are no longer needed since compatibility with the old metadata
has been dropped.
2013-11-30 12:16:06 +01:00
Fabio Erculiani
c8c20f03aa [entropy.db] drop support for deprecated eclasses and messages metadata 2013-11-30 12:04:05 +01:00
Fabio Erculiani
c199b6839f [entropy.db] remove support for deprecated provide metadata 2013-11-30 12:02:07 +01:00
Fabio Erculiani
a54f5b36bc [entropy.db] drop 'dependencies' metadata support completely 2013-11-30 11:51:06 +01:00
Fabio Erculiani
a42711086b [tests] tools: mute output 2013-11-30 11:23:40 +01:00
Fabio Erculiani
cd6d6b9d22 [tests] use const_mkdtemp() instead of tempfile.mkdtemp() 2013-11-30 10:54:13 +01:00
Fabio Erculiani
ac1548207d [entropy.tools] restore python3 compatibility on newly tested functions 2013-11-30 10:53:42 +01:00
Fabio Erculiani
3a05acd16a [tests] spm: use const_mkdtemp() instead of tempfile.mkdtemp 2013-11-30 08:25:30 +01:00
Fabio Erculiani
d3cfd35bf5 [entropy.client.package] reopen the installed packages repository to trigger schema updates 2013-11-29 21:49:42 +01:00
Fabio Erculiani
4d9397c140 Release Entropy 239 2013-11-29 20:01:22 +01:00
Fabio Erculiani
38810e2c83 [entropy.spm] PortagePlugin: drop dependencies metadata compatibility 2013-11-29 20:00:36 +01:00
Fabio Erculiani
a5761e0302 [entropy.server.db] migrate to pkg_dependencies 2013-11-29 19:57:01 +01:00
Fabio Erculiani
c9809f0775 [entropy.server] migrate to pkg_dependencies metadata 2013-11-29 19:56:20 +01:00
Fabio Erculiani
d10d82bebb Release Entropy 238 2013-11-29 19:43:21 +01:00
Fabio Erculiani
a01f0bd103 [tests] mute QA and Security test function outputs 2013-11-29 19:41:08 +01:00
Fabio Erculiani
982d99fe30 [tests] client: silence tests 2013-11-29 19:37:24 +01:00
Fabio Erculiani
464ae46d90 [tests] drop debug output 2013-11-29 19:29:12 +01:00
Fabio Erculiani
e6d0a556b7 [entropy.spm] PortagePlugin.__source_env_get_var: silence stderr 2013-11-29 19:21:17 +01:00
Fabio Erculiani
e406a4edaa [entropy.*] create new dependencies metadata "pkg_dependencies"
The old "dependencies" metadata is deprecated. It was found that
the generated metadata might get corrupted by colliding atom strings.
The new implementation avoids collisions completely and is more
efficient.
2013-11-29 19:15:44 +01:00
Fabio Erculiani
48794603d0 [entropy.spm] PortagePlugin: make sure that /usr/lib/portage/pym is in sys.path 2013-11-29 17:38:27 +01:00
Fabio Erculiani
79885e0e0f [entropy.client.interfaces.dep] restore python3 compatibility 2013-11-29 17:38:09 +01:00
Fabio Erculiani
d28fd6050f Release Entropy 237 2013-11-29 16:42:30 +01:00
Fabio Erculiani
57d22348ea [entropy.qa] _get_unresolved_sonames: try to resolve the lib using its real path 2013-11-29 16:41:21 +01:00
Fabio Erculiani
2b082167cd [entropy.tools] read_elf_real_dynamic_libraries: correctly filter out elf_file 2013-11-29 16:30:23 +01:00