Commit Graph

389 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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)
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)
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)
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)
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)
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)
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)
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)
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)
48a95851b5 create vacuum() function
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1452 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-11 19:30:19 +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)
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)
ff318f3037 refine cache validation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1428 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-08 09:03:14 +00:00
(no author)
0caa761c4e fix FtpInterface initialization
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1421 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-06 21:48:17 +00:00
(no author)
55a742e015 openClientDatabase inside clientUpdatePackagesData() should always have OutputInterface = self
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1405 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-05 00:51:32 +00:00
(no author)
75955a9019 fix binutilsswitch trigger
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1404 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 23:32:17 +00:00
(no author)
8291c16634 do not run databaseStructureUpdates() on a livecd system
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1403 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 19:37:50 +00:00
(no author)
f75cfb0839 run databaseStructureUpdates() also in initializeDatabase()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1394 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 14:23:59 +00:00
(no author)
98c0627df6 add an extra check to avoid running databaseStructureUpdates() on an empty database
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1393 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 14:22:34 +00:00
(no author)
f00296ffe6 fix if condition for triggering databaseStructureUpdates()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1387 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 11:40:39 +00:00
(no author)
f11cbf7032 reorganize stuff in addPackage
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1385 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 10:27:51 +00:00
(no author)
b9a1b2c74b switch and with or
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1384 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 10:11:53 +00:00
(no author)
f3ff9aa8d6 improved database query speed by moving all the structural updates into one function ran once
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1383 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-04 10:10:24 +00:00
(no author)
a252f5633d Entropy:
- implemented entropyTools.spawnFunction
- greatly improved memory usage during package install, reserved memory usage reduced by a 65%


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1365 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-03 00:36:56 +00:00
(no author)
f89afe4055 remove stale comment
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1363 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-02 17:21:08 +00:00
(no author)
ea6b727767 reduce memory consumption even more
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1362 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-02 17:20:45 +00:00
(no author)
c54e25ecd0 Entropy:
- created getTriggerInfo() to reduce memory consumption
- reduced memory consumption during the installation process


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1361 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-02 17:15:04 +00:00
(no author)
a9f3b8980d added support for a light, updates only, RSS
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1317 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-27 10:46:38 +00:00
(no author)
3b3dec1cc6 eventually solve license retrieval encoding
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1313 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-26 18:54:41 +00:00
(no author)
00d675a918 - fix equo information output about the status of a package
- make the kernel to get a tag too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1310 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-26 14:47:13 +00:00
(no author)
d929087365 fix buffer pickling
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1308 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-26 12:16:31 +00:00
(no author)
68114ab51e improve retrieveLicenseText reliability
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1306 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-26 11:27:46 +00:00
(no author)
3157b9fb08 trying to cope with license encoding issues
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1305 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-26 11:12:48 +00:00
(no author)
9c2efe45d4 - handle EOFError on the accept license menu
- properly extract license text


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1304 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-26 11:05:10 +00:00
(no author)
a9f805782f filter crap from shell on equo install
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1300 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-25 19:39:28 +00:00