Commit Graph

336 Commits

Author SHA1 Message Date
lxnay
8553d11794 Entropy/entropyTools:
- improve remove_usedeps()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2482 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 17:43:08 +00:00
lxnay
25836b46b7 Entropy/entropyTools:
- add a function to truncate a file till its first newline char


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2450 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-03 01:56:42 +00:00
lxnay
149c1ca5a2 Entropy/Portage:
- add EAPI2 support (entropyTools)
Entropy/atomMatch:
- add support for matching USE flags and Portage EAPI2 syntax


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2445 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-30 11:41:33 +00:00
lxnay
6380f2d8ec Entropy/entropyTools:
- fix issues with xgettext


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2443 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-30 10:08:41 +00:00
lxnay
ab1a96446b Entropy/entropyTools:
- dict_from_xml(): make it working for empty strings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2435 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-29 19:50:15 +00:00
lxnay
578b5080b1 Entropy/entropyTools:
- improve parallelTask class by storing the function result into self.result


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2416 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-24 13:17:17 +00:00
lxnay
836eadc822 Entropy/entropyTools:
- add functions useful to verify if a file is an image (supported png, jpeg, bmp, gif)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2402 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-18 08:49:07 +00:00
lxnay
046bcd66ee Entropy/entropyTools:
- parallelTask: make nuke() exception configurable


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2398 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-17 13:03:07 +00:00
lxnay
bc52cdeb02 Entropy/entropyTools:
- add kill method to parallelTask class


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2380 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-15 16:21:46 +00:00
lxnay
6e2bd52bb9 Entropy/entropyTools:
- removePackageOperators(): avoid crashing with malformed atom strings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2315 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:29:08 +00:00
lxnay
5a4c0f83da Entropy/entropyTools:
- compareVersions() do not raise an exception when ver1 or ver2 are None


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2313 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-26 07:22:05 +00:00
lxnay
b79ea7d011 Entropy/entropyTools:
- xml_from_dict(): only support basestring
Entropy/DistributionUGCCommands:
- docmd_register_stream(): fix new_stream_path


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2312 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:43:05 +00:00
lxnay
8d25ac956a Entropy/entropyTools:
- added handy functions to stream a dict to xml and vice versa
Entropy/UGCClientInterface:
- break API in favour of a more scalable UGC handling (providing title, desc, keywords support to every document in database)
- reflect changes in UGC Server interface
- implement file send (untested yet)
Entropy/DistributionUGCCommands:
- implement streamed files handling
- API break, reflect changes in UGC Database interface
Entropy/DistributionUGCInterface:
- break SQL schema, add entropy_docs_keywords table
- update entropy_docs related methods to support keywords, title and description (the latter when needed)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2307 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 12:16:57 +00:00
lxnay
b571cdad66 Entropy/entropyTools:
- fix getRepositorySettings()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2253 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-06 17:22:50 +00:00
lxnay
1b03c09179 Entropy/SSL Services:
- add ssl_port parameter to etpRepositories, making it configurable
- update entropyTools.saveRepositorySettings() accordingly
Entropy/constants:
- add CA.crt and CA.key constants that will be used by the new SSL code in SocketHostInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2215 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-02 12:51:49 +00:00
lxnay
fc989eab38 Entropy/PortageInterface:
- update USE flag handling to new schemas
Entropy/SocketHostInterface:
- update killall() to work better when killing threads
Entropy/Repository Interface:
- update killall() here too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2190 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-30 07:49:59 +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
ccaef70199 Entropy:
- move proxy initialization to entropyTools.add_proxy_opener()
- fix writeParameterToFile() when disabling items
EquoInterface:
- update proxy setup using entropyTools.add_proxy_opener()
- add support for _basic_ proxy username and password authentication
Entropy/Spritz:
- export proxy username and password settings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2160 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-19 18:35:28 +00:00
lxnay
40427fec0c Entropy/FtpInterface:
- raise new exception FtpError on login issues
Entropy/exceptionTools:
- add FtpError exception class
Entropy/SocketHostInterface:
- spawn every command call in a different process to avoid Python to eat memory like cookies (and get fat like a pig)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2140 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-13 19:48:55 +00:00
lxnay
d09b55decd Entropy/RepoInterface:
- fix internet connection check


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2096 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 09:33:34 +00:00
lxnay
59d1f75019 Entropy/entropyTools:
- improve writeParameterToFile() by using regexps


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2092 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 00:29:13 +00:00
lxnay
36e568f247 Entropy:
- implement a new entropyTools function to write settings to config files: writeParameterToFile()
- some misc updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2079 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-02 09:09:38 +00:00
lxnay
74f54bce5c Entropy/UTF-8:
- fix entropyTools.countdown() to work with UTF-8

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2076 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 16:40:17 +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
f616701f9d Entropy/Socket Interface:
- save exceptions into the log file too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2012 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:06:05 +00:00
lxnay
769bfe75a2 Entropy:
- add automatic --debug option handling

Entropy/Repository Service:
- handle sqlite threads correctly
- some misc fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1998 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 16:29:13 +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
95a8cf4dd1 Entropy/entropyTools:
- do not crash on is_elf_file()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1957 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 20:35:22 +00:00
lxnay
b071868f01 Entropy:
- add QAInterface where all the QA functions will be placed
- improve performances of libraries_test()
- rework libraries_test() to be more high level
- lots of bug fixes and some new functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1952 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 16:10:51 +00:00
lxnay
51647a333f Entropy:
- adding getYear() function to entropyTools


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1940 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-18 18:34:17 +00:00
lxnay
8f6625bf22 Entropy:
- started to wrap Entropy messages adding i18n support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1939 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-16 14:21:16 +00:00
lxnay
d137e6384f Entropy/EquoInterface:
- handle EOF issues while unpacking broken environment.bz2
- make bytesIntoHuman correctly handle bytes < 1024
- some minor changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1931 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-13 13:26:29 +00:00
lxnay
bbafc20b24 Entropy:
- if tarfile module is not available, unse old tar.bz2 uncompress function
- do not use os.system() to spawn fixpackages but use portage library directly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1924 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-06 18:08:05 +00:00
lxnay
3d2459de30 Entropy:
- fix const_setup_perms(), didn't chmod properly
- improve system reliability by checking if another instance is running before starting critical tasks
- some cleanups on the notification applet


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1910 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-03 09:13:41 +00:00
lxnay
278cc75e14 entropy 0.14.15.5
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1854 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:18:13 +00:00
lxnay
a1ba4d0021 Entropy:
- use stat.ST* instead of mean list indexes
- move entropyTools.islive() to entropyConstants keeping compatibility
- make const_setup_perms() more gentle with overlayed filesystems


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1850 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:01:38 +00:00
lxnay
4fc75242b2 Entropy/EquoInterface/Spritz:
- Spritz: a lot of misc bug fixes and graphical improvements
- added a new item to etpRepositories to ease the work of EquoInterface.addRepository()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1844 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-23 18:58:47 +00:00
lxnay
a95bef8fe4 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1780 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 17:01:59 +00:00
lxnay
d904e561f1 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1779 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 16:52:30 +00:00
lxnay
74e3c65a32 close files in md5sum_directory()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1777 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:56:35 +00:00
lxnay
b54fd3bc98 Entropy:
- added fakeoutfile, fakeinfile classes to prepare portage.doebuild() logging
- improved Entropy idpackageValidator speed by 1000% (by adding a SQL index on keywords), this improved world updates calculation speed by a big 1000%
- misc updates and fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1721 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-13 19:29:30 +00:00
lxnay
f64be59de2 Entropy:
- make pychecker more happy


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1689 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 10:17:19 +00:00
lxnay
28b1863245 Entropy/Database:
- alter needed table adding ELF class information, this shouldn't break anything outside

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1631 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 12:10:45 +00:00
lxnay
5ba40524c5 Entropy/ServerInterface:
- improved code reliability on the FtpInterface
- code cleanup
- added more output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1570 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 12:36:45 +00:00
lxnay
7f21695a87 Entropy/Server Interface:
- updated TODO
- activator database management code ported (NOT TESTED), packages code on the way


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1563 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-07 16:55:58 +00:00
lxnay
3dc029ee50 Entropy/Server Interface:
- morning work on the Server Interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1557 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-04 11:45:28 +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
a3951cbb4f Entropy:
- if compareVersions fails, raise a detailed exception to allow debugging


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1537 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 10:23:24 +00:00
lxnay
0e51cc635b Entropy:
- avoid to crash when compareVersions finds wrong version strings
- fix removeconflict_step()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1536 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 10:04:48 +00:00
lxnay
a592308c79 Entropy:
- Socket Interface: implemented pluggable authentication modules support (90% done)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1535 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-29 17:30:43 +00:00