Commit Graph

2913 Commits

Author SHA1 Message Date
Fabio Erculiani b0b3cdc9ab entropy.spm: new method in PortagePlugin, get_set_atoms
this method returns a list (set) of atoms contained into a Portage
package set object. Those objects are returned, in a dict form,
by get_sets()
2009-04-01 12:13:47 +02:00
Fabio Erculiani cddf5ddc33 entropy.server.interfaces.mirrors: fix output color when mirror is locked
when mirror is locked it was printed a completely red message. beautify it.
2009-04-01 12:02:48 +02:00
Fabio Erculiani b020097b3a update TODO 2009-04-01 12:02:25 +02:00
Fabio Erculiani 671bd40c2e update .gitignore 2009-04-01 12:02:04 +02:00
Fabio Erculiani d2449e2740 equo (community repos): export spm tool from reagent 2009-04-01 12:00:58 +02:00
Fabio Erculiani 4b471091e3 Spritz: remove pdb from code 2009-04-01 11:59:33 +02:00
Fabio Erculiani b38051fd5a update TODO 2009-04-01 00:19:38 +02:00
Fabio Erculiani aac6fa8b38 Spritz: add support for package install source. 2009-04-01 00:19:05 +02:00
Fabio Erculiani 70c1e9792a update .gitignore 2009-04-01 00:18:13 +02:00
Fabio Erculiani df34d1627e client.text_ui (equo): fix grammar typo 2009-03-31 09:33:31 +02:00
Fabio Erculiani 7b3c1f1986 equo: add support for custom install source. 2009-03-31 09:32:54 +02:00
Fabio Erculiani 285c9c52aa entropy.client: export support for custom install source
entropy.client.interfaces.Package now supports installedtable
install source column. Clients can specify this parameter on
Package.prepare()'s metaopts argument

entropy.db.createInstalledTableSource: setting default value for
source column

entropy.const: add etpConst['install_sources'] constant
2009-03-31 09:29:28 +02:00
Fabio Erculiani 3bf21decd0 entropy.db: new column on installedtable
"source" column has been added to installedtable. The rationale is
that it is now possible to discriminate install sources. For
example, it's possible to know if a package has been installed as
a dependency or by explicit user request
2009-03-31 08:34:11 +02:00
Fabio Erculiani 282d510202 entropy.db: trivial code style update 2009-03-31 08:17:00 +02:00
Fabio Erculiani 5620018990 entropy.server: implement timestamp file handling
A simple timestamp file is now generated and uploaded with the
database to allow easy mirror maintenance and scriptability.
Detecting an outdated mirror is now easier.
2009-03-31 08:11:56 +02:00
Fabio Erculiani ad6f4ab93f entropy.db: fix _write_rss_for_removed_package 2009-03-30 22:51:35 +02:00
Fabio Erculiani 21cd91f2ac entropy.*: general code error check passed 2009-03-30 17:19:15 +02:00
Fabio Erculiani 9979f52b6c update TODO 2009-03-30 17:18:54 +02:00
Fabio Erculiani 56e201b08e entropy.misc: code review and style update 2009-03-30 16:44:45 +02:00
Fabio Erculiani 4fe93041e6 entropy.db: code style update 2009-03-30 16:10:02 +02:00
Fabio Erculiani 88c961eb80 entropy.db: trivial header update 2009-03-30 15:07:08 +02:00
Fabio Erculiani f8a8960c99 entropy.db: code check and partial code style update 2009-03-30 15:03:30 +02:00
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