Commit Graph

240 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 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) 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) 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) 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) 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) 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) 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) 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) 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) 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
(no author) 7dcfbfe555 3 chars are vital
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1454 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-11 22:19:20 +00:00
(no author) fff7b9304c reduce download output string length
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1453 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-11 22:12:05 +00:00
(no author) 8425426669 collect broken libraries even on paths not in LDPATH
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1449 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-11 16:54:05 +00:00
(no author) 413cbef42f libtest must also use /usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1448 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-11 16:29:06 +00:00
(no author) f209cd380a force dbformat_eapi = 1 for live systems
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1440 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-10 13:48:08 +00:00
(no author) a208082d99 fix initramfs configuration
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1436 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-10 09:43:16 +00:00
(no author) ff6ecb80a4 fix grub.conf configuration for kernels in a separate /boot partition
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1435 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-10 09:28:25 +00:00
(no author) 6bbb604854 - create content index only on non-repo databases
- check if /var/db/pkg exists

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1429 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-08 17:06:24 +00:00
(no author) b5f37fed38 - updated TODO
- fixed one small bug handling applet status
- fixed one exception in get_repository_revision() when connection is not avaiable

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1422 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-06 23:59:22 +00:00
(no author) 6f94ebe8f8 do not crash if fetch_advisories raises an exception
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1420 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-06 14:40:59 +00:00
(no author) 1646cd4595 some changes to make the notification applet working
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1414 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-05 21:07:31 +00:00
(no author) 6f22e4674a shorten db update information
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1412 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-05 15:26:17 +00:00
(no author) 142aa75e8a shorten cleaning information
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1411 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-05 15:13:40 +00:00