Commit Graph

148 Commits

Author SHA1 Message Date
lxnay
fa51b1576c Entropy/Reagent/Community Repos/ServerInterface:
- implement server-side database backup and restore tool
Entropy/EquoInterface:
- list_backedup_client_databases: add client_dbdir parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2903 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 10:46:55 +00:00
lxnay
9a19a9f69c Entropy/TODO:
- update TODO
Entropy/Equo/Reagent/Activator:
- add short options (-p,-a,-v,-q,-pavq)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2861 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 19:24:25 +00:00
lxnay
384cb91025 Entropy/Reagent:
- use SystemExit instead of sys.exit()
Entropy/Activator:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2855 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:09 +00:00
lxnay
4bf56a99c3 Entropy/TODO:
- update TODO
Entropy/entropyConstants:
- say goodbye to etpRSSMessages
- other cosmetical fixes
Entropy/EquoInterface:
- close LogFile instance's file on instance delete
- wipe os.system() calls
- rewrite get_meant_packages() to use SOUNDEX features of SQLITE3
- replace old and slow filterSatisfiedDependencies with get_unsatisfied_dependencies, which is faster and more reliable (added NEEDED check by default)
- improve speed of generate_dependency_tree
- improve speed of get_required_packages
- fix get_world_update_cache_hash()
- improve speed of retrieveInstallQueue
- make __unpack_package reporting the right error on uncompressTarBz2 if this crashes
- remove Python 2.4/2.5 workarounds since they are not needed anymore, being entropyTools.uncompressTarBz2 fixed forever (handling UTF-8 filenames correctly)
- adjust __move_image_to_system for the changes above
- __move_image_to_system, if an error is caught on shutil.move, do not crash but report it to user instead
Entropy/TriggerInterface:
- replace os.system() with subprocess.call()
- remove unused nspluginwrapper trigger
Entropy/ErrorReportInterface:
- add locale output
- get the full content of ps auxf, not just the first 80 chars
- update handler accordingly (handlers/)
Entropy/LogFile:
- close log file on object deletion
Entropy:
- import subprocess by default
Entropy/EntropyDatabaseInterface:
- remove etpRSSMessages and use a ServerInterface variable instead
- add new method getVersioningData, useful to speed up other Entropy areas
- improving speed of other functions adding more one-liners conditionals
- add new method retrieveNeededRaw, useful to speed up other Entropy areas
- improve speed of retrieveDependenciesList, everything can be done at SQL level
- new method searchSimilarPackages that uses SOUNDEX to retrieve similar package/atom names
- improve speed of listAllCategories
- shrink databaseStructureUpdates
- remove old and dusted method
- improve speed of doDatabaseImport
- improve speed of database_checksum
- group multiple .cursor.execute using .cursor.executescript
- improve speed of __filterSlotTagUse
Entropy/entropyTools:
- improve speed and reliability of uncompressTarBz2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2818 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-30 18:43:16 +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
5794c3b671 Entropy/Reagent:
- fix spm function call


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2789 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:57:58 +00:00
lxnay
14df3cbeda Entropy/Reagent:
- fix spm function call


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2788 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:55:43 +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
31c7feaaef Entropy/TODO:
- update TODO
Entropy/Reagent:
- add configuration files updates check
Entropy/translations:
- update translations and template file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2761 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 12:23:15 +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
cac4a96482 Entropy/Activator:
- fails on wrong extended arguments


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2720 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:35:21 +00:00
lxnay
eb78c00601 Entropy/entropy-system-daemon:
- add default session ttl


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2715 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:22:15 +00:00
lxnay
edbd2ea4d1 Entropy/Reagent:
- libtest: avoid to push garbage on complete

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2705 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-23 18:16:10 +00:00
lxnay
cec32d320c Entropy/Community Repositories/Server-side Repositories:
- add the ability to arbitrary tag packages
Entropy:
- use entropyTools.create_package_atom_string and entropyTools.create_package_filename to create package atom and filename strings
Entropy/EquoInterface:
- atomMatch, add the ability to match packages by tag from here too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2663 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 19:35:05 +00:00
lxnay
94c9f0c351 Entropy/Activator:
- add support for notice boards handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2523 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:15:03 +00:00
lxnay
994b4a87f5 Entropy/Equo:
- update --upgrade feature when running equo world
Entropy/EquoInterface:
- update move_to_branch() to reflect latest branch management changes
Entropy/EAPI3:
- update EAPI3 commands to reflect latest branch management changes
- also update server-side functions, removing the old ones to avoid to be run by old clients
see server/entropy-repository-daemon changes to know more


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2506 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 18:43:32 +00:00
lxnay
c05c5e2efb Entropy/Reagent:
- ease the output, do not print the whole package list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2499 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 13:39:41 +00:00
lxnay
b5ec9b033d Entropy/database split:
- some changes to allow easy branch migration through the 'switchbranch' tool


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2498 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 13:36:40 +00:00
lxnay
561db807d5 Entropy:
- databases now split by branch (first chunk, ServerInterface migrated, EquoInterface and Repository Daemon to go


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2496 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 12:05:00 +00:00
lxnay
df145cd5b7 Entropy/repository manager example:
- add google client id param


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2492 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-07 13:13:56 +00:00
lxnay
2977ea5d14 Entropy/Repository daemon example:
- add google developer key support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2489 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-07 10:51:33 +00:00
lxnay
c0cb362588 Entropy/Repository daemon test client:
- add the ability to set the port from shell


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2461 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-03 17:02:49 +00:00
lxnay
374d5b11aa Entropy/System Manager Repository Daemon example:
- add community_repo bool switch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2449 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-03 01:55:50 +00:00
lxnay
3910af97e7 Entropy/Electron:
good bye! You won't be missed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2434 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-29 19:49:24 +00:00
lxnay
6cbdcc909c Entropy/SystemManager daemon:
- example application of the SystemManager Server-side infrastructure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2419 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-24 13:29:45 +00:00
lxnay
fb84ad41db Entropy/reagent:
- fix packages move/copy from a repo to another


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2411 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-20 15:47:04 +00:00
lxnay
00611929fa Entropy/repository daemon template:
- update template to reflect previous commits


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2325 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:53:00 +00:00
lxnay
3484475909 Entropy/Entropy Repository Daemon example:
- add support for UGC


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2290 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 07:48:02 +00:00
lxnay
3cd5f3c403 Entropy/urlFetcher/RepoInterface:
- add a new disallow_redirect parameter, that makes urlFetcher.download() to return an error in case of URL redirects
- enable disallow_redirect when downloading repository data (RepoInterface.run_sync())
- avoid to return an error if urlFetcher.download() fails due to issues with our custom User-Agent when downloading from HTTP
Entropy/Socket Services:
- create a parent class SocketCommandsSkel which acts as skeleton to any SocketHostInterface command class, this avoids having to declare register() matching a proper signature not even documented (until this commit)
- some slight fixes/updates in the BasicPamAuthenticator class, change docmd_userdata() API removing unneeded parameters
- make BuiltInCommands class a subclass of SocketCommandsSkel and remove register() since it's now inherited
- get_new_session() now creates 4 more keys in the session dictionary for easy reference: admin, moderator, user, developer indicating the post-authentication user level
Entropy/phpbb3Authenticator:
- update API to reflect the changes in SocketHostInterface
Entropy/Repository Services interface:
- add a new commands class (phpbb3Commands) that can be used to extend functionalities when using the phpbb3 authenticator
Entropy/Electron:
- more preliminary work on the login and widgets
Entropy/RepositoryCommands:
- make it a subclass of SocketCommandsSkel too
Entropy/RepositorySocketServerInterface:
- make external_cmd_classes keyword argument to work correctly
- update get_logged_user_data() to reflect changes in server API
- add 3 new functions (self explanatory): is_administrator(), is_moderator(), is_developer(), is_user()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2248 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-05 17:30:17 +00:00
lxnay
882a7f7bfb Entropy/SocketHostInterface/Repository Daemon:
- fix docmd_login arguments length


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2210 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 19:16:08 +00:00
lxnay
461ac49e8f Entropy/SocketHostInterface:
- store IP address inside session data
- update commands to make them use the new session param above
Entropy/repository daemon template:
- sync with API changes
Entropy/phpbb3 Auth Interface:
- use TABLE_PREFIX variable to be more compatible with exotic settings
- implement _update_session_table() to handle users activity


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2208 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 19:10:26 +00:00
lxnay
d3a957e02a Entropy/repository daemon template:
- check client IP address too
Entropy/phpbb3 Auth Interface:
- add _is_ip_banned() method


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2200 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 12:01:14 +00:00
lxnay
1faab94d42 Entropy/repository daemon template:
- update it to reflect API changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2199 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 11:41:26 +00:00
lxnay
851aadb094 Entropy/Repository Daemon Template:
- add phpbb3 Authenticator to be used inside SocketHostInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2193 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 10:20:55 +00:00
lxnay
ab8537c65a Entropy/SocketHostInterface:
- change default SSL port to 1027
- add killall() function to close some threads correctly
Entropy/entropy-repository-daemon example:
- update it to support SSL and non-SSL connections at the same time


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2189 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-29 17:40:38 +00:00
lxnay
91f924b422 Entropy:
- updated TODO
- move enzyme to electron
- move enzymelib to managerTools
Entropy/exceptionTools:
- add some new exceptions
Entropy/Authenticators:
- started to implement phpbb3 authenticator to be used with EAPI=3 Services


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2184 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-27 21:14:31 +00:00
lxnay
d21d8f6db0 Entropy/RepositoryManager:
- first bunch of code implemented, using urwid library
- application name = Enzyme
Entropy/entropyTools:
- improved parallelTask(), make it use *args and **kwargs
- fixed code accordingly
- some new functions
Entropy/outputTools:
- make shell output function faster by reducing call time


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2179 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-24 13:22:14 +00:00
lxnay
bc4e970b71 Entropy/Repositories Management:
- add a function to allow copying packages from a repository to another
- export it to reagent and equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2161 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-19 18:59:42 +00:00
lxnay
3549eb6913 Entropy/outputTools:
- do not flush stdout every now and then
Entropy/Socket Interface:
- handle socket errors and timeouts in CommandProcessor.process()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2117 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-08 15:20:43 +00:00
lxnay
7a509729d4 Entropy/Activator:
- fix choice selection when asking to run the queue. if No, break the branches cycle and don't sync databases (if not successfull_mirrors)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2009 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 00:08:55 +00:00
lxnay
7c20a83df6 Entropy/Socket Interface:
- allow to enable/disable stdout logging
- make socketLog loglevel configurable through etpConst


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2007 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:18:43 +00:00
lxnay
8a55513f5b entropy/Repository Service:
- kill LockScanner thread before quitting


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1983 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:06:26 +00:00
lxnay
fd494d6325 Entropy/Repository Server:
- some minor updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1979 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:35:32 +00:00
lxnay
2b1faaf6b5 Entropy/RepositoryServerSocketInterface:
- started to implement EAPI=3 support
- various bugfixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1974 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-25 20:20:17 +00:00
lxnay
d76cc12149 Entropy/ServerInterface/CommunityRepositories:
- handle __system__ repository correctly in various functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1968 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-24 11:42:28 +00:00
lxnay
ff64dd6c6c Entropy/ServerInterface/CommunityRepositories:
- started to interface equo to the new Community Repositories interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1961 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 18:49:00 +00:00
lxnay
d799613d0b Entropy/ServerInterface:
- updating server.conf and fixing a typo in server_reagent.py

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1960 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 15:36:08 +00:00
lxnay
5a6ce266cb Entropy/Reagent:
- avoid to crash if Spm quickpkg() fails due to a broken entry

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1955 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 17:14:28 +00:00
lxnay
4080744f69 Entropy/ServerInterface:
- make dependencies_test() a blocker


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1954 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 17:10:59 +00:00
lxnay
1f2ebaf41b Entropy/Server:
- move activator to activator.py
- move reagent to reagent.py
- complete i18n support for server-side applications
- update .po files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1951 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 09:09:45 +00:00