Commit Graph

470 Commits

Author SHA1 Message Date
lxnay
bbafc20b24 Entropy:
- if tarfile module is not available, unse old tar.bz2 uncompress function
- do not use os.system() to spawn fixpackages but use portage library directly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1924 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-06 18:08:05 +00:00
lxnay
460464d622 Entropy/etpDatabase:
- add force option to clientUpdatePackagesData

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1920 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-05 21:46:18 +00:00
lxnay
d0ebc7c6de Entropy/etpDatabase/treeupdates:
- improve treeupdates reliability by deeply scanning dependenciesreference too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1919 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-05 19:08:10 +00:00
lxnay
8c1a26d270 Entropy/etpDatabase:
- do not crash on retrieveNeeded if 'elfclass' column is not available
- improve createNeededElfclassColumn()
- store executed treeupdates actions in the client database


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1913 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-03 16:06:46 +00:00
lxnay
3d2459de30 Entropy:
- fix const_setup_perms(), didn't chmod properly
- improve system reliability by checking if another instance is running before starting critical tasks
- some cleanups on the notification applet


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1910 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-03 09:13:41 +00:00
lxnay
091b7ed33a Entropy/Spritz:
- greatly improved speed on queues, popup menus, dependencies calculation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1894 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-01 12:29:33 +00:00
lxnay
b5e98a0b8e Entropy/EquoInterface/etpDatabase:
- removed 'info cache' from etpDatabase, there is no need to have an on-disk cache when sqlite3 is faster
- updated EquoInterface accordingly
- improved reliability when running multiple Entropy instances
Entropy/Spritz:
- fixed some minor bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1890 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-01 00:01:29 +00:00
lxnay
5744d66b52 Entropy:
- improved etpDatabase.atomMatch speed
- improved EquoInterface.get_category_description_data()
Entropy/Spritz:
- use translated categories description when possible


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1879 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-30 08:38:52 +00:00
lxnay
ed3e59bd58 whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1877 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 23:23:11 +00:00
lxnay
68148905cf whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1876 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 23:21:57 +00:00
lxnay
3c89b64d75 whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1875 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 23:21:16 +00:00
lxnay
a9b4a91676 Entropy/ServerInterface/EquoInterface:
- reworked categories description support to use /usr/portage metadata.xml files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1874 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 23:09:23 +00:00
lxnay
173ad4ef43 Entropy/ServerInterface/etpDatabase:
- implemented categories description code, server-side


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1873 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 18:19:07 +00:00
lxnay
a7512164d5 Entropy:
- run etpDatabase.fixKdeDepStrings() only on dbname != 'generic'


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1863 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 20:38:22 +00:00
lxnay
22b180d046 Entropy/EquoInterface:
- add dep strings auto updates infrastructure (starting with bad KDE dep strings)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1861 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 20:19:00 +00:00
lxnay
a1ba4d0021 Entropy:
- use stat.ST* instead of mean list indexes
- move entropyTools.islive() to entropyConstants keeping compatibility
- make const_setup_perms() more gentle with overlayed filesystems


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1850 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:01:38 +00:00
lxnay
a96076f3e5 Entropy/EquoInterface/Spritz:
- avoid running etpDatabase.idpakageValidator() for client db
- do not crash when it's impossible to translate a device name to a grub one
- Spritz: do not crash if the application icon can't be loaded


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1829 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-22 11:35:03 +00:00
lxnay
a73081516f Entropy/ServerInterface:
- fix broken packages removal
Entropy/EquoInterface: - add env ACCEPT_LICENSE support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1828 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-22 01:01:45 +00:00
lxnay
d82bd2db0e Entropy:
- updated TODO
- improved treeupdates reliability server-side


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1827 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 23:59:24 +00:00
lxnay
eb25b76493 Entropy/EquoInterface:
- fix an issue with file protection causing them to be overwritten

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1817 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 10:10:36 +00:00
lxnay
5f29881b6a Entropy/Equo/Spritz:
- some requested bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1808 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-20 14:52:03 +00:00
lxnay
f12010bdf8 Entropy:
- add more indexes to speed up install/removal
- fix a small type issue with treeupdates actions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1807 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-18 21:58:25 +00:00
lxnay
8f1f75574d Entropy/etpDatabase:
- some small improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1803 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-18 12:08:12 +00:00
lxnay
173e141f5b Entropy/EquoInterface:
- fix treeupdates on multi-repo environments

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1786 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 19:08:21 +00:00
lxnay
b7964fc752 Entropy/EquoInterface:
- regenerate client database indexes only when needed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1785 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 18:45:47 +00:00
lxnay
a42eb6af9b testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1784 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 18:36:36 +00:00
lxnay
7674aafbdc testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1783 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 17:31:58 +00:00
lxnay
fc301e92d7 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1781 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 17:22:36 +00:00
lxnay
d904e561f1 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1779 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 16:52:30 +00:00
lxnay
7069b1e279 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1778 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:59:31 +00:00
lxnay
4ca8661373 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1776 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:44:23 +00:00
lxnay
9580c2bbfc testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1775 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:41:41 +00:00
lxnay
eaa7bbf10d Entropy/ServerInterface:
- make etpDatabase.filterTreeUpdatesActions() working better server-side with multiple repositories


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1773 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:18:30 +00:00
lxnay
475ba3de69 Entropy/ServerInterface:
- run treeupdates server-side for every opened repository


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1772 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:02:16 +00:00
lxnay
a719b1fce6 Entropy/EquoInterface:
- rewrote _lookup_library_breakages() to be more rude and bastard (along with being faster)
- added some new indexes for the needed table


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1765 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 10:18:54 +00:00
lxnay
eb47922887 try to workaround a possible etpRSSMessages issue
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1764 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-15 21:38:21 +00:00
lxnay
430c3aad0a test virtual matching
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1736 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-14 14:56:00 +00:00
lxnay
9b12032690 i am a moron
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1735 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-14 14:44:44 +00:00
lxnay
8bf00c6ac7 Entropy/ServerInterface:
- updated TODO
- fix trashing counters behaviour


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1734 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-14 14:28:03 +00:00
lxnay
9f229efe9b Entropy/Database/EquoInterface:
- implemented type column in dependencies table to support future *DEPEND split


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1723 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-14 00:36:02 +00:00
lxnay
17069f0c60 Entropy/EquoInterface:
- log portage.doebuild() messages to equo.log
- improve etpDatabase.retrieveMessages() speed by adding a sql index


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1722 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-13 23:41:42 +00:00
lxnay
b54fd3bc98 Entropy:
- added fakeoutfile, fakeinfile classes to prepare portage.doebuild() logging
- improved Entropy idpackageValidator speed by 1000% (by adding a SQL index on keywords), this improved world updates calculation speed by a big 1000%
- misc updates and fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1721 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-13 19:29:30 +00:00
lxnay
01244dd083 Entropy/ServerInterface:
- preliminary implementation of package moves across repositories

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1715 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 14:55:12 +00:00
lxnay
b65f887c4c Entropy/Spritz:
- made calculate_available_packages(), calculate_world_updates(), etpDatabase.listAllIdpackages() results ordered
- removed the need to sort package entries in Spritz, causing a huge speed improvement (more on this later, not yet done)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1706 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 20:16:49 +00:00
lxnay
9ffddd7cb5 Entropy/ServerInterface:
- test counter trashing trying to get scan_package_changes() working better with multi-repos

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1700 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 18:07:28 +00:00
lxnay
95c30666f5 Entropy/ServerInterface:
- make scan_package_changes multi repositories aware
- introduce server-side atomMatch (to match atoms across multiple server repos)
- make dependencies_test to run on multiple repositories


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1683 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 00:54:48 +00:00
lxnay
b65904f669 Entropy/ServerInterface/DatabaseInterface:
- fix two typos

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1682 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 23:17:32 +00:00
lxnay
f9dfb3fbe6 Entropy/ServerInterface:
- change server.conf specs adding http handlers URL to it
- added multirepository support to all server-side functions (not yet done)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1681 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 23:14:50 +00:00
lxnay
7bdc16f164 Entropy/ServerInterface:
- kill activatoruploaduris kill kill


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1677 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 15:50:50 +00:00
lxnay
f1bec4ff5d fix etpDbStatus
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1672 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 15:07:27 +00:00