Commit Graph

340 Commits

Author SHA1 Message Date
lxnay
ab8537c65a Entropy/SocketHostInterface:
- change default SSL port to 1027
- add killall() function to close some threads correctly
Entropy/entropy-repository-daemon example:
- update it to support SSL and non-SSL connections at the same time


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2189 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-29 17:40:38 +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
c60db16af9 Entropy:
- do not overwrite old pid when checking


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2165 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-20 08:57:43 +00:00
lxnay
be57888cd5 Entropy:
- fix PID handling, especially when calling const_setupEntropyPid() directly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2163 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-20 08:46:55 +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
623bc34bc6 Entropy/EAPI3 Repository Services:
- implement database setup lock file, to make client wait a little bit before giving up and switching to EAPI2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2152 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-16 11:11:56 +00:00
lxnay
214b159879 Entropy/Equo:
- add a way to disable downgrades triggered by injected packages (added from SPM) owning revision 9999


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2133 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 14:48:35 +00:00
lxnay
40f78d159f Entropy:
- fix reading non-ascii characters from equo.conf when filling etpConst['configprotect'] and etpConst['configprotectmask']


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2107 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-04 10:13:32 +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
ef71828ffd Entropy:
- fix bugzilla #430
- fix EquoInterface.unmask_package()
- implement live package masking/unmasking support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2066 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 11:50:53 +00:00
lxnay
7c974b9078 Entropy/Permissions:
- set proper permissions to the pid file
- ignore OSError exceptions on run_sync() when trying to setup database file permissions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2046 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 11:08:48 +00:00
lxnay
36d7e81b15 Entropy:
- make nice level configurable in entropy.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 11:26:41 +00:00
lxnay
7c20a83df6 Entropy/Socket Interface:
- allow to enable/disable stdout logging
- make socketLog loglevel configurable through etpConst


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2007 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:18:43 +00:00
lxnay
a5e21e1965 Entropy/Socket Interface:
- add IP blacklisting support
- fix a few bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2006 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:05:33 +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
f0f1e48249 Entropy/Socket Interface:
- switch default port from 999 to 1026 (unprivileged)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1981 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:58:39 +00:00
lxnay
9e5b8da134 Entropy/Repository Services:
- implement database locks handling for the EAPI=3 repository server
- some misc fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1978 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:29:06 +00:00
lxnay
3e74e28cf1 Entropy/EquoInterface/EAPI=3 support:
- improve EAPI1,2 experience when downloading a repository database
- improve EAPI=3 performance and completeness (not yet done)
- switch default EAPI to 3 (from 2)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1977 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 08:24:50 +00:00
lxnay
aa06ab0e2b Entropy/SocketHostInterface:
- rewrite interface TCP data structure
- more work on EAPI=3
- some bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1976 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-26 12:30:55 +00:00
lxnay
0031249040 Entropy/Repository Server Interface:
- more work on it
- general improvements on SocketHostInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1975 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-26 01:00:02 +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
88aa8c83a6 Entropy/ServerInterface:
- also upload /etc/make.conf && make.profile and all the package.* filles
Entropy:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1964 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-24 08:06:09 +00:00
lxnay
ff64dd6c6c Entropy/ServerInterface/CommunityRepositories:
- started to interface equo to the new Community Repositories interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1961 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 18:49:00 +00:00
lxnay
cfe87659ea Entropy:
- fix some possible encoding issues on QAInterface.content_test()
- preparing to implement the Community Repositories interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1959 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 15:34:53 +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
41a562da30 Entropy/i18n:
- completed text_configuration.py i18n support
Entropy:
- misc bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1949 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 00:20:29 +00:00
lxnay
b6ee2ba025 Entropy:
- move etpDatabase to entropy.py and rename it to EntropyDatabaseInterface
- say goodbye to databaseTools
- update other areas accordigly
Equo:
- add i18n support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1943 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-19 14:13:03 +00:00
lxnay
306552d004 Entropy:
- updated TODO
- some slight speed improvements here and there
- allow to configure activator packages expiration days in ENV by setting ETP_EXPIRATION_DAYS


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1937 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-16 07:28:45 +00:00
lxnay
24f447e45e Entropy:
- introduce preliminary priority management infrastructure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1918 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-05 18:02:53 +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
b5e98a0b8e Entropy/EquoInterface/etpDatabase:
- removed 'info cache' from etpDatabase, there is no need to have an on-disk cache when sqlite3 is faster
- updated EquoInterface accordingly
- improved reliability when running multiple Entropy instances
Entropy/Spritz:
- fixed some minor bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1890 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-01 00:01:29 +00:00
lxnay
a9b4a91676 Entropy/ServerInterface/EquoInterface:
- reworked categories description support to use /usr/portage metadata.xml files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1874 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 23:09:23 +00:00
lxnay
173ad4ef43 Entropy/ServerInterface/etpDatabase:
- implemented categories description code, server-side


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1873 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 18:19:07 +00:00
lxnay
a7512164d5 Entropy:
- run etpDatabase.fixKdeDepStrings() only on dbname != 'generic'


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1863 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 20:38:22 +00:00
lxnay
22b180d046 Entropy/EquoInterface:
- add dep strings auto updates infrastructure (starting with bad KDE dep strings)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1861 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 20:19:00 +00:00
lxnay
6b7d89702d Entropy/EquoInterface:
- avoid to leak on AUFS/UNIONFS


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1853 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:15:08 +00:00
lxnay
c66a0b231a whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1852 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:12:34 +00:00
lxnay
48348bda5f whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1851 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:05:14 +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
a96076f3e5 Entropy/EquoInterface/Spritz:
- avoid running etpDatabase.idpakageValidator() for client db
- do not crash when it's impossible to translate a device name to a grub one
- Spritz: do not crash if the application icon can't be loaded


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1829 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-22 11:35:03 +00:00
lxnay
2555568efc Entropy/EquoInterface:
- avoid showing multiple files owning the same source when using FileUpdatesInterface class


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1826 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 18:47:47 +00:00
lxnay
f12010bdf8 Entropy:
- add more indexes to speed up install/removal
- fix a small type issue with treeupdates actions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1807 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-18 21:58:25 +00:00
lxnay
173e141f5b Entropy/EquoInterface:
- fix treeupdates on multi-repo environments

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1786 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 19:08:21 +00:00
lxnay
a42eb6af9b testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1784 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 18:36:36 +00:00
lxnay
475ba3de69 Entropy/ServerInterface:
- run treeupdates server-side for every opened repository


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1772 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:02:16 +00:00
lxnay
9f229efe9b Entropy/Database/EquoInterface:
- implemented type column in dependencies table to support future *DEPEND split


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1723 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-14 00:36:02 +00:00
lxnay
d6423b0c80 Entropy/ServerInterface:
- toggle_repository(): when switching repos, reload settings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1712 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 13:15:51 +00:00
lxnay
31a3cc5161 fix repository| string server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1702 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 18:24:15 +00:00
lxnay
9ffddd7cb5 Entropy/ServerInterface:
- test counter trashing trying to get scan_package_changes() working better with multi-repos

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1700 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 18:07:28 +00:00