Commit Graph

1322 Commits

Author SHA1 Message Date
lxnay
7c974b9078 Entropy/Permissions:
- set proper permissions to the pid file
- ignore OSError exceptions on run_sync() when trying to setup database file permissions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2046 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 11:08:48 +00:00
lxnay
55b1b963d7 Entropy/i18n:
- fix unicode issues
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2044 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 09:57:30 +00:00
lxnay
b73dfa03fc Entropy/Database Interface:
- make retrieveLicense() and retrieveLicensedata() more fault tolerant


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2042 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 09:55:43 +00:00
lxnay
d8b8036e1a Entropy/exceptions:
- add QueueError exception


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2036 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-29 17:04:14 +00:00
lxnay
35ce4ae2f4 Entropy/PackageInterface:
- allow to bomb a package download from the inside by exporting urlFetcher's abort_check_func parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2029 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 16:07:41 +00:00
lxnay
05921c571a Entropy/PackageInterface:
- allow to bomb a package download from the inside by exporting urlFetcher's abort_check_func parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2028 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 15:54:44 +00:00
lxnay
bd85b9e606 Entropy/Database Interface:
- improve listAllPackages()
- add isPackageScopeAvailable(), useful to look for reinstallable packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2025 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 15:34:43 +00:00
lxnay
36d7e81b15 Entropy:
- make nice level configurable in entropy.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 11:26:41 +00:00
lxnay
da6b27f2d0 Entropy/EntropyDatabaseInterface:
- fix setCacheSize() and setDefaultCacheSize()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2015 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:10:38 +00:00
lxnay
a65a81fe21 Entropy/EntropyDatabaseInterface:
- fix setCacheSize() and setDefaultCacheSize()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2014 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:10:16 +00:00
lxnay
05ca27f55e fix openGenericDatabase() call
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2013 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:08:24 +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
abb2bc6fb9 whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2011 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 07:59:51 +00:00
lxnay
a25428d557 Entropy/Repository Service:
- open a database at every new command call to avoid threading exceptions from sqlite3


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2010 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 07:54:42 +00:00
lxnay
7a509729d4 Entropy/Activator:
- fix choice selection when asking to run the queue. if No, break the branches cycle and don't sync databases (if not successfull_mirrors)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2009 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 00:08:55 +00:00
lxnay
de0a7c3722 Entropy/Socket Interface:
- connections count can't get below 0
- completely block blacklisted and invalid connections


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2008 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:56:33 +00:00
lxnay
7c20a83df6 Entropy/Socket Interface:
- allow to enable/disable stdout logging
- make socketLog loglevel configurable through etpConst


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2007 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:18:43 +00:00
lxnay
a5e21e1965 Entropy/Socket Interface:
- add IP blacklisting support
- fix a few bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2006 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:05:33 +00:00
lxnay
a86652d2e4 Entropy:
- some misc fixes here and there


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2005 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 22:53:47 +00:00
lxnay
2d939d95ba Entropy:
- some misc fixes here and there


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2004 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 22:35:11 +00:00
lxnay
44af225256 Entropy:
- some misc fixes here and there


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2003 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 18:30:41 +00:00
lxnay
9298280e43 Entropy/Repository Client Service:
- some slight improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2002 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 17:43:33 +00:00
lxnay
466cf0b341 Entropy/Database Interface/Socket Interface/Server Interface:
- since database_checksum() output (using python hash()) is strictly dependant on Python releases and arches, add an option to use md5 instead


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2001 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 17:20:37 +00:00
lxnay
ae6a7ff30b Entropy/Repository Service:
- fine tune client interface functions
- show more info server side


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1999 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 17:04:59 +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
7e3f40327f Entropy/Repository Service:
- fix database handling when reloading the interface data


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1997 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 14:13:15 +00:00
lxnay
ea64550830 Entropy/Repository Service:
- fix database handling when reloading the interface data


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1996 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 14:09:24 +00:00
lxnay
6632a22c67 Entropy/Socket Interface:
- improve buffer handling reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1995 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 13:55:41 +00:00
lxnay
ad5294ae98 Entropy/Socket Interface:
- improve buffer handling reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1994 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 13:43:33 +00:00
lxnay
74e73c3550 Entropy/Socket Interface:
- improve buffer handling reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1993 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 13:42:02 +00:00
lxnay
0a4bb6ad20 Entropy/Socket Interface:
- improve buffer handling reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1992 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 13:41:02 +00:00
lxnay
70b816f0d8 Entropy/Socket Interface:
- improve buffer handling reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1991 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 13:37:33 +00:00
lxnay
f06ecbea6b whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1990 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 12:22:00 +00:00
lxnay
754ef185ba Entropy/Socket Interface:
- improve buffer handling reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1989 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 12:20:18 +00:00
lxnay
e2f84de2ff Entropy/Socket Interface:
- mylen can't be -1, must be None


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1988 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:50:20 +00:00
lxnay
9ab4384bdf Entropy/Repository Client Interface:
- set default timeout


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1987 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:45:52 +00:00
lxnay
36e3daa299 Entropy/Socket Interface:
- convert mylen later


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1986 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:40:27 +00:00
lxnay
a5637e2384 Entropy/Socket Interface:
- print traceback when raising ValueError



git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1985 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:35:07 +00:00
lxnay
3d1374df2d Entropy/ServerInterface:
- add support for EAPI=3


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1984 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:28:48 +00:00
lxnay
5124972ea7 Entropy/Repository Server:
- do not spam stdout if databases are not available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1982 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 11:01:40 +00:00
lxnay
f0f1e48249 Entropy/Socket Interface:
- switch default port from 999 to 1026 (unprivileged)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1981 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:58:39 +00:00
lxnay
92680485d1 Entropy/Socket Interface:
- raise ConnectionError if bind fails


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1980 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:50:40 +00:00
lxnay
9e5b8da134 Entropy/Repository Services:
- implement database locks handling for the EAPI=3 repository server
- some misc fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1978 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 10:29:06 +00:00
lxnay
3e74e28cf1 Entropy/EquoInterface/EAPI=3 support:
- improve EAPI1,2 experience when downloading a repository database
- improve EAPI=3 performance and completeness (not yet done)
- switch default EAPI to 3 (from 2)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1977 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 08:24:50 +00:00
lxnay
aa06ab0e2b Entropy/SocketHostInterface:
- rewrite interface TCP data structure
- more work on EAPI=3
- some bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1976 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-26 12:30:55 +00:00
lxnay
0031249040 Entropy/Repository Server Interface:
- more work on it
- general improvements on SocketHostInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1975 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-26 01:00:02 +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
bce5ffb019 Entropy/query tools:
- do not use etpRepositories directly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1973 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-25 10:23:48 +00:00
lxnay
989bd48d99 Entropy/Database Interface:
- improve getPackageData() speed
- improve retrieveContent() and insertContent()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1972 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-25 09:50:02 +00:00
lxnay
fcfd42cb0d Entropy/Equo:
- adding functions to equo to show repository's make.conf and package.* files, if available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1969 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-24 16:54:03 +00:00