Commit Graph

8259 Commits

Author SHA1 Message Date
Fabio Erculiani 6ef3ce1bed [eit.commands.cp] new command "eit cp" 2011-10-12 22:52:19 +02:00
Fabio Erculiani d4d5eec3df [eit.commands.cleanup] add "eit clean" alias 2011-10-12 22:52:03 +02:00
Fabio Erculiani fc557d951c [eit.commands.cleanup] add new command "eit cleanup" 2011-10-12 20:23:02 +02:00
Fabio Erculiani db37314f6e [eit.commands.checkout] new command "eit checkout" 2011-10-12 19:59:34 +02:00
Fabio Erculiani 6d30f5a38f [eit.commands.*] drop unused imports 2011-10-12 19:59:18 +02:00
Fabio Erculiani 0b1999ab51 [entropy.server.interfaces.db] uncompress the right packages.db.meta on download 2011-10-12 15:21:27 +02:00
Fabio Erculiani 47fbff23ae [eit.commands.*] make use of EitCommand._call_locked method 2011-10-12 15:11:42 +02:00
Fabio Erculiani dad7177dcf [eit.commands.bump] new command "eit bump" 2011-10-12 15:11:27 +02:00
Fabio Erculiani e7d3135239 [eit.commands.command] move general entropy resources locking method to EitCommand 2011-10-12 15:11:02 +02:00
Fabio Erculiani 84dcd668bc [eit.commands] automatically import all the available submodules 2011-10-12 14:46:03 +02:00
Fabio Erculiani df513ad130 [eit.main] fix catch-all class 2011-10-12 14:45:49 +02:00
Fabio Erculiani ddb3cf2510 [eit.colorful] add some whacky classes to inject some colors into argparse output 2011-10-12 00:24:14 +02:00
Fabio Erculiani 9f318a0408 [eit.commands.repack] implement new command "eit repack" 2011-10-12 00:24:06 +02:00
Fabio Erculiani 66468d23eb [eit.main] automatically build the list of available commands, add command aliases support 2011-10-10 18:49:57 +02:00
Fabio Erculiani 3dc0c70701 [eit.commands.add] implement "eit add" (and eit add --to, was eit addto) 2011-10-10 17:48:31 +02:00
Fabio Erculiani 43390464e5 [eit.commands.status] trivial help update 2011-10-10 17:48:13 +02:00
Fabio Erculiani 49314e677e [eit.commands] avoid using print_info(), print_warning() and print_error() when possible 2011-10-10 15:10:22 +02:00
Fabio Erculiani d819281926 [eit.commands.commit] use TextInterface.output() instead of print_* functions 2011-10-09 19:32:36 +02:00
Fabio Erculiani cad69e0625 [po] update translations 2011-10-09 17:12:15 +02:00
Fabio Erculiani ea47fe703d [eit] first chunk of code for the new server-side repository management toolkit (greatly inspired to git) 2011-10-09 17:12:14 +02:00
Fabio Erculiani 612e39a1e8 [entropy.server] drop warning when running as user, no need to have it in lib 2011-10-09 17:12:14 +02:00
Fabio Erculiani 2f413d4677 [git] update .gitignore file, add #*# files 2011-10-09 17:12:14 +02:00
Fabio Erculiani ffc0343efb [sulfur.views] fix get_stars_rating caching, was causing rendering problems with installed packages icons 2011-10-09 10:17:49 +02:00
Fabio Erculiani f9947a372f [entropy.client.interfaces.package] export pkgpath metadatum only for package fetch (not sources fetch) 2011-10-07 21:39:14 +02:00
Fabio Erculiani dc8043f74e [entropy.db] EntropyRepository.readonly(): if uid == 0, override os.access() check 2011-10-06 19:27:35 +02:00
Fabio Erculiani 3044690fa5 [entropy.server] open_server_repository(): always check effective rw status when needed
Check if the repository is actually accessibile in write mode before
calling package_names_update()
2011-10-06 17:50:54 +02:00
Fabio Erculiani 2a3d3788e1 [entropy.db] EntropyRepositoryBase: update readonly() docstring 2011-10-06 17:49:43 +02:00
Fabio Erculiani f5f77bcebc [entropy.db] EntropyRepository: reimplement readonly(), if False, also check actual file permissions 2011-10-06 17:44:50 +02:00
Fabio Erculiani 39cc9e54ea [po] update translations 2011-10-06 08:38:37 +02:00
Fabio Erculiani e0e08d4489 [magneto] set notification applet title to "System Updates" 2011-10-06 08:26:37 +02:00
Fabio Erculiani 105023141e [todo] update TODO 2011-10-05 23:08:29 +02:00
Fabio Erculiani d8cf907287 [entropy.client.interfaces.dep] update get_install_queue() public API 2011-10-05 22:51:12 +02:00
Fabio Erculiani ddbec96b33 [todo] update TODO 2011-10-05 10:46:05 +02:00
Fabio Erculiani cd8d70728d [entropy] simplify entropy locks management code, drop non-atomic functions 2011-10-05 10:44:42 +02:00
Fabio Erculiani 1df7743540 [entropy.spm] PortagePlugin: add_installed_package, always bump mtime of pkg_dir if available 2011-10-04 23:33:26 +02:00
Fabio Erculiani b999bb37d6 [entropy.const] make const_unsetup_entropy_pid() and const_setup_entropy_pid() work in child processes 2011-10-04 23:14:18 +02:00
Fabio Erculiani a196704102 [entropy.client.interfaces.methods] always use flock to handle lock file status
Make _check_pid_file_lock() use flock with LOCK_NB | LOCK_EX and LOCK_UN
to determine if the passed pid file is locked, and contains a different
pid value.
At the same time, unlock_resources() now removes the pid file before
releasing the lock associated with it. This makes possible to avoid
waiting 5 seconds when polling the same pid file to determine if it's
locked or not.
2011-10-04 22:41:20 +02:00
Fabio Erculiani 9725e74266 [entropy.const] rewrite const_setup_entropy_pid() to not use pid information
Use a full blown lock file instead of a random file serially accessed
and containing unreliable pid information. Of course, pids can be
reused across fork()s, even if this is unlikely (but not impossible).
2011-10-04 22:37:22 +02:00
Fabio Erculiani e7b70c8f7b [sulfur] try to acquire Entropy locks for at most 5 seconds before giving up 2011-10-04 20:44:43 +02:00
Fabio Erculiani b131650974 [entropy.tools] acquire_entropy_locks, acquire_entropy_resources_lock: add keyword arg max_tries 2011-10-04 20:44:16 +02:00
Fabio Erculiani b2f685e591 [po] update German translation, thanks to Tobias Rosenberger 2011-10-04 16:14:03 +02:00
Fabio Erculiani 745b215a10 [entropy.services.client] catch IOError when raised by EntropyCacher.save() (disk full or whatever) 2011-09-30 14:42:13 +02:00
Fabio Erculiani 3f92f4537d Tagging Entropy version 1.0_rc59 1.0_rc59 2011-09-28 23:19:47 +02:00
Fabio Erculiani a88e1782a1 Release Entropy 1.0_rc59 2011-09-28 23:19:43 +02:00
Fabio Erculiani 79b14edb00 [entropy.client.interfaces.package] fix undefined reference 2011-09-28 23:19:13 +02:00
Fabio Erculiani 8a526f6c2d Tagging Entropy version 1.0_rc58 1.0_rc58 2011-09-28 14:08:08 +02:00
Fabio Erculiani e96f101bfa Release Entropy 1.0_rc58 2011-09-28 14:08:05 +02:00
Fabio Erculiani 44d70d9aca [entropy.client.interfaces] fix const_convert_to_rawstring() usage 2011-09-28 14:04:32 +02:00
Fabio Erculiani 80fd04d1ba Tagging Entropy version 1.0_rc57 1.0_rc57 2011-09-28 11:53:00 +02:00
Fabio Erculiani c12e1d3655 Release Entropy 1.0_rc57 2011-09-28 11:52:46 +02:00