Commit Graph

263 Commits

Author SHA1 Message Date
Fabio Erculiani
414bb45243 [services] entropy-pkgdelta-generator: check if "deltas" subdir exists before scanning 2013-05-28 10:40:20 +02:00
Fabio Erculiani
831237b7fc [entropy.server] insert the package SHA1 checksum into the file name
This commit partially reverts commit d6b7a21314.
Package revision is no longer incremented across package moves.
This has two advantages:
  - much less traffic generated on the mirror infrastructure
  - less updates for sabayon-limbo users when packages are moved to main

Bumping the revision was required by sabayon-weekly, which had the problem
that some package files were replaced during normal activity on
sabayonlinux.org and sabayon-limbo on the mirror. This generated checksum
errors, thus adding the checksum in the package file name ensures that
Entropy Server will never overwrite package file names unless the checksum
also matches.
Having a SHA1 checksum in the file name is also good for security, and
we may even want to create a SHA1 from the GPG signature in future.
2013-03-20 15:21:31 +00:00
Fabio Erculiani
9dc8f26687 [kernel-switcher] initial kernel-switcher refactoring
Migrate kernel-switcher to a separate directory and start splitting
the code into library <-> application.
2013-03-06 11:52:21 +00:00
Fabio Erculiani
d42003ba94 Merge remote-tracking branch 'origin/solo'
Conflicts:
	client/po/bg.po
	client/po/ca.po
	client/po/cs.po
	client/po/da.po
	client/po/de.po
	client/po/entropy.pot
	client/po/es.po
	client/po/es_CL.po
	client/po/fr.po
	client/po/fr_CA.po
	client/po/it.po
	client/po/nl.po
	client/po/pl.po
	client/po/pt.po
	client/po/pt_BR.po
	client/po/ru.po
	client/po/sk.po
	client/po/sv.po
	client/po/uk.po
	client/po/zh_TW.po
	client/revision
	docs/ChangeLog
	docs/TODO
	lib/entropy/cache.py
	lib/entropy/client/interfaces/db.py
	lib/entropy/const.py
	lib/entropy/revision
	lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py
	server/revision
2012-11-06 22:35:01 +01:00
Fabio Erculiani
0245ba1c0e [kernel-switcher] add --verbose argparse argument 2012-11-05 21:39:02 +01:00
Fabio Erculiani
ba4ca3f576 [kernel-switcher] drop etpUi usage 2012-11-04 21:24:07 +01:00
Fabio Erculiani
280a7067b3 [entropy.cli] drop module, move code to client/ and server/
Even though it is a small code duplication, entropy.cli does make
much less sense.
2012-11-04 21:11:56 +01:00
Fabio Erculiani
9e08b70113 [equo] migrate to Solo, drop old and crufty code, peace and love 2012-11-03 23:57:25 +01:00
Fabio Erculiani
022375fd7d [services] ignore ENOENT errors in entropy-pkgdelta-generator 2012-10-22 19:50:43 +02:00
Fabio Erculiani
2a6ceaae35 [services] entropy-pkgdelta-generator: do not generate .edelta for files smaller than 1Mb 2012-09-19 22:13:30 +02:00
Fabio Erculiani
e2a075cd33 [services] entropy-pkgdelta-generator: wrap md5sum() around IOError try/except 2012-09-16 07:42:10 +02:00
Fabio Erculiani
d3a1701c67 [services] update repository-webinstall-generator-executor 2012-09-16 07:28:31 +02:00
Fabio Erculiani
796e71e9ac [repo] migrate shebangs to /usr/bin/python 2012-08-18 16:53:32 +02:00
Fabio Erculiani
e05b649f98 [entropy.db] remove do_cleanup argument from removePackage() 2012-08-12 16:15:23 +02:00
Fabio Erculiani
9d665e050c [entropy.db] remove do_commit argument from methods 2012-08-12 16:00:02 +02:00
Fabio Erculiani
b98e219bcb [kernel-switcher] migrate to argparse 2012-08-02 20:56:11 +02:00
Fabio Erculiani
1c7ec96ed9 [kernel-switcher] add --from-running switch support
If this switch is provided, kernel-switcher tries to look for
reverse dependencies of the currently running kernel (uname -r)
during the selection of external package modules that require to
be installed for the new kernel.
2012-08-02 20:15:00 +02:00
Fabio Erculiani
941bfaf1e8 [services] optimize execution time of _expand_cpvs() 2012-07-09 19:32:34 +02:00
Fabio Erculiani
9227b17744 [services] portage-repository-converter: add support to Portage md5 eclass cache 2012-07-09 19:32:10 +02:00
Fabio Erculiani
4506c5d3a8 [services] remove old file 2012-04-17 22:16:02 +02:00
Fabio Erculiani
c43e589276 [magneto] migrate to RigoDaemon, kill entropy-updates-service (RIP!) 2012-04-12 19:40:20 +02:00
Fabio Erculiani
b24e478b21 [services] entropy-updates-service: initialize the dbus service ASAP
This, and passing the correct service name, could make clients more
robust
2012-04-02 14:36:22 +02:00
Fabio Erculiani
75a48ee85f [services] entropy-updates-services: avoid loading/unloading Entropy but rather keep an instance alive
This hopefully fixes GC related memleaks exposed here:
https://forum.sabayon.org/viewtopic.php?f=24&t=26171
2011-12-30 23:04:27 +01:00
Fabio Erculiani
2d57e507db [services] repository-webinstall-generator: trivial code fix 2011-11-26 19:11:44 +01:00
Fabio Erculiani
83a5bfbc10 [services] repository-webinstall-generator: actually remove ancient .etp files 2011-11-26 19:03:42 +01:00
Fabio Erculiani
a67e30c04e [services] repository-webinstall-generator: use print_info instead of print_warning 2011-11-26 18:13:03 +01:00
Fabio Erculiani
11f1eee75a [services] entropy-pkgdelta-generator: write to stdout 2011-11-26 18:11:46 +01:00
Fabio Erculiani
5d39b4c423 [services] repository-webinstall-generator: execute cleanup even if no new .etp files have to be created 2011-11-26 18:09:51 +01:00
Fabio Erculiani
a03536bb18 [services] fix $@ usage 2011-11-26 17:56:45 +01:00
Fabio Erculiani
44471c5ba3 [entropy.server] move Makefile logic to server/, add man support to eit, move matter to server/ 2011-11-10 15:33:43 +01:00
Fabio Erculiani
54681062f1 [matter] properly handle Blocker objects in graph.altlist() outcome 2011-10-30 10:26:00 +01:00
Fabio Erculiani
8ce8a837b1 [matter] fix undefined reference (argh!) 2011-10-30 07:19:54 +01:00
Fabio Erculiani
2384fc13b0 [entropy.*] drop smartapps, goodbye crappy crap 2011-10-27 22:32:25 +02:00
Fabio Erculiani
201478b91f [matter] package_queue can contain Blocker objects as well, not exposing .cpv field 2011-10-23 23:08:05 +02:00
Fabio Erculiani
57a25ff512 [entropy.cli] move print_package_info to entropy.cli module 2011-10-18 17:26:45 +02:00
Fabio Erculiani
69a0bb87e0 [entropy] move libraries/ to lib/ 2011-10-17 14:27:58 +02:00
Fabio Erculiani
4cc4407eaa [entropy.server] drop etpConst['community']['mode'], move setting into server.conf 2011-10-17 11:26:46 +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
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
f0ade6f50e [matter] rework ve_string_open_file_read parser method to return file path instead of handle 2011-09-25 11:02:13 +02:00
Fabio Erculiani
c0868cf6e2 [matter] fix usage of buildfail, pkgpre and pkgpost file data 2011-09-25 10:40:43 +02:00
Fabio Erculiani
c087c5c096 [matter] wrap tempfile.mkstemp(), write to /var/tmp/matter, avoid issues with /tmp mounted with noexec 2011-09-18 11:38:08 +02:00
Fabio Erculiani
cbefc70042 [matter] fix indentation 2011-09-08 13:22:20 +02:00
Fabio Erculiani
f7de86a6cc [matter] respect Portage AUTOCLEAN setting before spawning unmerge() 2011-09-08 13:20:05 +02:00
Fabio Erculiani
c042ab8627 [matter] inform about post-build operations execution 2011-09-08 13:05:13 +02:00
Fabio Erculiani
f678dcb888 [matter] use Portage Scheduler directly, improve speed 2011-09-08 13:02:55 +02:00
Fabio Erculiani
6269a771d2 [matter] use Portage --resume feature to resume dependency calculation 2011-09-08 12:12:37 +02:00
Fabio Erculiani
fcee11c19b [matter] catch KeyError on match_installed_package() 2011-09-07 21:55:45 +02:00
Fabio Erculiani
55770c4172 [matter] make sure etc-update is always called 2011-09-05 08:52:14 +02:00
Fabio Erculiani
f1098717ec [matter] cleanup code, fix PORT_LOGDIR usage regression 2011-09-04 23:21:56 +02:00