Commit Graph

36 Commits

Author SHA1 Message Date
Fabio Erculiani
d02d4e9356 [equo] use blocking mode when acquiring the shared lock
This avoids tainting stdout with "please wait" messages
2012-02-15 20:07:33 +01:00
Fabio Erculiani
91dd06b168 [equo] implement shared Entropy Resources locking where required 2012-02-15 19:36:29 +01:00
Fabio Erculiani
fc4452ff0a [entropy] move text_tools module from client/ to entropy package (entropy.cli) 2011-10-18 17:09:48 +02:00
Fabio Erculiani
6fd56e4f81 [equo] when calling validate_credentials() also catch RequestError exception 2011-04-14 18:24:57 +02:00
Fabio Erculiani
9956b4ffeb [equo] ugc: catch AssertionError exceptions generated by DocumentFactory methods 2011-04-10 23:13:59 +02:00
Fabio Erculiani
2aa325560d [equo] migrate to the new Entropy Web Services interface 2011-04-07 10:41:28 +02:00
Fabio Erculiani
5bab482ed9 [equo] avoid race condition when calling Client.shutdown() in finally context 2010-07-21 18:13:18 +02:00
Fabio Erculiani
7dfa627188 [equo/reagent/sulfur] use Client.shutdown() instead of Client.destroy() 2010-03-30 19:32:28 +02:00
Fabio Erculiani
f987640d5a [entropy.client] remove Client.validRepositories, provide Client.repositories() 2010-01-30 18:49:39 +01:00
Fabio Erculiani
40f090310b [entropy.output] rename TextInterface.inputBox into input_box 2010-01-11 18:05:47 +01:00
Fabio Erculiani
41212188f5 [entropy.output] rename TextInterface.askQuestion into ask_question 2010-01-11 17:59:26 +01:00
Fabio Erculiani
2e23fd4019 [equo] fix function call arguments in text_ugc, text_smart 2009-12-29 20:10:13 +01:00
Fabio Erculiani
1597ea2fc4 [equo] some more code cleanup and polishing 2009-12-22 20:29:08 +01:00
Fabio Erculiani
7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani
65d3e813c9 [equo] text_ugc: code style update 2009-11-19 13:37:22 +01:00
Fabio Erculiani
33c005e668 [entropy] fix common idioms 2009-10-05 14:08:34 +02:00
Fabio Erculiani
e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani
1ab0c36510 [equo] improve Python 3.x compatibility 2009-10-04 19:01:48 +02:00
Fabio Erculiani
e126f38290 [equo] improve code, make it more Python 3.x ready 2009-10-03 21:50:31 +02:00
Fabio Erculiani
4c498cec92 [equo] drop unicode() where possible 2009-10-03 20:40:13 +02:00
Fabio Erculiani
71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani
2a7db1965a [entropy] fix OutputInterface.askQuestion answers handling 2009-09-26 09:18:23 +02:00
Fabio Erculiani
2fc1a5980f [equo] fix package files header 2009-09-20 14:44:41 +02:00
Fabio Erculiani
89062bf8f3 [entropy.db] complete API docstring and refactoring work 2009-08-15 22:27:41 +02:00
Fabio Erculiani
cd35df2313 [client.text_ugc] fix UGC documents representation 2009-07-26 09:57:46 +02:00
Fabio Erculiani
ab1296f456 equo ugc, fix small issue with UGC from equo 2009-05-31 16:35:01 +02: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
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
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
038c0761bd Entropy/Equo:
- fails on wrong extended parameters (like --as instead of --ask)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2719 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:33:49 +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
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