Commit Graph

10804 Commits

Author SHA1 Message Date
Fabio Erculiani 5b6da64e35 [entropy.db.skel] document further locking infrastructure assumptions 2013-12-07 20:25:55 +01:00
Fabio Erculiani 688b8f9796 [entropy.db.sqlite] clear in-RAM cache after lock acquisition 2013-12-07 20:25:55 +01:00
Fabio Erculiani df4b71d6a9 [entropy.db.sqlite] use lock_path() instead of self._db for file locking 2013-12-07 20:25:55 +01:00
Fabio Erculiani 5e5b006da0 [entropy.db.skel] expose lock_path() and make file lock path configurable 2013-12-07 20:25:55 +01:00
Fabio Erculiani 58815a17ed [entropy.const] add /run/entropy directory setup, expose it through etpConst['entropyrundir'] 2013-12-07 20:25:55 +01:00
Fabio Erculiani d9f76137f0 [entropy.db.skel] improve output during lock contention phases 2013-12-07 20:25:55 +01:00
Fabio Erculiani d5634b2b29 [entropy.db.skel] write locking output to stderr
This avoids breaking scriptability of --quiet options
2013-12-07 20:25:55 +01:00
Fabio Erculiani 75b1d8498b [entropy.db.skel] fix exclusive() wrt acquired bool 2013-12-07 20:25:55 +01:00
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 a13d78d840 [magneto] tell the user not to shutdown nor reboot if the system upgrade started 2013-12-07 20:19:22 +01:00
Fabio Erculiani 1c25cda149 Tagging Entropy version 247 247 2013-12-06 17:49:22 +01:00
Fabio Erculiani f28ab4f702 Release Entropy 247 2013-12-06 17:49:22 +01:00
Fabio Erculiani 7b0d41e50f [Rigo] add "in:exact" command to allow users to match packages, use it for lts kernels
Conflicts:
	rigo/rigo/ui/gtk3/controllers/applications.py
2013-12-06 16:15:05 +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 454b1b61fa Tagging Entropy version 246 246 2013-12-06 09:20:52 +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 525bab6714 Tagging Entropy version 245 245 2013-12-05 23:42:17 +01:00
Fabio Erculiani f85c890f9a Release Entropy 245 2013-12-05 23:42:17 +01:00
Fabio Erculiani 0bf9ab5d82 [Rigo] document the installed repository lazy load requirement 2013-12-05 23:19: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 78c47b65bc Tagging Entropy version 243 243 2013-12-05 22:25:29 +01:00
Fabio Erculiani addd11b191 Release Entropy 243 2013-12-05 22:25:29 +01:00
Fabio Erculiani 81dca7339e [eit.commands.command] use the Entropy class object to acquire the Entropy Resources Lock 2013-12-05 22:19:21 +01:00
Fabio Erculiani c26b8fb971 [solo.commands.command] use the Entropy class object to acquire the Entropy Resources Lock 2013-12-05 22:14:18 +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 391ed26f4f Tagging Entropy version 242 242 2013-12-05 16:34:16 +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 87a3b0d73f Tagging Entropy version 241 241 2013-12-05 16:23:56 +01:00
Fabio Erculiani c6aced2bdc Release Entropy 241 2013-12-05 16:23:55 +01:00
Fabio Erculiani 255b9f7d36 Tagging Entropy version 240 240 2013-12-04 17:44:25 +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