Commit Graph

310 Commits

Author SHA1 Message Date
(no author)
ac39a31e67 create counters table if it does not exist
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1197 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-13 11:45:24 +00:00
(no author)
899ae6095f whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1196 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-13 10:33:35 +00:00
(no author)
b7737c2d18 - added equo post install trigger
- solved contentDiff bad unicode strings issue


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1193 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-13 09:54:10 +00:00
(no author)
936441fc60 added metadata decompression support to the server interface, disabled by default and controlled by an activator.conf option
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1192 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-13 08:57:26 +00:00
(no author)
b3fd61c372 - updated TODO
- bumped EAPI to 2
- added content table compression/decompression functions for future migration
- some bug fixes and indentation updates
- added automatic content extraction if new compressed table is found
note: activator does not have the content compression feature enabled yet, for backward compatibility reasons


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1191 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-13 00:34:22 +00:00
(no author)
15e65bf53f check if dir exists before iterating
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1189 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-12 10:08:56 +00:00
(no author)
1495a997db add branch operator support in isCounterAvailable() and listAllCounters()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1188 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-12 10:07:18 +00:00
(no author)
a078677a68 reorganized caching directories
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1187 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-12 09:35:47 +00:00
(no author)
1e3dacb33b - added helper utility islive() in entropyTools
- added a new column to the counters table
- some code cleanup


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1186 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-12 00:05:40 +00:00
(no author)
4b13f13a84 - correctly handle atom matching on databases with multiple branches
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1185 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-11 22:57:11 +00:00
(no author)
84cbf8b409 improved caching validation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1183 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-11 17:47:35 +00:00
(no author)
3ccc151e51 Entropy:
- Cache management completely rewritten, now Entropy takes a barely minimum amount of memory and is much faster on cache hits.
Please note that some areas need to be improved even more, especially when dealing with cache cleanups


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1182 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-10 23:44:02 +00:00
(no author)
a347f654c1 improved library breakages cache speed
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1181 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-10 10:06:43 +00:00
(no author)
54f74855cf - dynamic library breakages detection infrastructure implemented,
can slow down equo a little bit at the beginning but it's worth it
- misc bug fixes to the query interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1179 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-09 16:56:56 +00:00
(no author)
e7c523ef1e - adding support for transforming packages into injected, useful for tagged ones
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1176 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-08 23:49:36 +00:00
(no author)
66cab1fe0d Entropy:
- a lot of speed optimizations, including:
  - improved caching performance
  - rewritten atomMatch()
  - added more caching
- fixed a bug with conflicts, wrongly stored in db


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1173 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-08 20:01:07 +00:00
(no author)
5533f38d56 - updated TODO
- removed checkReadOnly() where not needed

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1167 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-07 19:04:30 +00:00
(no author)
26a2f016fc - fixed an issue with treeupdates table creation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-06 20:51:28 +00:00
(no author)
7e4432b480 added dependencies rescan tool for reagent
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1143 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-06 00:09:14 +00:00
(no author)
4f13e844fe - adding reagent tool to scan and rebuild package dependencies for all the ones in repository
- added some new helper functions to the database interface
- fixed portageTools.calculate_dependencies accordingly

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1140 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-05 18:01:06 +00:00
(no author)
5f5b6eda7f fix indexing when running readonly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1130 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-04 20:01:33 +00:00
(no author)
c4c536a63a - fix reagent search output
- fix indexes readonly validation

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-04 16:34:45 +00:00
(no author)
058d3119ac - working implementation of the client side branch move function
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-04 11:35:52 +00:00
(no author)
88270f2b99 - updated treeupdatesactions table adding branch column
- updated database interface to work with the new treeupdatesactions
- sanitized legacy databases support creating doesColumnInTableExist() function
- improved overall equo speed
- moved repository database indexing to RepoInterface.sync()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1120 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-04 10:45:22 +00:00
(no author)
3d298fd83e - fixed counters injection that caused entropy database to be out of sync with portage. To just solve this on your PC, run equo database counters
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1118 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-02 16:06:03 +00:00
(no author)
1b095d3230 - remove unused queueView buttons
- fix databaseTools.isDependsTableSane()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1115 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-01 16:28:07 +00:00
(no author)
157054b816 - if getScopeData() returns None when looking into client database from atomMatch, return -1,1 taking it as not found
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1112 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-29 10:29:32 +00:00
(no author)
4cb6b40ec0 - fixed a really nasty bug with counters and 'gentoosync' tool that caused entropy to wipe the counters table (thanks Joost)
- added a saner tables availability check function
Spritz:
- removed some debugging output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1087 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-23 23:14:14 +00:00
(no author)
06884685af - implemented a better way to look for needed table
- fixed a possible crash caused by exceptions in config protection retrieval


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1085 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-23 14:17:06 +00:00
(no author)
a8c1d25ee1 - updated TODO
- added dependenciesTest after every reagent run
- print sqlite error when triggering ImportError exception


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1084 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-23 13:57:49 +00:00
(no author)
1a21466d82 fix a possible issue with treeupdates slotmove and move
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1076 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-20 13:26:08 +00:00
(no author)
a6295b7dcb - TESTED,FIXED,SOLVED,EVENTUALLLLLLY UNICODE ISSUES
- lxnay ftw, portage shit ftl


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1067 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-18 21:10:33 +00:00
(no author)
ffd7617dd9 some work done, some remains, WAIT THE NEXT COMMIT
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1065 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-18 20:00:48 +00:00
(no author)
27ed93827a - fixed conntest url by exporting it to repositories.conf
- improved repository databases reliability adding extra read only checks
- fixed bad/not available repositories handling by removing weird loops with fetch_repository_if_not_available
- updated indentation in databaseTools.py


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1048 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-15 15:08:12 +00:00
(no author)
806c7ece98 - updated TODO
- completing the previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1047 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-15 11:50:06 +00:00
(no author)
0366216a5d - let equo handle some extra exceptions from exceptionTools
- updated TODO
- fixed an issue with equo update when no client database is available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1039 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-13 14:47:36 +00:00
(no author)
5ca2b34ff3 trying to fix possible ftp mkdir exceptions
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1034 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-11 21:43:06 +00:00
(no author)
0d1b9f4274 - started to implement queue actions
- fixed two issues in the server part whose caused client database to be erroneously opened and tree updates to run on an empty repository database


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1032 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-11 19:30:29 +00:00
(no author)
7d445f4a36 - spritz: package categories code almost implemented
- entropy: added some faster search function to the database interface
- entropy: implemented some helpers for GUI apps and added some caching here and there


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-08 16:34:15 +00:00
(no author)
e4879d65fa - added EquoInterface.calculate_available_packages() that lists packages available in repos but not installed
- added database function retrieveKeySlot which returns (pkgkey,slot) for the selected idpackage using only SQL (faster)
- changed output of EquoInterface.calculate_world_updates(), removed not neeed atom retrieval
- fixed other functions accordingly to the change above
- get all the Spritz Packages radio options working (you need entropy from SVN, packages queueing doesn't work yet)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1021 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-07 19:08:30 +00:00
(no author)
53274f3158 - when syncing repo databases, always close running instances
- when opening server database, check if the db dir exists
- improved speed of EquoInterface.calculate_world_updates
- updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1020 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-07 17:50:30 +00:00
(no author)
9f2ccf4a99 - a small visual fix to equo search
- world calculation cache is now kept updated in install/remove functions

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1016 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-06 19:20:00 +00:00
(no author)
16e61e245f - added caching to world calculation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1014 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-06 15:52:41 +00:00
(no author)
2a1657f99a - added additional check to client database reliability
- added /etc/portage/bashrc used in 3.5 Loop 1

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1012 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-06 13:44:50 +00:00
(no author)
6823618e82 create neededtable if not found, even in retrieveNeeded()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1011 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-06 12:55:52 +00:00
(no author)
b481d9407e - when installing a package, datecreation will be updated accordingly to the system date
- fixed few things here and there
- started to work on spritz packages search


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@994 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-05 00:49:18 +00:00
(no author)
c3c7906e0a - totally rewritten Entropy modules and interface
the biggest commit, ever

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@982 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-03 17:48:57 +00:00
(no author)
9d4146aeff - improving speed of equo world
- fixed a bug with equo conf update
- fixed a bug with EquoInterface.atomMatch
- moved fetchRepositoryIfNotAvailable
- added getScopeData function to etpDatabase
- some indentational updates

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@981 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-03 00:48:57 +00:00
(no author)
c29e2a7e5d - indentation updates
- removed some useless logging and config files
- updated spritz~equo interface implementation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@977 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-02 18:00:03 +00:00
(no author)
db9b8cdbd7 - misc bug fixes
- moving askquestion to EquoInterface (that is gonna be renamed to EntropyInterface when done)

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@973 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-01 14:34:24 +00:00