small fixes
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@803 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
||||
sqlite_query($db, $sql);
|
||||
}
|
||||
|
||||
$pkgfile = urldecode($_GET['package']);
|
||||
$pkgfile = rawurldecode($_GET['package']);
|
||||
|
||||
$pkgarch = $_GET['arch'];
|
||||
$pkgpath = "../packages/" . $pkgarch . "/" . $pkgfile;
|
||||
|
||||
@@ -453,7 +453,7 @@ def packages(options):
|
||||
uploadQueueLength += 1
|
||||
|
||||
print_info(red(" * ")+blue("Packages that would be ")+red("removed:\t\t\t")+bold(str(removalQueueLength)))
|
||||
print_info(red(" * ")+blue("Packages that would be ")+yellow("downloaded/moved locally:\t\t")+bold(str(downloadQueueLength)))
|
||||
print_info(red(" * ")+blue("Packages that would be ")+yellow("downloaded/moved locally:\t")+bold(str(downloadQueueLength)))
|
||||
print_info(red(" * ")+blue("Packages that would be ")+green("uploaded:\t\t\t")+bold(str(uploadQueueLength)))
|
||||
print_info(red(" * ")+blue("Total removal ")+red("size:\t\t\t\t")+bold(bytesIntoHuman(str(totalRemovalSize))))
|
||||
print_info(red(" * ")+blue("Total download ")+yellow("size:\t\t\t\t")+bold(bytesIntoHuman(str(totalDownloadSize))))
|
||||
|
||||
@@ -224,6 +224,8 @@ def quickpkg(atom,dirpath):
|
||||
pkgname = atom.split("/")[1]
|
||||
pkgcat = atom.split("/")[0]
|
||||
pkgfile = pkgname+".tbz2"
|
||||
if not os.path.isdir(dirpath):
|
||||
os.makedirs(dirpath)
|
||||
dirpath += "/"+pkgname+".tbz2"
|
||||
dbdir = getPortageAppDbPath()+"/"+pkgcat+"/"+pkgname+"/"
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ def getRemotePackageChecksum(servername, filename, branch):
|
||||
|
||||
# does the package has "#" (== tag) ? hackish thing that works
|
||||
filename = filename.replace("#","%23")
|
||||
# "+"
|
||||
filename = filename.replace("+","%2b")
|
||||
|
||||
request = url+etpHandlers['md5sum']+filename+"&branch="+branch
|
||||
remoteLog.log(ETP_LOGPRI_INFO,ETP_LOGLEVEL_VERBOSE,"getRemotePackageChecksum: requested url -> "+request)
|
||||
|
||||
Reference in New Issue
Block a user