diff --git a/TODO b/TODO index 2fe16f9b..ad4ac20b 100644 --- a/TODO +++ b/TODO @@ -73,14 +73,27 @@ Legend: 3. Beta - / API: yeah, we even got application users (eray) + - configure-pending (eray) + / autoxml: automated xml processing (eray) + + design + + basic types + / list type + - class type + / localtext type + / components (eray) + + requirements + - xml format + - query components: list of components/packages in a component + - install/remove components + / API: we even have application users (eray) / multiple package repository (eray) + decide how to implement + support repo order - ? support medium types + - support medium types - internet: http/ftp - - local repository - - cdrom dvd + - local repository: file:// + - removable media: media:// + / i18n support / UI ? pyqt UI class to interface - PISIMAT @@ -92,25 +105,7 @@ Legend: + ask alternatives to choose from (eray) + eliminate \n's from infos, what's the point? + metaclass coolness for CLI command framework (eray) - / autoxml: automated xml processing - + design - + basic types - / list typ - - class typ - / localtext type - / components - + requirements - - xml format (bunlarin class'leri yazilmali) - - query components: list of components/packages in a component - - install/remove components - / i18n support - - configure-pending (eray) / overhaul installdb (try to merge its use with packagedb) (eray) - + upgrade (eray) - + upgrade operation - + test upgrade op - + system-wide upgrade (upgrade-all) komutu - ? ordered configure install thing (eray) - partial caching and automatic resume for file download (meren) - use a separate "partial/" subdir like urpmi / exception handling (baris) @@ -127,11 +122,15 @@ Legend: + MetaData + Files - Index (o kadar onemli degil) + ? non-interactive use (baris) + implement missing unit tests + sourcedb + package (baris) + configuration file (baris) - ? non-interactive use (baris) + + upgrade (eray) + + upgrade operation + + test upgrade op + + system-wide upgrade (upgrade-all) komutu + incremental build (eray) + generate binary release number by comparing MD5s (eray) + keep track of successfully completed configure, make, install diff --git a/pisi/api.py b/pisi/api.py index aaa2c320..4387faef 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -56,6 +56,7 @@ def init(database = True, options = None, ui = None ): ctx.repodb = pisi.repodb.init() ctx.installdb = pisi.installdb.init() + # TODO: bunun da ctx'de olmasi gerek, global hesabi packagedb.init() # import pisi.sourcedb # pisi.sourcedb.init() diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 6b6bb55d..86c5ad49 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -262,8 +262,8 @@ class PackageOp(Command): super(PackageOp, self).init(True) import pisi if not self.options.ignore_comar: + import comar try: - import comar ctx.comard = comar.Link() # context except comar.Error: ctx.ui.error('Comar error encountered\n') diff --git a/pisi/context.py b/pisi/context.py index 0a2f1b9f..1eef4fe8 100644 --- a/pisi/context.py +++ b/pisi/context.py @@ -29,7 +29,7 @@ ui = None # not now installdb = None repodb = None -comar = None +comard = None #def register(_impl): # """ Register a UI implementation"""