Commit Graph

1892 Commits

Author SHA1 Message Date
lxnay
0e6de7abda Entropy/EntropyDatabaseInterface:
- runTreeUpdatesSlotmoveAction(): fix slotmove action execution under very rare conditions
- filterTreeUpdatesActions(): improve reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2805 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-18 11:42:02 +00:00
lxnay
c3e6c21189 Entropy/TODO:
update TODO
Entropy/EntropyDatabaseInterface:
- slightly improve atomMatch speed
- add method uniformBranch
Entropy/EquoInterface:
- fix a small type issue in dependencies_test (nothing relevant)
- fix a small issue in generate_dependency_tree (nothing to worry about)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2804 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-18 10:35:37 +00:00
lxnay
f15ad492a4 Entropy/EntropyDatabaseInterface:
- packagesFilter: remove atom parameter, being unused
- retrieveSystemPackages: fix method


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2800 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-17 12:13:18 +00:00
lxnay
a4bdc3bf36 Entropy/TODO:
- update TODO
Entropy/System Packages:
- add user configurable system packages through /etc/entropy/packages/system.mask


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2799 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-17 12:10:23 +00:00
lxnay
ca2afa3cb3 Entropy/Equo/conf:
- remove kdmrc from configprotectskip|
Entropy/EquoInterface:
- fix addRepository() for tbz2 packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2795 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 20:39:10 +00:00
lxnay
e6f51377b7 Entropy/EquoInterface:
- repo_error_messages_cache must be a set()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2793 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 15:10:22 +00:00
lxnay
161a46d449 Entropy/ServerInterface:
- orphaned_spm_packages_test(): print packages not found in string form


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2792 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 15:02:48 +00:00
lxnay
5a11837e25 Entropy/ServerInterface:
- orphaned_spm_packages_test(): print packages not found in string form


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2791 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 15:01:23 +00:00
lxnay
b45a1d7492 Entropy/ServerInterface:
- orphaned_spm_packages_test(): ease output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2790 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:59:05 +00:00
lxnay
5d62fc68e7 Entropy/ServerInterface/Reagent:
- implement orphaned SPM packages scan


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2787 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:54:42 +00:00
lxnay
a16edd0cbe Entropy/EquoInterface:
- calculate_world_update(): fix some trivial and conceptual bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2785 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-14 18:49:25 +00:00
lxnay
520522cd4f Entropy:
- misc improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2784 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-14 15:04:23 +00:00
lxnay
5337fdec11 Entropy/caches:
- remove cache global variables
- say goodbye to const_resetCache, not needed anymore


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2783 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-14 13:23:52 +00:00
lxnay
e569355022 Entropy/entropyConstants:
- get rid of etpRemoteFailures and maskingReasonsStorage global variables
Entropy/EquoInterface:
- apply entropyConstants changes
- new method get_masked_package_reason
Entropy/EntropyDatabaseInterface:
- hack to control idpackageValidatorCache size


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2782 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-14 12:42:09 +00:00
lxnay
2efba57138 Entropy/ServerInterface:
- in for cycles, unpack tuples directly
- append treeupdates info to binary packages too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2781 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-13 09:58:00 +00:00
lxnay
8f3e8d8996 Entropy/UGCClientInterface:
- login/do_login(): ability to force re-login
Entropy/Spritz:
- do not remove login credentials inside UGC preferences when clicking on Generate Login


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2779 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-12 17:50:50 +00:00
lxnay
3787dc6030 Entropy/EquoInterface:
- goodbye listAllAvailableBranches
Entropy/Spritz:
- remove branch switching button, it's a critical task that should be done only with brain ON


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2775 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-12 15:39:52 +00:00
lxnay
653247e292 svn ci -m
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2771 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-11 19:15:33 +00:00
lxnay
d3b8fe9138 Entropy/EntropyDatabaseInterface:
- searchPackages: add just_id option to only pull idpackages in


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2770 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-11 19:14:32 +00:00
lxnay
e46fd159e5 Entropy/EquoInterface:
- allow tagging entropy packages by setting ENTROPY_PROJECT_TAG inside the ebuild


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2767 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-11 10:47:39 +00:00
lxnay
daae0887d6 Entropy/PackageInterface:
- new action implemented: source, useful to download packages source code
Entropy/Equo:
- add support for downloading source packages (equo source)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2765 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 23:47:00 +00:00
lxnay
31f5477066 Entropy/ServerInterface/ServerMirrorsInterface:
- block database upload and updates if there are uncommitted configuration files (reworked)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2760 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 12:20:10 +00:00
lxnay
f054c3fbe4 Entropy/ServerInterface/ServerMirrorsInterface:
- block database upload if there are uncommitted configuration files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2759 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 11:51:06 +00:00
lxnay
128e7a34a1 Entropy/UGCClientInterface:
- fix thread locking issues with calling the login method inside do_cmd


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2758 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 00:22:14 +00:00
lxnay
fd6f2f0ae5 Entropy/SocketInterface:
- fix previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2757 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 00:09:22 +00:00
lxnay
26103471b0 Entropy/SocketInterface/RequestHandler:
- fix transmit method call


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2756 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 23:54:02 +00:00
lxnay
0bad181805 Entropy/EntropyDatabaseInterface:
- do not crash on createPackagesetsIndex


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2755 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 23:50:51 +00:00
lxnay
88c245c845 Entropy/RepoInterface:
- _config_updates_make_profile(): if /etc/make.profile is broken, remove the symlink first


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2751 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 22:27:16 +00:00
lxnay
ebe551db54 Entropy/EquoInterface:
loadRepositoryDatabase(): check if repositoryName is a string
generate_depends_tree(): fix issues with system packages dependencies resolution (like sys-kernel/linux-sabaupm=
PackageSettings:
- on repos_system_mask_installed key, pull all the available idpackages using multiMatch, which seems better
- repos_system_mask_installed_keys: add helper dict to ease interaction


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2750 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 22:03:33 +00:00
lxnay
11901f4c96 Entropy/EquoInterface:
- packageSetExpand(): use etpConst['packagesetprefix'] length to remove the prefix (@)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2745 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 18:55:37 +00:00
lxnay
47c6252dc1 Entropy/TimeScheduled:
- make possible to sleep before spawning the function
Entropy/EquoInterface:
- packageSetMatch: return empty tuple if no matches are found (instead of empty dict) when multiMatch is not enabled
- generate_dependency_tree(): add flat option, to return a yet ordered dependencies list (instead of a dict)
- generate_dependency_tree(): slightly update speed when creating the final dictionary
Entropy/phpBB3AuthInterface:
- make possible to disable the update of the session table
Entropy/UGCCacheInterface:
- get_package_downloads(): always return int


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2744 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 13:12:31 +00:00
lxnay
f228e68597 Entropy/Equo:
- add support for package sets
Entropy/EquoInterface:
- group initConfig_entropyConstants calls in a stand-alone EquoInterface method
- half-implement in-memory repositories (will be completed upon request)
- atomMatch: support matchRepo for server-repos too
Entropy/TODO:
- update TODO
Entropy/EquoInterface:
- improve packageSetMatch method
- implement packagesExpand and packageSetExpand methods
Entropy/exceptionTools:
- implement new InvalidPackageSet exception


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2738 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-08 12:48:47 +00:00
lxnay
46ba10dcbd Entropy/Equo/Reagent:
- implement package sets search
Entropy/ServerInterface:
- implement packageSetList, packageSetSearch, packageSetMatch methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2737 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-08 10:17:14 +00:00
lxnay
0172841210 Entropy/phpBB3AuthInterface:
- improve phpbb username validation on registration


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2736 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-08 09:11:52 +00:00
lxnay
fd85e10164 Entropy/EntropyDatabaseInterface:
- implement table structure for supporting package sets
- add methods to handle them: clearPackageSets(), insertPackageSets(), retrievePackageSets()
Entropy/Socket Server Interface:
- if command is not valid, return a CL answer
Entropy/Socket Server Client Interface:
- handle CL answers on receive()
Entropy/ServerInterface:
- add support for package sets, loading data from sets/ database dir subdirectory
- automatically handle them by updating the db at every change
Entropy/Repository Daemon:
- add EAPI3 support for package sets
Entropy/RepoInterface/EquoInterface:
- add support for package sets on sync
- add package sets match and search functions
more tomorrow


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2735 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-07 22:38:42 +00:00
lxnay
6f7cd190e9 Entropy/entropyTools:
- add extract_packages_from_set_file method, just a helper function
Entropy/Package Masking inteface reworked:
- etpConst['packagemasking'] is gone, the Package masking interface changed name, now it's called PackageSettings and is a standalone class that can work like a simple python dictionary object
- adapt all the code to the new interface, which is close to final and pretty solid if compared to the old one etpConst['packagemasking'] dict and its issues (like being un-initialized)
Entropy/Package sets support:
- implement server-side methods (ServerInterface) to collect repository-defined sets
Entropy/urlFetcher:
- move some init code to stand-alone functions (setup_proxy and setup_resume_support method)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2733 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-07 19:28:05 +00:00
lxnay
48e409da0c Entropy/entropyConstants:
- empty system_packages list, we now have packages.db.system_mask, which is the best place to put system packages
Entropy/PortageInterface:
- add suport to package sets, introducing 3 new methods: get_set_config(), get_sets(), get_sets_expanded()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2732 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-07 16:22:53 +00:00
lxnay
809d7c210f Entropy/phpBB3AuthInterface:
- move _generate_sql() to RemoteDbSkelInterface, so every other class can benefit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2731 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-07 13:09:40 +00:00
lxnay
1a3b088ed1 Entropy/packages.db.mask syntax:
- remove branch parameter from file atoms syntax
- update code accordingly
Entropy/phpBB3AuthInterface:
- _generate_sql(): fix SQL update statement with utf-8 chars


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2730 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-07 13:08:01 +00:00
lxnay
f398a91ca6 Entropy/DistributionUGCInterface:
- finalize SQL indexes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2729 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 16:20:43 +00:00
lxnay
0d16ca7173 Entropy/DistributionUGCInterface:
- fix previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2728 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:42:20 +00:00
lxnay
7712fcb660 Entropy/DistributionUGCInterface:
- make cache expiration time configurable per cache item


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2727 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:39:08 +00:00
lxnay
4b9c8956a8 Entropy/SocketInterface:
- when processing a command, make sure cmd_data (thus cmd) is valid (must be a dict)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2726 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:33:43 +00:00
lxnay
c1346bea70 Entropy/dumpTools:
- getobjmtime(): fix dump_path generation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2725 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:28:49 +00:00
lxnay
b44bf5350d Entropy/DistributionUGCInterface:
- add caching infrastructure to avoid running long queries multiple times returning the same result
- set cache expiration to 1 day by default


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2724 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:03:51 +00:00
lxnay
281de8e097 Entropy/DistributionUGCInterface:
- use SQL_CACHE MySQL feature on biggest queries


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2723 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 11:31:40 +00:00
lxnay
9bcee6f1b6 Entropy/TODO:
- update TODO
Entropy/EquoInterface:
- avoid removal of system_mask-ed packages client-wide


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2722 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 22:58:46 +00:00
lxnay
fa969f42ce Entropy:
- remove the use of list.sort() method in favour of sorted(list)
- implement a per-repository system packages mask, to force clients to install specified packages (like one of the slotted sys-libs/db packages for convenience), consider this an extension to system packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2721 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:37:18 +00:00
lxnay
0bcc693bfc Entropy/EquoInterface:
- filterSatisfiedDependencies(): give up if the repo db is broken


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2717 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:23:35 +00:00
lxnay
5854dd934c Entropy/rssFeed:
- writeChanges(): add reverse param, to avoid writing elements in the reverse order


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2713 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 13:45:42 +00:00