Commit Graph

61 Commits

Author SHA1 Message Date
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 85b16445a0 Entropy/Entropy Notification Applet/Spritz:
- when subclassing entropy.client.interfaces.Client reimplement init_singleton instead of __init__ because the former is now a Singleton


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3163 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:37:00 +00:00
lxnay 3a97fc8c8b Entropy/Client/Interface:
- split Client class into single ones
- deprecated camelCase methods
- remove a few, unused or useless
Entropy/docs:
- update APICHANGES
Entropy/*:
- adapt the code to work with non-deprecated methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3154 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 19:18:27 +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 3df27f7c18 Entropy/FtpInterface (usage):
- raise exceptionTools.ConnectionError when needed and catch it
Entropy/Spritz:
- Equo interface, check if progressLog variable exists


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3099 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-02 12:08:34 +00:00
lxnay aefb63a7a3 Entropy/TODO:
- update TODO
Entropy/EquoInterface/ServerInterface:
- they are now singleton, which is a big leap ahead in terms of ease of use
Entropy/Equo/Server:
- text_query, server_query: adapt code to better with singleton EquoInterface/ServerInterface instances
Entropy/Spritz:
- EquoInterface is now singleton, no need to load a global variable
Entropy/urlFetcher:
- add thread_stop_func, speed_limit, OutputInterface parameters to ease behaviour customization
- rename __setup_proxy (private) to _setup_proxy
- add set_id method, useful for thread identification when running multiple instances of urlFetcher
- close() is now a private method
- added thread_stop_func handling, used to stop fetches from other threads
- commit() is now a private method
- add handle_statistics method, if reimplemented, it's handy for controlling dataflow from other threads
Entropy/entropy.py:
- remove some unused functions imported from outputTools
Entropy/EntropyCacher:
- EntropyCacher is now singleton too
Entropy/MultipleUrlFetcher:
- base class that mimics the behaviour of urlFetcher adding the support for multiple simultaneous downloads
Entropy/entropyTools:
- improve xml_from_dict_extended and dict_from_xml_extended functions (add support for None types)
Entropy/entropy.sh:
- pre-declare public functions (pkg_*)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3078 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-27 17:59:34 +00:00
lxnay d6df167385 Entropy/Clients:
- spawn add_download_stats instead of add_downloads


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3064 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 08:32:39 +00:00
lxnay 4dd6ed5b20 Entropy/Spritz:
- LicenseDialog, change API, make it multithreading-aware


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2975 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-31 15:41:00 +00:00
lxnay 562b4c4bb9 Entropy/Spritz:
- lock UI components during queue processing
- tweak urlFetcher a bit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2828 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 20:48:11 +00:00
lxnay 7aad9d8494 Entropy/Spritz:
- urlFetcher: do not flood the X server (through GTK) with gazillions of redraws


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2827 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 17:38:42 +00:00
lxnay c9f2a293a5 Entropy/Spritz:
- implement sources download here too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2766 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-11 00:05:42 +00:00
lxnay a27888e5d4 Entropy/Spritz:
- add fetch (download) only support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2764 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 17:27:24 +00:00
lxnay 9d311cb5bd Entropy/Spritz:
- effectively split the repository manager client


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2679 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 12:55:02 +00:00
lxnay 6a568bc9ed Entropy/UGC/Equo/Spritz:
- do not show the exception output when spawning UGC.add_downloads()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2655 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 17:30:32 +00:00
lxnay abce4c417e Entropy/UGC/Equo/Spritz:
- do not crash when running add_downloads
- run add_downloads in background


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2652 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 16:15:41 +00:00
lxnay de9cb17e9e Entropy/PackageInterface:
- remove add_download() from fetch_file_on_mirrors()
Entropy/Equo/Spritz:
- add add_downloads() (from UGC interface) after the fetch process
Entropy/SocketHostInterface/Repository Daemon:
- add a new command that let client register all the downloaded packages at once


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2646 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 22:24:39 +00:00
lxnay 25eb415ec3 Entropy/Spritz:
- if --debug make UGC client interface verbose
- fix stars column background color


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2587 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-29 10:26:21 +00:00
lxnay ccbe159e82 Entropy/Spritz:
- UGC: implement item properties (show), item submit (add), item deletion (remove)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2384 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-15 16:26:41 +00:00
lxnay 51fb1086d9 Entropy/Spritz:
- implement askQuestion and inputBox methods inherited from TextInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2322 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:11:46 +00:00
lxnay 8c07cc2301 Entropy/Spritz:
- complete the implementation of the Package Masking Interface

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2067 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 11:55:41 +00:00
lxnay 56ce481646 Entropy/EquoInterface:
- add some helper functions to allow easy masked packages management (unmasking function)
- fix an issue regarding wrong SQL syntax (thanks to Jooooooooooooost)
Entropy/Spritz:
- preliminary implementation of Masked Packages management


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2062 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-31 23:19:29 +00:00
lxnay 1252ed7802 Entropy/Spritz:
- implement the 'Abort Queue' button to stop queue processing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2032 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 22:51:35 +00:00
lxnay ccf0e063ee Entropy/Spritz:
- add 'Skip Mirror' button


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2030 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 16:42:29 +00:00
lxnay 3e55be2340 Entropy/Spritz:
- fix typo in function name cleanMarkupSting => renamed to => cleanMarkupString
- handle progress bar updates correctly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2019 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 10:45:45 +00:00
lxnay f82239c989 Entropy/Spritz:
- move i18n support to entropy, syncing with previous translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1947 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-19 20:12:14 +00:00
lxnay 091b7ed33a Entropy/Spritz:
- greatly improved speed on queues, popup menus, dependencies calculation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1894 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-01 12:29:33 +00:00
lxnay 0e6e70b44a removing 0.14.15.8 tag
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1884 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-30 09:20:24 +00:00
lxnay edb7b7cf9b Entropy/Spritz:
- fix a small problem with early (pre-EquoInterface) messages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1856 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:28:11 +00:00
lxnay edaf556e74 Spritz:
- porting fixes from entropy 0.13.2
- more work on the ServerInterface refactoring


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1555 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-03 19:29:51 +00:00
lxnay d1567bdbde Entropy/Equo/Spritz:
- made package conflicts removal non critical anymore, they are now removed through the installation process


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1529 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 16:32:25 +00:00
(no author) bb9b74e95c Entropy:
- second big commit for the new Socket Interface:
  - added socket.conf file
  - moved configuration parameters to it
  - improved interface reliability (not yet complete)
  - added a test client
Spritz:
- one small irrelevant fix
Entropy:
- moved paren_normalize class to PortageInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1508 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 23:26:42 +00:00
(no author) f29b0354b1 force xcache even on live system when using Spritz
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1438 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-10 13:33:31 +00:00
(no author) ef76b07a4f Spritz:
- move spritz constants to a separate file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1360 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-02 15:30:52 +00:00
(no author) d1bce6b0c6 add a FIXME
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1345 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-29 22:48:43 +00:00
(no author) c3be67da6f - fixed repositories management in Spritz
- added package license handling in Spritz
- added package information button
- fixed a possible bug which caused spritz to print some weird stuff
- beautified status console


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1272 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-22 01:47:33 +00:00
(no author) 1563e8df1e Spritz:
- some huge bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1267 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-20 22:22:44 +00:00
(no author) 3ccc151e51 Entropy:
- Cache management completely rewritten, now Entropy takes a barely minimum amount of memory and is much faster on cache hits.
Please note that some areas need to be improved even more, especially when dealing with cache cleanups


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1182 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-10 23:44:02 +00:00
(no author) 745b46aade - Spritz:
- reworked action menu to allow reinstall, remove, purge, update, install, undo reinstall, undo remove, undo purge, undo update, undo install


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1100 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-27 16:43:39 +00:00
(no author) 0db01aff86 - entropy removed getDependencyTreeCache and global matchFilter which caused issues on a threaded environment
- matchFilter substituted with a sane implementation matchContainer class
- fixed Spritz install/removal queues - removal packages execution can crash due to threading issues, don't count match on it yet


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1069 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-19 09:58:18 +00:00
(no author) 250f257795 - added client database checksum validation to available packages calculation
- fixed and test packages removal


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1044 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-13 23:39:37 +00:00
(no author) 504d2bd3a0 - fixed a small graphical glitch with downloadSize in text_ui.py
- more work on spritz polishing and entropy implementation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1038 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-13 13:34:02 +00:00
(no author) f34bdff9fa - substituted TextView widget with vte.Terminal which allows spritz to redirect portage.doebuild output to it
- further development on package queue execution
NOTE: you will need vte compiled with python USE flag from now on


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1036 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-12 15:38:27 +00:00
(no author) 0d1b9f4274 - started to implement queue actions
- fixed two issues in the server part whose caused client database to be erroneously opened and tree updates to run on an empty repository database


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1032 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-11 19:30:29 +00:00
(no author) 7d445f4a36 - spritz: package categories code almost implemented
- entropy: added some faster search function to the database interface
- entropy: implemented some helpers for GUI apps and added some caching here and there


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-08 16:34:15 +00:00
(no author) e4879d65fa - added EquoInterface.calculate_available_packages() that lists packages available in repos but not installed
- added database function retrieveKeySlot which returns (pkgkey,slot) for the selected idpackage using only SQL (faster)
- changed output of EquoInterface.calculate_world_updates(), removed not neeed atom retrieval
- fixed other functions accordingly to the change above
- get all the Spritz Packages radio options working (you need entropy from SVN, packages queueing doesn't work yet)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1021 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-07 19:08:30 +00:00
(no author) b481d9407e - when installing a package, datecreation will be updated accordingly to the system date
- fixed few things here and there
- started to work on spritz packages search


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@994 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-05 00:49:18 +00:00
(no author) ad3faba1eb - fixed spritz repositories implementation
- fixed some glitches in equo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@993 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-04 19:04:10 +00:00
(no author) c3c7906e0a - totally rewritten Entropy modules and interface
the biggest commit, ever

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@982 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-03 17:48:57 +00:00