* fix small bugs with the new comar iface
* arrange TODO a bit * have to sleep a bit can't code anything properly :(
This commit is contained in:
@@ -73,14 +73,27 @@ Legend:
|
|||||||
|
|
||||||
3. Beta
|
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)
|
/ multiple package repository (eray)
|
||||||
+ decide how to implement
|
+ decide how to implement
|
||||||
+ support repo order
|
+ support repo order
|
||||||
? support medium types
|
- support medium types
|
||||||
- internet: http/ftp
|
- internet: http/ftp
|
||||||
- local repository
|
- local repository: file://
|
||||||
- cdrom dvd
|
- removable media: media://
|
||||||
|
/ i18n support
|
||||||
/ UI
|
/ UI
|
||||||
? pyqt UI class to interface
|
? pyqt UI class to interface
|
||||||
- PISIMAT
|
- PISIMAT
|
||||||
@@ -92,25 +105,7 @@ Legend:
|
|||||||
+ ask alternatives to choose from (eray)
|
+ ask alternatives to choose from (eray)
|
||||||
+ eliminate \n's from infos, what's the point?
|
+ eliminate \n's from infos, what's the point?
|
||||||
+ metaclass coolness for CLI command framework (eray)
|
+ 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)
|
/ 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)
|
- partial caching and automatic resume for file download (meren)
|
||||||
- use a separate "partial/" subdir like urpmi
|
- use a separate "partial/" subdir like urpmi
|
||||||
/ exception handling (baris)
|
/ exception handling (baris)
|
||||||
@@ -127,11 +122,15 @@ Legend:
|
|||||||
+ MetaData
|
+ MetaData
|
||||||
+ Files
|
+ Files
|
||||||
- Index (o kadar onemli degil)
|
- Index (o kadar onemli degil)
|
||||||
|
? non-interactive use (baris)
|
||||||
+ implement missing unit tests
|
+ implement missing unit tests
|
||||||
+ sourcedb
|
+ sourcedb
|
||||||
+ package (baris)
|
+ package (baris)
|
||||||
+ configuration file (baris)
|
+ configuration file (baris)
|
||||||
? non-interactive use (baris)
|
+ upgrade (eray)
|
||||||
|
+ upgrade operation
|
||||||
|
+ test upgrade op
|
||||||
|
+ system-wide upgrade (upgrade-all) komutu
|
||||||
+ incremental build (eray)
|
+ incremental build (eray)
|
||||||
+ generate binary release number by comparing MD5s (eray)
|
+ generate binary release number by comparing MD5s (eray)
|
||||||
+ keep track of successfully completed configure, make, install
|
+ keep track of successfully completed configure, make, install
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ def init(database = True, options = None, ui = None ):
|
|||||||
ctx.repodb = pisi.repodb.init()
|
ctx.repodb = pisi.repodb.init()
|
||||||
ctx.installdb = pisi.installdb.init()
|
ctx.installdb = pisi.installdb.init()
|
||||||
|
|
||||||
|
# TODO: bunun da ctx'de olmasi gerek, global hesabi
|
||||||
packagedb.init()
|
packagedb.init()
|
||||||
# import pisi.sourcedb
|
# import pisi.sourcedb
|
||||||
# pisi.sourcedb.init()
|
# pisi.sourcedb.init()
|
||||||
|
|||||||
@@ -262,8 +262,8 @@ class PackageOp(Command):
|
|||||||
super(PackageOp, self).init(True)
|
super(PackageOp, self).init(True)
|
||||||
import pisi
|
import pisi
|
||||||
if not self.options.ignore_comar:
|
if not self.options.ignore_comar:
|
||||||
|
import comar
|
||||||
try:
|
try:
|
||||||
import comar
|
|
||||||
ctx.comard = comar.Link() # context
|
ctx.comard = comar.Link() # context
|
||||||
except comar.Error:
|
except comar.Error:
|
||||||
ctx.ui.error('Comar error encountered\n')
|
ctx.ui.error('Comar error encountered\n')
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ ui = None # not now
|
|||||||
installdb = None
|
installdb = None
|
||||||
repodb = None
|
repodb = None
|
||||||
|
|
||||||
comar = None
|
comard = None
|
||||||
|
|
||||||
#def register(_impl):
|
#def register(_impl):
|
||||||
# """ Register a UI implementation"""
|
# """ Register a UI implementation"""
|
||||||
|
|||||||
Reference in New Issue
Block a user