Commit Graph

3141 Commits

Author SHA1 Message Date
Fabio Erculiani
d03895d800 entropy.tools: trivial update to md5sum_directory 2009-03-30 15:03:05 +02:00
Fabio Erculiani
25a61b2030 entropy.db: fix typo 2009-03-30 14:15:11 +02:00
Fabio Erculiani
fb5e9e981d entropy.db.Schema: remove get_destroy_all
entropy.db.initializeDatabase: use listAllTables instead of
schema.get_destroy_all
2009-03-30 13:48:47 +02:00
Fabio Erculiani
19937466cd "equo source", new option --savehere
user can choose to download sources into CWD instead of entropy tmp
directory
2009-03-30 13:23:15 +02:00
Fabio Erculiani
159113acd1 entropy.db: new method listAllTables
new method that returns a list of available database tables
2009-03-30 12:44:28 +02:00
Fabio Erculiani
cf24734a43 entropy.db.Schema: drop never used tables 2009-03-30 12:43:46 +02:00
Fabio Erculiani
509f240a8e entropy.transceivers.urlFetcher: when file is already downloaded,
don't pass False to __close()
2009-03-30 12:32:14 +02:00
Fabio Erculiani
a27aec6742 entropy.transceivers.urlFetcher: close local file only when needed 2009-03-29 23:42:34 +02:00
Fabio Erculiani
93600a6b34 entropy.transceivers.urlFetcher: always close file objects on disk
when reusing urlFetcher class more than once, make sure we close
every opened local file
2009-03-29 21:55:20 +02:00
Fabio Erculiani
a65f1a863f update TODO 2009-03-29 21:51:38 +02:00
Fabio Erculiani
5df62a0216 entropy.transceivers.urlFetcher: remove file on error
It happened that if a file is not available on the provided URL,
the local one was created anyway containing no data. Thus verify
if it was already available, if not, remove it on errors.
2009-03-29 21:49:24 +02:00
Fabio Erculiani
4d189ff05c add .gitignore file, ignore pyc locally 2009-03-29 21:22:34 +02:00
Fabio Erculiani
642e1ee485 update TODO 2009-03-29 20:41:59 +02:00
Fabio Erculiani
ee6606df81 entropy.server.interfaces.mirrors: sync_databases (improvement)
consider missing dependencies critical only for the currently selected
repository
2009-03-29 20:37:41 +02:00
Fabio Erculiani
d620f9096b entropy.server.interfaces.main: deps_tester new argument (feature)
add the ability to test dependencies only on a specified repository.
2009-03-29 20:36:17 +02:00
Fabio Erculiani
7dd3f8a0ed "equo unusedpackages" add --sortbysize parameter and logic 2009-03-29 20:17:39 +02:00
Fabio Erculiani
2590fcdd06 text_ui: code style updates and improved unusedPackagesTest
unusedPackagesTest now prints package size information when run without
--quiet
2009-03-29 20:10:11 +02:00
Fabio Erculiani
001d0088e3 entropy.client.interfaces.dep: dependencies handling update
dependencies_test method now uses the new exclude_deptypes argument
of entropy.db.LocalRepository.retrieveDependencies

generate_depends_tree method now uses the new exclude_deptypes argument
of entropy.db.LocalRepository.retrieveDepends
2009-03-29 19:53:06 +02:00
Fabio Erculiani
e30055bd08 entropy.db.LocalRepository.retrieveDependencies: new argument (feature)
retrieveDependencies features a new argument "exclude_deptypes", useful
to filter out unwanted dependency types from the results.
It is used by entropy.client.interfaces.dep.dependencies_test to ignore
PDEPENDs
2009-03-29 19:49:24 +02:00
root
2f89d543fa update TODO 2009-03-29 16:02:36 +02:00
root
2b58040423 text_query.print_package_info: format homepage metadata 2009-03-29 16:01:58 +02:00
Fabio Erculiani
67838cd5c7 entropy.db: new searchDepends argument (feature)
Specific dependency types can now be excluded lowlevel
2009-03-29 15:54:14 +02:00
Fabio Erculiani
2fffabc9f7 entropy.client.interfaces.dep: minor code style update 2009-03-29 15:53:10 +02:00
Fabio Erculiani
dee0b718ed text_query: API changes
functions inside text_query are now following Python guidelines.
Update the rest of the code accordingly.

On a side effect, printPackageInfo (now print_package_info) is
now 2.5 times faster on standard print
2009-03-29 15:49:34 +02:00
Fabio Erculiani
01c6e72420 text_query: code conventions update 2009-03-29 15:20:31 +02:00
Fabio Erculiani
b7f1ae4131 text_query: code refactoring
text_query code was a bit outdated, unused arguments have been removed,
searchInstalled speed has been greatly improved (equo query orphans),
output usability has been improved (printPackageInfo)
2009-03-29 15:11:19 +02:00
Fabio Erculiani
b63f7590f9 equo query tool, code updates
remove idreturn argument from searchInstalled and add package size
information output when running with --verbose
2009-03-28 20:44:18 +01:00
Fabio Erculiani
01e7cda6a8 code style updates for entropy.db 2009-03-28 20:43:44 +01:00
Fabio Erculiani
a5569db021 add "equo database vacuum"
This tool is useful to shrink the client repository database by
removing SQL indexes. Comes to help on ISO images creation
2009-03-28 20:42:13 +01:00
Fabio Erculiani
12b0696c56 update TODO 2009-03-28 20:41:41 +01:00
root
2978574934 slightly improve "equo query orphans"
it is still very slow although it has proven great stability.
This patch improve the performance a bit.
2009-03-28 08:34:58 +01:00
Fabio Erculiani
c5a1035859 use saner approach for Live system 2009-03-24 21:11:55 +01:00
Fabio Erculiani
a14b6d57d0 Merge branch 'master' of git+ssh://fabio@sabayonlinux.org/home/git/projects/entropy 2009-03-24 21:10:18 +01:00
Fabio Erculiani
ed239b2f46 - update Entropy TODO
- entropy.db: always run SQL table updates even on live
2009-03-24 21:09:41 +01:00
Fabio Erculiani
0f8a10f03d - update Entropy TODO
- entropy.db: always run SQL table updates even on live
2009-03-24 21:02:55 +01:00
Fabio Erculiani
fd457af5c7 started to fix code style in entropy.db, the Entropy Repository interface. 2009-03-23 19:06:12 +01:00
lxnay
192642d5c7 Entropy/TODO:
- update TODO
Entropy/Client/Interfaces/Repository:
- fix _config_updates_make_profile


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3218 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-23 01:46:47 +00:00
lxnay
2d348ef4bd Entropy/Client/Interfaces:
- fix typo occured when refactoring selfDbconn is self.clientDbconn


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3215 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-22 18:06:11 +00:00
lxnay
07c448c1bd Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3214 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-21 18:55:19 +00:00
lxnay
33c43e13b7 Entropy/Spritz:
- const_extractClientRepositoryParameters is not available anymore, use const_extract_cli_repo_params


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3213 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-21 18:53:52 +00:00
lxnay
d62e1f3532 Entropy/Spritz:
- const_extractClientRepositoryParameters is not available anymore, use const_extract_client_repo_params


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3212 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-21 18:52:35 +00:00
lxnay
d2cf355753 Entropy/exceptions:
- remove SystemError and NotImplementedError exceptions
- pylint test passed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3211 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-20 12:26:01 +00:00
lxnay
379fd59ac3 Entropy/dump:
- slightly change API
- add missing docstrings
- pylint check passed
Entropy/*:
- fix API changed entropy.dump function calls


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3210 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-20 11:42:43 +00:00
lxnay
8b0a563e94 Entropy/db:
- add new table automergefiles, to handle untouched config files automerges and autoremoval
- add support methods for automergefiles tables
Entropy/Client/Interfaces:
- add support for configuration files automerge and autoremove, if user did not modify a config file, it will be automerged or autoremoved


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3209 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 18:07:22 +00:00
lxnay
7fa3534a4d Entropy/misc/TimeScheduled:
- __do_delay: also check if float has been shut down too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3208 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 18:05:35 +00:00
lxnay
f4c26812b9 Entropy/const:
- update constants function API
Entropy/Spritz:
- use new entropy.const API


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3207 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 11:09:33 +00:00
lxnay
88ab3800b5 Entropy/Client/Interfaces:
- remove self.Client hack
- update current dependencies_test output every 150 packages
- update constants methods



git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3206 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 11:07:41 +00:00
lxnay
e8e8e5645b Entropy/Server/Interfaces/main:
- update current libraries_test output every 150 packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3205 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 11:06:03 +00:00
lxnay
77aebcc8c1 Entropy/Transceivers/FtpInterface:
- delete_file, handle FTP 550 errors


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3204 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 11:04:12 +00:00
lxnay
3fd8a17ca1 Entropy/Equo:
- make equo source available for normal users too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3203 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 00:04:57 +00:00