Commit Graph

206 Commits

Author SHA1 Message Date
Fabio Erculiani
3ae8e6ae93 [entropy.server] make possible to split package file into multiple "extra" package files
This introduces a backward-compatible feature (server-side in this commit)
that makes possible to associate more than one package file to a single
package_id. This opens the door to a wide range of future opportunities
but also makes possible to decouple debuginfo files from the rest.
2011-08-08 18:16:54 +02:00
Fabio Erculiani
b83095ee46 [entropy.*] implement automatic config files update on package name moves 2011-07-17 16:18:04 +02:00
Fabio Erculiani
7fff2821c3 [tests] fix tests 2011-06-28 11:58:48 +02:00
Fabio Erculiani
8c247b94e2 [entropy.db] EntropyRepository: move sqlite's integrity_check() to EntropyRepository.integrity_check() 2011-06-25 19:45:55 +02:00
Fabio Erculiani
10577e1e94 [tests] client: fix Trigger unit tests 2011-06-17 22:48:22 +02:00
Fabio Erculiani
ac95842bdb [entropy.spm/entropy.client] bring more metadata to SPM plugins handing triggers
This is required in order to support Portage EAPI4 feature called
"REPLACED_BY_VERSION".

See http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-12100012.1.2
2011-06-17 22:29:13 +02:00
Fabio Erculiani
7203cee3b4 [tests/misc] add more tests for FastRSS 2011-06-15 17:42:42 +02:00
Fabio Erculiani
40c732bd72 [entropy.misc] add FastRSS class, for fast RSS files generation 2011-06-15 14:33:34 +02:00
Fabio Erculiani
0f0029b3ec [tests] db: fix test_use_defaults test 2011-05-06 16:39:40 +02:00
Fabio Erculiani
05fa5ab8f2 [tests] db: fix test_use_defaults test 2011-05-04 18:32:29 +02:00
Fabio Erculiani
72ea943a52 [entropy.spm] add disabled use flags to package use flags metadata 2011-04-27 11:38:53 +02:00
Fabio Erculiani
80dfbcc0f2 [entropy.services] goodbye old and ugly RPC service, R.I.P. 2011-04-14 15:17:54 +02:00
Fabio Erculiani
e5bf7e039d [tests] add RepositoryWebServices tests 2011-04-14 15:09:35 +02:00
Fabio Erculiani
b930bef29d [tests] drop dead tests 2011-04-10 23:15:51 +02:00
Fabio Erculiani
a60c456b57 [tests] webservice: update fake package name 2011-04-07 10:41:27 +02:00
Fabio Erculiani
afb8463976 [tests] add Entropy Web Services final test suite 2011-04-03 16:22:45 +02:00
Fabio Erculiani
377776aa63 [entropy.client.services] minor fixes to package vote range management 2011-03-26 16:54:59 +01:00
Fabio Erculiani
884bf31e6d [entropy.services] introduce the new Entropy Web Services Client library. 2011-03-26 16:21:27 +01:00
Fabio Erculiani
070427f9d8 [tests] db: fix test_db_metadata_handling, trigger metadata now contains slot 2011-03-25 17:29:20 +01:00
Fabio Erculiani
ab1e5b5644 [tests] add another python-based package trigger test 2011-03-23 07:08:26 +01:00
Fabio Erculiani
c62dd54531 [tests] add python-based package trigger test 2011-03-23 06:44:46 +01:00
Fabio Erculiani
e9e4161ae7 [tests] add shell trigger test to client 2011-03-23 06:38:25 +01:00
Fabio Erculiani
5421de7b74 [entropy.spm,entropy.db] add default use dependencies support 2011-03-21 16:12:51 +01:00
Fabio Erculiani
878c6c61fd [tests] fix tests, move constants test to server module 2011-03-06 18:26:01 +01:00
Fabio Erculiani
c08cb61645 [entropy.client.interfaces.methods] partially complete API documentation and cleanup 2011-03-05 19:08:23 +01:00
Fabio Erculiani
4f7e968e78 [entropy.client] Client: drop "noclientdb" argument (yay API break), replace with installed_repo, same (reversed) logic. 2011-03-05 16:39:03 +01:00
Fabio Erculiani
1c25615f24 [entropy.client.interfaces.cache] complete module cleanup and polishing 2011-03-05 16:07:34 +01:00
Fabio Erculiani
87fb1264ce [tests] add 3 EntropyCacher tests 2011-03-05 15:43:40 +01:00
Fabio Erculiani
53a871ef0d [entropy.db] EntropyRepository, EntropyRepositoryBase: only return package_id from addPackage() and handlePackage() 2011-03-04 21:14:12 +01:00
Fabio Erculiani
7801132610 [tests] db: improve settings management test 2011-02-26 23:52:53 +01:00
Fabio Erculiani
e2f5f9d611 [tests] also check for st_size=0 on hardlinks 2011-02-20 19:53:56 +01:00
Fabio Erculiani
af2cb248bc [tests] fixup hardlink test 2011-02-20 19:51:52 +01:00
Fabio Erculiani
65f741078d [tests+ add hardlink test 2011-02-20 19:43:24 +01:00
Fabio Erculiani
61b398dd38 [tests] fix server tests 2011-02-14 17:13:29 +01:00
Fabio Erculiani
cc36139bfc [entropy.db] uniform searchName, searchNameCategory, searchCategory, make them return frozenset instead of list 2011-02-13 10:11:12 +01:00
Fabio Erculiani
7738f688a6 [entropy.db] introduce EntropyRepositoryBase.repository_id() 2011-02-10 11:42:19 +01:00
Fabio Erculiani
df3bb8005d [entropy] drop repository manager code, R.I.P. 2011-02-09 19:22:20 +01:00
Fabio Erculiani
23285e6c77 [entropy.server] out default_repository, in .repository() 2011-02-05 18:15:49 +01:00
Fabio Erculiani
ab93aee68b [entropy.server] complete the robustness work on the package, completely drop repo=None from function args 2011-02-05 18:07:09 +01:00
Fabio Erculiani
57a3f2713e [tests] improve db.test_search test 2011-02-02 01:25:52 +01:00
Fabio Erculiani
87ca1452b8 [entropy.db] EntropyRepositoryBase: hide temporary property and provide temporary() getter 2011-01-23 18:41:57 +01:00
Fabio Erculiani
342b48cdb4 [entropy.db] rename EntropyRepositoryBase.xcache to _caching and introduce caching()
Hide internal details regarding cache status handling. Rename
.xcache property to ._caching and provide a getter that returns
the cache setting status (caching()).
2011-01-23 13:09:03 +01:00
Fabio Erculiani
6bdb040e0c [entropy.dep] DependencyStringParser: introduce support for preferred package matches in or-dependencies selection
NOTE: this will go into the future Graph refactoring.
When calculating or-dependencies, it is now possible to provide
a list of preferred package matches that can be used to prioritize
certain packages over others.
2011-01-17 12:51:47 +01:00
Fabio Erculiani
4f563dd9c3 [entropy.db] rename EntropyRepositoryBase "reponame" attribute to "name", keeping backward compat. 2011-01-17 00:55:24 +01:00
Fabio Erculiani
d2326171a4 [entropy.db] make some order among repository identifier metadatum storage inside EntropyRepository*
reponame attribute is now storing with 100% fidelilty the repository
identifier used to instantiate the EntropyRepositoryBase instance
through open_repository() and similar.
2011-01-17 00:28:42 +01:00
Fabio Erculiani
2243d82d18 [entropy.dep] update API of expand_dependencies, make possible to match multiple repos 2011-01-16 20:01:17 +01:00
Fabio Erculiani
daf486d01d [tests] add test_entropy_delta, testing entropy.tools.generate_entropy_delta() and entropy.tools.apply_entropy_delta() 2010-12-16 16:21:18 +01:00
Fabio Erculiani
ae8cc9bfcf [entropy.spm] PortagePlugin: improve speed of get_package_sets(False) as used by entropy.server 2010-12-08 16:47:17 +01:00
Fabio Erculiani
dba41146dc [tests] make content_safety test more reliable on different platforms 2010-11-26 23:08:30 +01:00
Fabio Erculiani
c66d610c7f [tests] add content_safety metadata test 2010-11-26 14:59:25 +01:00