* pisi-updateindex -> pisi-updatedb

* TODO'yu update et
* bir iki author satiri ekle.
This commit is contained in:
Eray Özkural
2005-06-26 12:04:13 +00:00
parent de89b9bb9a
commit 144bc9b7c0
8 changed files with 65 additions and 21 deletions
+53 -19
View File
@@ -13,26 +13,60 @@ Legend:
1. Pre-Alpha 1. Pre-Alpha
+ implement reading spec file + reading spec file
+ implement writing + writing
/ files + files
- metadata + metadata
+ implement Actions API framework + Actions API framework
/ sample api modules (autotools) + sample api modules (autotools)
- unit test + unit test
+ implement source building + source building
/ implement package module + package module
/ extraction + extraction
- add file / compression + add file / compression
- unit test + package creation
/ implement package creation + install database
+ implement install database + package database
/ implement package database + command line interface
- implement source database + pisi-build
/ implement dependency analysis + pisi-install
? transaction/locking for database + pisi-index
+ pisi-updatedb
+ single repository index
+ simple dependency checking
+ Package/Files
2. Alpha 2. Alpha
- implement writing specfile + write specfile
? transaction/locking for database
+ command line interface:
- multi-package installation
- pisi-remove
- pisi-upgrade
? svn-like CLI
- multi-package dependency analysis
- implement source database
- implement missing unit tests
- package
- multi-architecture support
- design decisions
- extend XML specs to support that
- cross-platform building support
- non-interactive use
- query
- list of installed packages
- comar OM information (Provides)
- easy package preparation
? PISIMAT
? convert ebuild to pisi
- COMAR interface
- package install: register config script
- package remove: unregister config script
- internet installation
- support URI's whereever a filename is supported
- http server
- pisi updatedb over internet
- multiple package repository
- decide how to implement
3. Beta 3. Beta
View File
+4
View File
@@ -1,6 +1,9 @@
# PISI Configuration module is used for gathering and providing # PISI Configuration module is used for gathering and providing
# regular PISI configurations. # regular PISI configurations.
# Authors: Baris Metin <baris@uludag.org.tr
# Eray Ozkural <eray@uludag.org.tr>
#TODO: Eventually PISI will have a configuration file (located in #TODO: Eventually PISI will have a configuration file (located in
#/etc/pisi/conf?) and this module will provide access to those #/etc/pisi/conf?) and this module will provide access to those
#configuration parameters. #configuration parameters.
@@ -8,6 +11,7 @@
from constants import const from constants import const
import os import os
class Config(object): class Config(object):
"""Config Singleton""" """Config Singleton"""
+2
View File
@@ -2,6 +2,8 @@
# If you have a "magic" constant value this is where it should be # If you have a "magic" constant value this is where it should be
# defined. # defined.
# Author: Baris Metin <baris@uludag.org.tr
class _constant: class _constant:
"Constant members implementation" "Constant members implementation"
class ConstError(TypeError): class ConstError(TypeError):
+2
View File
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Context module. # Context module.
# Authors: Baris Metin <baris@uludag.org.tr
# Eray Ozkural <eray@uludag.org.tr>
from specfile import SpecFile from specfile import SpecFile
from constants import const from constants import const
+2
View File
@@ -1,4 +1,6 @@
# dependency analyzer # dependency analyzer
# Author: Eray Ozkural <eray@uludag.org.tr>
# maintainer: eray and caglar # maintainer: eray and caglar
import installdb import installdb
+1 -1
View File
@@ -1,10 +1,10 @@
# Files module provides access to files.xml. files.xml is genarated # Files module provides access to files.xml. files.xml is genarated
# during the build process of a package and used in installation. # during the build process of a package and used in installation.
# Authors: Eray Ozkural <eray@uludag.org.tr>
from xmlext import * from xmlext import *
from xmlfile import XmlFile from xmlfile import XmlFile
class FileInfo: class FileInfo:
"""FileInfo holds the information for a File node/tag in files.xml""" """FileInfo holds the information for a File node/tag in files.xml"""
def __init__(self, _path = "", _type = "", _size="", _hash = ""): def __init__(self, _path = "", _type = "", _size="", _hash = ""):
+1 -1
View File
@@ -4,7 +4,7 @@ pwd
rm -rf tmp rm -rf tmp
./pisi-build samples/*/*.pspec ./pisi-build samples/*/*.pspec
./pisi-index . ./pisi-index .
./pisi-updateindex pisi-index.xml ./pisi-updatedb pisi-index.xml
./pisi-install start*pisi ./pisi-install start*pisi
./pisi-install popt*pisi ./pisi-install popt*pisi
find tmp -iname '*.bdb' | xargs ./cat-db.py find tmp -iname '*.bdb' | xargs ./cat-db.py