Commit Graph

4725 Commits

Author SHA1 Message Date
lxnay 158a25311c Entropy/FtpInterface:
- add some output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1568 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 12:20:52 +00:00
lxnay 5ce932ea43 Entropy:
- allow subclasses on various interfaces


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1567 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 12:14:59 +00:00
lxnay aaa13b8a7b Entropy/Server Interface:
- complete code migration from activatorTools.py to entropy.py
let the testing begins


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1566 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 11:04:24 +00:00
lxnay 79b258cc91 Entropy/Server Interface:
- moved reagent sync functions to ServerMirrorsInterface
- removed activatorTools to server_activator.py
svn ci -m 

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1565 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 08:45:23 +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 c13b695498 - updated TODO
Entropy/Server Interface:
- more work on activator code migration


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1562 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-06 23:48:40 +00:00
lxnay 9e161d2078 Entropy/Server Interface:
- started to migrate activator code creating ServerMirrorsInterface
- fixed a typo in conf/packages/packages.db.repo_updates.example
- fixed some stuff in server_reagent.py
ACTIVATOR IS CURRENTLY BROKEN


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1561 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-06 18:41:17 +00:00
lxnay 18baa11a8d Entropy/Server Interface:
- daily work on the code migration


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1560 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-05 17:06:20 +00:00
lxnay ceb50912f7 Entropy/Server Interface:
- nightly code updates
MIGRATION IS NOT DONE YET


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1559 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-05 00:10:33 +00:00
lxnay 5d437be9aa - updated TODO
- fix etpDatabase.addPackage()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1558 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-04 13:55:40 +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 56b0cf8d90 Entropy Server:
- started to move and mess things around - DO NOT USE SERVER SIDE CODE FROM SVN
- reagent and activator WILL BE BROKEN FOR A WHILE


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1553 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-02 16:05:56 +00:00
lxnay 04abc55d30 Entropy:
- moved etpSQLInit and etpSQLInitDestroyAll to etpConst
Entropy/Socket Interface:
- added connection timeout support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1549 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-01 13:48:13 +00:00
lxnay 93661dc636 Entropy/Socket Interface:
- added 'help' command


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1548 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-01 12:49:15 +00:00
lxnay 004974caba Entropy/Socket Interface:
- implemented pluggable commands support (moved builtin commands into a dedicated class)
- implemented the ability to disable commands from socket.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1546 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-31 17:45:20 +00:00
lxnay 5a27ed93d6 Entropy/Socket Interface:
- implemented SSL support, shipping example key and certificate
  now transmitted data between client and server is completely and transparently encrypted


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1545 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-31 13:15:57 +00:00
lxnay c8a0fdaa96 create unpack dir and work dir if not found
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1544 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 22:07:12 +00:00
lxnay b20bdca7bb create unpack dir and work dir if not found
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1543 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 22:05:46 +00:00
lxnay 259b798d65 create unpack dir and work dir if not found
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1542 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 22:04:42 +00:00
lxnay 99c2c3074b Entropy/Socket Interface:
- login passwords are now hidden in both logs and daemon output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1541 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 21:29:26 +00:00
lxnay df8f4a26fc Entropy/Socket Interface:
- added maximum number of connections limit support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1540 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 17:40:38 +00:00
lxnay 18d31b59cf Entropy:
- Socket Interface: reordered and eased SocketHostInterface initialization

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1539 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 15:07:29 +00:00
lxnay efd2843a50 Entropy:
- Socket Interface: implemented shadow and md5 authentication method

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1538 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 14:49:22 +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
lxnay e71da6ad32 Entropy:
- threat world update cache with empty_deps=True correctly

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1534 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-29 09:06:39 +00:00
lxnay 37b003e4a5 Entropy:
- well ok print WTF is not welcome


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1533 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 17:41:47 +00:00
lxnay 998cf30edd Entropy/Equo/Spritz:
- do not trash world cache when removing a package, scan, remove, and dump again ahah
I LOVE YOUUUUUUU


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1532 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 17:41:17 +00:00
lxnay e56513099d Entropy/Equo/Spritz:
- update world cache when installing a package instead of trashing it every time
  this made spritz faster and less tedious for users


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1531 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 17:28:47 +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
lxnay c1e8f26720 Entropy:
- Socket Interface:
  - implemented sessions timeouts collector (I like calling it GARBAGE collector), each session has now a configurable TTL
  - added 'alive' command to see if a session is still alive


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1528 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 13:32:14 +00:00
lxnay 5d4235fc48 Entropy:
- updated todo
 - improved directory permissions creation on EquoInterface.__move_image_to_system()
Notification applet:
 - imrproved reliability and support to the new directory permissions
 - fixed some graphical glitches


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1525 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 12:01:23 +00:00
lxnay dd59c1b146 Entropy/Equo:
- Socket Interface:
  - completed termination strings
  - completed the basic structure and protocol specifications
- Database backend:
  - removed useless indexes
  - implemented useful indexes
  - improved queries speed (whose make dependencies calculation faster)
  - implemented tables automigration to INTEGER PRIMARY KEY AUTOINCREMENT to allow future repositories differential updates
- Entropy as user:
  - made equo update possible to be run for users in 'entropy' group, this will allow to have a powerful GUI notification applet
- improved repositories synchronization speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1521 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-27 20:06:34 +00:00
lxnay 1fcc98854c Entropy:
- reimplemented the Socket Interface using SocketServer framework


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1520 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-27 08:19:06 +00:00
lxnay c914aadcea Entropy:
- lots of bug fixes
- implemented entropy directories GID and permissions configuration
- improved Socket Interface (not yet done)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1519 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-26 09:40:54 +00:00
(no author) b55728f7be Entropy:
- Socket Interface: returned objects are now serialized


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1512 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-25 11:59:31 +00:00
(no author) f1548fe71a Entropy:
- updated TODO
- some slight changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1510 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-25 09:07:49 +00:00
(no author) 0efbc8ea27 Entropy:
- fixed sqlite IntegrityError trapping in etpDatabase.addPackage()
- third big commit for the Socket Interface, adding sessions management, changed protocol


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1509 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-25 08:33:54 +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) 13cafe6e79 Entropy:
- beautify PortageInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1507 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 17:49:01 +00:00
(no author) 78090aed65 Entropy:
- entropyConstants: make pychecker happy


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1506 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 17:31:19 +00:00
(no author) cc328ec88f Entropy:
- get rid of db* global variables and move them to etpConst['spm']['xpak_entries']

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1505 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 17:27:54 +00:00
(no author) 4221595198 Entropy:
- modularized entropyConstants.initConfig_entropyConstants()
- added the ability to disable PID handling through sys.argv
- updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1504 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 17:06:27 +00:00
(no author) 3356a3fc75 Entropy:
- Socket Interface: export server settings to socket.conf
updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1503 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 13:21:05 +00:00
(no author) 62d5663194 Entropy:
- remove caching for critical search functions, they may cause spritz to fail in certain cases


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1502 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 12:18:52 +00:00
(no author) 8464b11ac9 Entropy:
- fix an issue in EquoInterface.get_meant_packages() causing equo to crash when atom contains *

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1501 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 10:40:26 +00:00
(no author) ddcbfbbcb1 Entropy:
- added a preliminary entropy daemon (ATTENTION: NO SECURITY POLICIES YET, DO NOT USE IT)
- fixed an issue in PortageInterface.refill_counter when no counters are found


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1500 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-24 10:36:20 +00:00
(no author) 92b17c63b7 Entropy:
- updated TODO
- implemented preliminary SocketHostInterface which can be used to build daemon applications
- removed logTools.py and moved LogFile to entropy.py
more will come :-)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1499 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-23 17:52:42 +00:00