Commit Graph

1004 Commits

Author SHA1 Message Date
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
(no author) 05b8c2d980 Entropy:
- add packages.db.repo_updates support to allow adding our custom package moves, like /usr/portage/profiles/updates
  there is no need to update equo client side, everything is already in place


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1498 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-23 15:17:28 +00:00
(no author) 44f5e829b3 Entropy:
- some improvements to SpmInterface
- move extractPkgData to EquoInterface.extract_pkg_metadata

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1497 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-23 14:44:15 +00:00
(no author) efe01088e9 Entropy:
- goodbye portageTools, welcome SpmInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1496 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-23 11:33:32 +00:00
(no author) 3ec1ca7da6 Equo/Entropy:
- check if counter read from the COUNTER entry is valid before accepting it, portageTools.getInstalledPackagesCounters()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1495 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-22 16:13:54 +00:00
(no author) 43a9d057d7 Equo:
- database generate: check for dependency atoms validity before submitting changes
Entropy:
- EquoInterface.get_licenses_to_accept() always returns a dict
updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1494 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-22 16:08:23 +00:00
(no author) a1cc54ec05 Entropy:
- implemented hard disk repositories support yay :-)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1492 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-19 11:39:51 +00:00
(no author) d797d53720 Entropy:
- improve 'You Meant' funcionality by using regular expressions, there's still a lot of room for improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1491 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-19 00:40:42 +00:00
(no author) 6ad06eda65 Entropy:
- add /etc/sabayon-release content to error reports


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1488 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-18 12:13:45 +00:00
(no author) bacee7e241 Equo:
- check for disk space in /var/tmp/entropy before starting the process and warn user about it


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1486 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-18 12:07:02 +00:00
(no author) 506d02bfea Entropy:
- make atomMatch() to match ~app-foo/foo-1.2.3 as stated in Gentoo PMS

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1485 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-18 11:44:22 +00:00
(no author) a26c2c05b3 Entropy:
- since doebuild() is now run in a separate process, there's no need for gc.collect() anymore


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1484 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-18 11:17:11 +00:00
(no author) abe9806c97 Entropy API change:
- do not load SecurityInterface in EquoInterface.Security but create a function called EquoInterface.Security() which returns the instance


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1481 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-17 12:56:09 +00:00
(no author) 35003d4625 - updated TODO
- improved databaseTools.listIdpackageDependencies() speed
- improved databaseTools.listConfigProtectDirectories() speed
- improved databaseTools.searchPackagesByDescription() speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1480 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-17 11:46:25 +00:00
(no author) 1fe93909c8 fix check_package_update() for tagged packages, this makes reinstalling a tagged package in Spritz possible
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1475 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-14 23:13:21 +00:00
(no author) 699dbf5f5e fix a whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1471 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-14 00:09:56 +00:00
(no author) d8afb23ab8 fix a regression in trigger_get_grub_boot_dev()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1469 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-13 23:24:21 +00:00
(no author) 0413e4ec47 fix syncronization with empty queues
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1468 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-13 19:29:58 +00:00
(no author) 3f5a552834 - avoid crashing in text_ui when looking for masking reasons when a database entry is broken
- fix a nasty bug in databaseTools.runTreeUpdatesMoveAction() which caused dev-python/qscintilla-python to become x11-libs/qscintilla


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1464 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-13 10:09:56 +00:00
(no author) a5f1f4694b run content indexing again
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1463 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-13 09:37:23 +00:00
(no author) a37590a287 fixed equo libtest result output
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1462 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-12 21:23:47 +00:00
(no author) 6fe6318a4e - fix possible issues with linux->grub device name conversion
- try to fix a weird issue with writelines() in trigger_remove_boot_grub()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1458 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-12 17:22:28 +00:00