Commit Graph

363 Commits

Author SHA1 Message Date
lxnay
56ce481646 Entropy/EquoInterface:
- add some helper functions to allow easy masked packages management (unmasking function)
- fix an issue regarding wrong SQL syntax (thanks to Jooooooooooooost)
Entropy/Spritz:
- preliminary implementation of Masked Packages management


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2062 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-31 23:19:29 +00:00
lxnay
f616701f9d Entropy/Socket Interface:
- save exceptions into the log file too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2012 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:06:05 +00:00
lxnay
769bfe75a2 Entropy:
- add automatic --debug option handling

Entropy/Repository Service:
- handle sqlite threads correctly
- some misc fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1998 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 16:29:13 +00:00
lxnay
2b1faaf6b5 Entropy/RepositoryServerSocketInterface:
- started to implement EAPI=3 support
- various bugfixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1974 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-25 20:20:17 +00:00
lxnay
95a8cf4dd1 Entropy/entropyTools:
- do not crash on is_elf_file()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1957 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 20:35:22 +00:00
lxnay
b071868f01 Entropy:
- add QAInterface where all the QA functions will be placed
- improve performances of libraries_test()
- rework libraries_test() to be more high level
- lots of bug fixes and some new functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1952 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 16:10:51 +00:00
lxnay
51647a333f Entropy:
- adding getYear() function to entropyTools


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1940 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-18 18:34:17 +00:00
lxnay
8f6625bf22 Entropy:
- started to wrap Entropy messages adding i18n support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1939 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-16 14:21:16 +00:00
lxnay
d137e6384f Entropy/EquoInterface:
- handle EOF issues while unpacking broken environment.bz2
- make bytesIntoHuman correctly handle bytes < 1024
- some minor changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1931 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-13 13:26:29 +00:00
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
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
278cc75e14 entropy 0.14.15.5
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1854 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 11:18:13 +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
4fc75242b2 Entropy/EquoInterface/Spritz:
- Spritz: a lot of misc bug fixes and graphical improvements
- added a new item to etpRepositories to ease the work of EquoInterface.addRepository()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1844 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-23 18:58:47 +00:00
lxnay
a95bef8fe4 testing treeupdate server-side
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1780 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 17:01:59 +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
74e3c65a32 close files in md5sum_directory()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1777 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-16 15:56:35 +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
f64be59de2 Entropy:
- make pychecker more happy


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1689 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 10:17:19 +00:00
lxnay
28b1863245 Entropy/Database:
- alter needed table adding ELF class information, this shouldn't break anything outside

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1631 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 12:10:45 +00:00
lxnay
5ba40524c5 Entropy/ServerInterface:
- improved code reliability on the FtpInterface
- code cleanup
- added more output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1570 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 12:36:45 +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
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
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
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)
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)
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)
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)
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)
cde83d3f55 force adding /lib /usr/lib to linker paths
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1455 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-12 11:56:27 +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)
2199ac9853 Entropy:
- add chroot copy content functionality for live installations

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1370 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-03 16:17:01 +00:00
(no author)
3c4c3c28e5 shiftpath should be ok now
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1367 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-03 08:43:49 +00:00
(no author)
160635e11e add extra shiftpath option to quickpkg()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1366 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-03 08:14:34 +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)
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)
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)
6a88984576 fetch a package if it gets deleted from the fetch phase to the install one, n00bs do that ahah
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1299 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-25 19:24:07 +00:00
(no author)
f9a447ba4a remove wrong string.isalnum() and substitute by is_valid_string()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1296 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-25 14:26:02 +00:00
(no author)
5fceb3cfa7 fixed portage bashrc and some other cosmetical stuff
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1282 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-23 15:08:20 +00:00