Commit Graph

86 Commits

Author SHA1 Message Date
Fabio Erculiani fb8f724fa0 [equo] trivial update 2009-08-06 15:47:31 +02:00
Fabio Erculiani edaa63705b [entropy.server/equo.community] Remove md5check tool, add pkgtest (which does the same plus QA tests) 2009-07-28 14:45:41 +02:00
Fabio Erculiani 17e86bb06f [equo] make equo "not enough parameters" string translatable 2009-07-12 21:38:16 +02:00
Fabio Erculiani bbdde60809 [entropy.const/entropy.qa/equo/sulfur] make ErrorReportInterface post_url arg. mandatory
In the aim of removing all the sabayon-centric settings from the "entropy"
library, error report via http post url has been moved outside it.
2009-06-22 04:09:55 +02:00
Fabio Erculiani 371b3f8041 [client.equo/client.text_query] implement new query command
Implement new equo query command for listing repository packages
$ equo query list available <repository>
2009-06-18 15:42:16 +02:00
Vincenzo Di Massa 3181a35360 [client.equo/entropy.output] --help improved: now you can type
$ equo --help query
and
$ equo --help query belongs
and so on
2009-06-18 15:07:19 +02:00
Fabio Erculiani b83de70092 make equo using the new UGC error reporting interface 2009-05-31 18:10:38 +02:00
Fabio Erculiani 5b68fb38ee equo: remove beep 2009-05-31 11:16:28 +02:00
Fabio Erculiani 6de07bc92f equo: reset cache before killing EntropyCacher 2009-05-26 10:55:00 +02:00
Fabio Erculiani 290d806c36 revert interpreter to /usr/bin/python instead of python2 due to issues
with Gentoo's python2 symlink not being updated properly
2009-05-25 21:07:30 +02:00
Fabio Erculiani 94486046b6 equo: add beep at the end of commands 2009-05-20 16:39:06 +02:00
Fabio Erculiani df14576b56 equo: add "equo upgrade" option (alias for equo world) 2009-05-16 20:40:34 +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 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 77fc3e30c8 equo: code style update 2009-05-14 08:43:07 +02:00
Fabio Erculiani 567840dc3b equo: handle SystemError exceptions too 2009-05-14 08:42:11 +02:00
Fabio Erculiani edc03066e7 equo: small code style update 2009-05-14 08:40:34 +02:00
Fabio Erculiani 77f142ce6f equo: make possible to import equo.py as module 2009-05-12 16:57:26 +02:00
Fabio Erculiani f7f480569b entropy server, community repos: add --deps option to repo command
This makes possibile to pull in all the dependencies of packages
selected through 'repo move/copy'.
2009-05-07 14:16:35 +02:00
Fabio Erculiani 67181d308e 'equo help' support, thanks Ian Whyman for the suggestion 2009-04-27 17:28:19 +02:00
Fabio Erculiani c69f79563f equo: export 'equo database counters' to community tool for clarity 2009-04-25 22:05:27 +02:00
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