Commit Graph

2360 Commits

Author SHA1 Message Date
Fabio Erculiani 2bacba0cb2 entropy.client.interfaces.trigger: some general code improvements and cleanup 2009-05-26 10:03:11 +02:00
Fabio Erculiani b5166440ac entropy.security: remove bogus comment 2009-05-26 09:43:01 +02:00
Fabio Erculiani f0771eb3a7 unit testing, db: add multi match tests 2009-05-25 22:59:55 +02:00
Fabio Erculiani 44dbe5e0da entropy.client.interfaces.trigger: there is no need to run openglsetup trigger on postremove 2009-05-25 20:31:49 +02:00
Fabio Erculiani 61b736b34f entropy.client.interfaces.trigger: revert to xorg-x11 opengl profile only when really needed 2009-05-25 20:25:59 +02:00
Fabio Erculiani b655ecc085 entropy.client.interfaces.trigger: revert to xorg-x11 opengl profile only when really needed 2009-05-25 20:24:17 +02:00
Fabio Erculiani 75b91ea50f update code to use the new atom_match results with multiMatch = True 2009-05-25 20:14:11 +02:00
Fabio Erculiani 2c680b4cc5 entropy.client.interfaces.dep: atom_match always returns a set as first argument 2009-05-25 20:13:39 +02:00
Fabio Erculiani b4fe525745 entropy.db: atomMatch used with multiMatch always returns a set() as first argument 2009-05-25 20:05:04 +02:00
Fabio Erculiani 57de18d927 entropy.client.interfaces.trigger: remove binutils trigger 2009-05-25 19:19:16 +02:00
Fabio Erculiani 8a06d0ab86 fine tune some module imports 2009-05-25 19:10:29 +02:00
Fabio Erculiani 381c6406be entropy.spm: trivial whitespace change 2009-05-24 17:57:02 +02:00
Fabio Erculiani 76998f6c30 move Spm metadata extractor to entropy.spm (was in entropy.client) 2009-05-24 17:50:06 +02:00
Fabio Erculiani a40cd8f9bb entropy.client.interfaces.trigger: deprecate some methods 2009-05-24 17:34:24 +02:00
Fabio Erculiani 53a281e7ae entropy.client.interfaces.metadata: properly handle USE flags 2009-05-24 17:34:04 +02:00
Fabio Erculiani 03ba2a6ea2 entropy.client.interfaces.trigger: createkernelsym trigger not needed anymore 2009-05-23 20:35:53 +02:00
Fabio Erculiani 4e90a4d9d9 entropy.client.interfaces.trigger: remove cleanpy trigger, not needed 2009-05-23 20:33:18 +02:00
Fabio Erculiani 456680adb5 entropy.client.interfaces: improve calculate_available_packages, branch is not needed 2009-05-23 13:15:28 +02:00
Fabio Erculiani e668e41bf1 entropy.server: code style update 2009-05-22 19:08:11 +02:00
Fabio Erculiani ad2d8cf051 entropy.client: deny treeupdates as user due to Portage /var/db/pkg perms 2009-05-22 11:41:18 +02:00
Fabio Erculiani b197b8b9c2 entropy.server: code style updates 2009-05-22 07:51:59 +02:00
Fabio Erculiani 298c0180ea entropy.qa: rename get_deep_dependencies_list 2009-05-22 07:51:01 +02:00
Fabio Erculiani 820427d870 entropy.server.interfaces.mirrors: rss entries are always utf8 2009-05-21 20:18:35 +02:00
Fabio Erculiani 9e6d16ec59 entropy.core/const: drop etpRepos* 2009-05-20 19:53:28 +02:00
Fabio Erculiani c673b30d4d entropy.client.services.system.interfaces: some code style cleanup 2009-05-20 19:35:44 +02:00
Fabio Erculiani 911f448af9 entropy.client.services.system.interfaces: fix typo 2009-05-20 19:29:52 +02:00
Fabio Erculiani 813f5180c3 entropy.client.services.system.interfaces: syntax update 2009-05-20 19:29:07 +02:00
Fabio Erculiani 264e6ce1a9 entropy.client.services.system.interfaces: eval() is evil() 2009-05-20 19:27:40 +02:00
Fabio Erculiani c309895ddc entropy.client.services.system: rename Base into BaseMixin which is more appropriate 2009-05-20 19:22:29 +02:00
Fabio Erculiani 4db9520568 clear entropy/__init__.py 2009-05-20 19:20:32 +02:00
Fabio Erculiani a09e3a6e73 entropy.client.interfaces.package: fix symlinked directories update
This patch needs testing. Symlinked directories were not updated
correctly when link information got changed.
2009-05-20 17:46:20 +02:00
Fabio Erculiani e11ce75583 entropy.misc.rssFeed: fix error when using from entropy.client 2009-05-19 09:48:06 +02:00
Fabio Erculiani 80558f08b6 equo source: fix issues when running as user 2009-05-18 11:19:22 +02:00
Fabio Erculiani 4b86d2eb16 entropy.client.interfaces.package: fix issues with properly handling CONFIG_PROTECT_MASK 2009-05-17 19:51:12 +02:00
Fabio Erculiani 6e61eb7d3c entropy.client.interfaces.trigger: fix regression in grub.conf kernel string generation 2009-05-17 18:12:42 +02:00
Fabio Erculiani 79d10376e1 entropy.server: avoid queueing packages for removal on non-default repo 2009-05-17 14:07:12 +02:00
Fabio Erculiani 89ac49fc63 entropy.tools: remove deprecated functions 2009-05-15 19:35:35 +02:00
Fabio Erculiani d80f2ebd74 entropy.tools: effectively move compressTarBz2 to compress_tar_bz2 2009-05-15 19:35:04 +02:00
Fabio Erculiani d412435c2a entropy.tools + smart: rename compressTarBz2 to compress_tar_bz2 and update smart app tools 2009-05-15 19:33:57 +02:00
Fabio Erculiani aeca2ace65 entropy.tools: fix compressTarBz2 2009-05-15 19:33:18 +02:00
Fabio Erculiani 61b05e72d6 unit testing: add entropy.transceivers unit test module 2009-05-15 18:14:13 +02:00
Fabio Erculiani 43c94a6507 unit testing: append correct sys.path to every test class 2009-05-15 13:43:31 +02:00
Fabio Erculiani 31bf6773af unit testing, add entropy.misc tests (specifically Lifo class test) 2009-05-15 13:43:05 +02:00
Fabio Erculiani 02034aaa39 entropy.misc: Lifo, improve performance
Dictionary counter is generally not needed thanks to max() and
thread-safety is now left to developer.
2009-05-15 13:29:07 +02:00
Fabio Erculiani f93a86208b entropy.server: implement branch flushback logic
Generally, when starting a new branch packages are not copied over
to avoid wasting disk space. So, old packages will be still pulled
in from old branch directories (under packages/). This commit adds
a function that automatically flush back old-branch packages into
the current one.
Let's say we have just bumped our repo from branch 1 to branch 2.
We have 3 packages into it that are still placed inside /packages/1.
Everything works until we decide to drop support from branch 1, in
this case, we would have to rebuild all these packages wasting a lot
of time. With "flushback" this is done automatically without touching
packages integrity.
2009-05-15 10:11:30 +02:00
Fabio Erculiani eee6438980 entropy.server.interfaces.mirrors: change args on _sync_run_download_queue
_sync_run_download_queue accepted a list of tuples of size 2, there is
no need for such complex input since it just needs a plain path list.
Moreover, appending some code style updates too
2009-05-14 19:36:13 +02:00
Fabio Erculiani c429d8c71c entropy.server.interfaces.mirrors: code style update 2009-05-14 19:31:03 +02:00
Fabio Erculiani 1cf75a57dd entropy.transceivers: urlFetcher class becomes UrlFetcher 2009-05-14 18:06:52 +02:00
Fabio Erculiani 51280ef68f entropy.client.interfaces.package: remove unused install step "showmessages" 2009-05-14 09:05:30 +02:00
Fabio Erculiani 51204fd173 entropy: remove gentoo-compat option, always enabled 2009-05-14 09:04:37 +02:00