* alpha testlerine baslayalim
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# Author: Eray Ozkural <eray@uludag.org.tr>
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
from installdb import installdb
|
from installdb import installdb
|
||||||
import packagedb
|
from packagedb import packagedb
|
||||||
from ui import ui
|
from ui import ui
|
||||||
from version import Version
|
from version import Version
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -8,7 +8,7 @@
|
|||||||
# yes, we are cheap
|
# yes, we are cheap
|
||||||
|
|
||||||
from bsddb.dbshelve import DBShelf
|
from bsddb.dbshelve import DBShelf
|
||||||
import os
|
import os, fcntl
|
||||||
|
|
||||||
import util
|
import util
|
||||||
from config import config
|
from config import config
|
||||||
@@ -26,7 +26,7 @@ class PackageDB(DBShelf):
|
|||||||
filetype=db.DB_HASH
|
filetype=db.DB_HASH
|
||||||
dbname = None
|
dbname = None
|
||||||
self.open( filename, dbname, filetype, flags, mode )
|
self.open( filename, dbname, filetype, flags, mode )
|
||||||
self.fdummy = open(self.db_filename)
|
self.fdummy = open(filename)
|
||||||
fcntl.flock(self.fdummy, fcntl.LOCK_EX)
|
fcntl.flock(self.fdummy, fcntl.LOCK_EX)
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
|
|||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pwd
|
||||||
|
rm -rf tmp
|
||||||
|
./pisi-build samples/*/*.pspec
|
||||||
|
./pisi-index .
|
||||||
|
./pisi-updatedb pisi-index.xml
|
||||||
|
./pisi-install start*pisi
|
||||||
|
./pisi-install popt*pisi
|
||||||
|
find tmp -iname '*.bdb' | xargs ./cat-db.py
|
||||||
Reference in New Issue
Block a user