Commit Graph

65 Commits

Author SHA1 Message Date
Fabio Erculiani
78d6b98a99 equo: fix typo in equo.py, properly destroy Client instance 2009-04-18 08:17:14 +02:00
Fabio Erculiani
36537f39a0 equo: implement new command 'equo hop' which substitutes 'equo world
--upgrade <branch>'
2009-04-17 23:47:33 +02:00
Fabio Erculiani
6b7ca12957 equo: remove 'equo world --upgrade' option, will be moved to 'equo hop' 2009-04-17 16:01:31 +02:00
Fabio Erculiani
f550665605 Entropy: move entropy.conf parsing into SystemSettings Singleton
class.

As announced, SystemSettings is going to host all the Entropy
global variables. With this big commit, proxy config (and the rest
of entropy.conf data) has been moved under SystemSettings['system']
2009-04-03 20:06:07 +02:00
Fabio Erculiani
86746de6de reduce the amount of information printed by equo --help and advice
user to use --verbose to get the full content.
2009-04-01 20:21:27 +02:00
Fabio Erculiani
95c3a0f59f Entropy Server and Community Repositories: make possible to specify
only a certain set of atoms to update through --atoms option.
Moreover, add --dbsync and --dbupdate options to the new spm pkgset
sub-tool
2009-04-01 15:03:34 +02:00
Fabio Erculiani
501f0d7667 Entropy Server and Community Repositories: add new spm sub-tool "pkgset"
The new pkgset sub-tool allows maintainers to compile package sets from
entropy in a easier way.
2009-04-01 12:48:27 +02:00
Fabio Erculiani
d2449e2740 equo (community repos): export spm tool from reagent 2009-04-01 12:00:58 +02:00
Fabio Erculiani
19937466cd "equo source", new option --savehere
user can choose to download sources into CWD instead of entropy tmp
directory
2009-03-30 13:23:15 +02:00
Fabio Erculiani
7dd3f8a0ed "equo unusedpackages" add --sortbysize parameter and logic 2009-03-29 20:17:39 +02:00
Fabio Erculiani
dee0b718ed text_query: API changes
functions inside text_query are now following Python guidelines.
Update the rest of the code accordingly.

On a side effect, printPackageInfo (now print_package_info) is
now 2.5 times faster on standard print
2009-03-29 15:49:34 +02:00
Fabio Erculiani
a5569db021 add "equo database vacuum"
This tool is useful to shrink the client repository database by
removing SQL indexes. Comes to help on ISO images creation
2009-03-28 20:42:13 +01:00
lxnay
97590a6cad Entropy/*:
- use spawn_function instead of spawnFunction function (deprecated)
- use uncompress_tar_bz2 instead of uncompressTarBz2 function (deprecated)
- use bytes_into_human instead of bytesIntoHuman function (deprecated)
- use hide_ftp_password instead of hideFTPpassword function (deprecated)
- use get_file_unix_mtime instead of getFileUnixMtime function (deprecated)
- use get_random_temp_file instead of getRandomTempFile function (deprecated)
- use get_file_timestamp instead of getFileTimeStamp function (deprecated)
- use convert_unix_time_to_human_time instead of convertUnixTimeToHumanTime function (deprecated)
- use get_current_unix_time instead of getCurrentUnixTime function (deprecated)
- use get_year instead of getYear function (deprecated)
- use convert_seconds_to_fancy_output instead of convertSecondsToFancyOutput function (deprecated)
- use get_repository_settings instead of getRepositorySettings function (deprecated)
- use write_ordered_repositories_entries instead of writeOrderedRepositoriesEntries function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3187 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:45:55 +00:00
lxnay
07d9fe86bf Entropy/*:
- use print_exception instead of printException function (deprecated)
- use application_lock_check instead of applicationLockCheck function (deprecated)
- use get_random_number instead of getRandomNumber function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3183 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:19:13 +00:00
lxnay
d7151b6555 Entropy/*:
- update module imports to reflect the new entropy package structure
Entropy/Client/Interfaces/Package:
- fixed sources_fetch_step source packages download


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:36:47 +00:00
lxnay
2f70ebdd21 Entropy/TODO:
- update TODO
Entropy/Core/Cache:
- EntropyCacher, fix stop(), non-working hasattr calls due to private class attributes
Entropy/Core:
- Singleton, delete object reference if instance has been destroyed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3139 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 18:49:12 +00:00
lxnay
7a57e1db33 Entropy:
- remove all the compat imports
Entropy/Equo:
- move etpExitMessages to equo.py
Entropy/Activator:
- fix import order


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3135 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 23:23:39 +00:00
lxnay
83e184fc5e Entropy/*:
- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:49:55 +00:00
lxnay
715421089b Entropy/MELTDOWN :-):
- entropy modules is now a python package, kept backward compatibility for now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay
c3131dbab9 Entropy/TODO:
- update TODO
Entropy/Singleton:
- when an instance is destroyed, do not reuse it and load a new one instead
Entropy/Eqo:
svn ci -m 

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3109 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-05 11:27:47 +00:00
lxnay
b7020aef97 Entropy/Equo:
- add support for multifetch: --multifetch and --multifetch=N options added


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3086 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 11:21:33 +00:00
lxnay
d57249e737 Entropy/Community Repositories/Server Repositories:
- export support for manual dependencies handling to equo and reagent


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3041 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 14:01:46 +00:00
lxnay
dd743eadc1 Entropy/Spritz:
- add support for ChangeLog visualization in package properties window
Entropy/Equo/Server:
- add changelog query support
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3019 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-14 14:42:40 +00:00
lxnay
b9b08b78d4 Entropy/TODO:
- update TODO
Entropy/PackageInterface:
- implement config action, emerge --config hooks now implemented
Entropy/Equo:
- add new command equo config for handling packages needing a pkg_config (emerge --config) callback after install


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3006 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-09 00:03:14 +00:00
lxnay
cb509f5d42 Entropy/TODO:
- update TODO
Entropy/PackageInterface:
- call preinstall step before preremove and postremove on install actions
Entropy/client:
- move repositories.conf to repositories.conf.example
Entropy:
- use /usr/bin/python2 instead of /usr/bin/python as interpreter to avoid Python 3 issues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2996 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-08 12:17:27 +00:00
lxnay
97081b2624 Entropy/EntropyCacher:
- make possible to start/stop the thing
Entropy/EquoInterface:
- generate_cache: stop Cacher before purging


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2986 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 13:23:41 +00:00
lxnay
33caba6c93 Entropy/Equo:
- kill all stale threads the hard way when an exception occured
Entropy/Spritz:
- same as above


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2967 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-30 08:14:41 +00:00
lxnay
a63c1265f6 Entropy:
- append -O to python interpreter args for equo and spritz


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2940 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 09:17:30 +00:00
lxnay
d3580c2ab9 Entropy/Equo:
- always destroy EquoInterface when required at the end of the processing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2925 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:10:36 +00:00
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
78bb31fed8 Entropy/Equo:
- do not use text_configuration module but load EquoInterface instead when caching on exit
- small syntax updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2891 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:47:13 +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
36136c3a72 Entropy/Equo:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2856 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:35 +00:00
lxnay
d4b919f1fa Entropy/TODO:
- update TODO
Entropy/EntropyDatabaseInterface:
- new method retrieveUnusedIdpackages
Entropy/EquoInterface:
- new method unused_packages_test(), self explanatory
Entropy/Equo:
- new command 'unusedpackages', useful to search unused dependencies/packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2842 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 14:10:08 +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
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
a5790ca9df Entropy/Equo:
- fix switchbranch help output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2718 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:24:57 +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
0378c9c0ca Entropy/Equo:
- add support for notice boards
- add support for installed packages database backup/restore


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2522 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:14:44 +00:00
lxnay
76d8d9596c Entropy/TODO:
- update TODO
Entropy/Equo:
- add installed packages database backup/restore tools
Entropy/EquoInterface:
- add backup/restore database helper functions
Entropy/EntropyDatabaseInterface:
- fix getIDPackageFromDownload()
Entropy/entropyTools:
- add compress_file() function (uncompress_file() already present)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2518 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-11 21:11:07 +00:00
lxnay
50f82df28a Entropy/Equo:
- when exception is raised, DO transform the error to unicode instead of ascii


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2495 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 12:03:58 +00:00
lxnay
1d0a07f4df Entropy/Equo:
- complete initial UGC implementation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2351 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-27 20:37:56 +00:00
lxnay
3b425c3b41 Entropy/UGC Interface:
- move UGC package vote range to etpConst['ugc_voterange']
- add voting support to Equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2340 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 13:00:10 +00:00
lxnay
dd33480926 Entropy/ServerInterface:
- initialize_server_database(): fix revision handling on updateProgress
Entropy/Database Interface:
- addPackage(): avoid to have issues with missing revision key in etpData when revision != -1
Entropy/Equo:
- handle SPMError exceptions
Entropy/Equo/rescue:
- filter out broken atoms when running gentoosync


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2335 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:51:24 +00:00
lxnay
b4a124b8d3 Entropy/Equo/UGC:
- add 'add comments' feature to Equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2331 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-25 14:26:34 +00:00
lxnay
c81c375183 Entropy:
- updated TODO
Entropy/UGC Client Interface:
- implement login/logout and first data retrieval function (comments)
- implement Equo interface to Entropy UGC
Entropy/Server Interface:
- handle repository compilator/Portage information per branch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2330 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-22 18:43:24 +00:00
lxnay
350c3cfd30 Entropy/Equo:
- add UGC module
- implement login/logout functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2326 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:54:13 +00:00
lxnay
d1ccbab6ea Entropy/Spritz:
- avoid to install binary packages when a queue is running
Entropy/TODO:
- updated TODO
Entropy/Equo:
- added moo option, can't tell you anything on the feature


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2282 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-21 13:37:55 +00:00
lxnay
3cf8b0a2dc Entropy/Equo:
- avoid raising an exception if text_configuration cannot be imported due to missing /usr/bin/diff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2272 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-17 10:48:09 +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