mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fixed minor bugs
This commit is contained in:
parent
eb000511da
commit
256f0ff0cf
3 changed files with 9 additions and 2 deletions
|
@ -3,6 +3,8 @@ This is the list of things we need to get done by 2/15 in order to make a
|
||||||
|
|
||||||
TIER 1 (critical)
|
TIER 1 (critical)
|
||||||
* a package should be made of tupkg client tool
|
* a package should be made of tupkg client tool
|
||||||
|
* tupkgupdate needs a way to find out what the repo is called; possibly a
|
||||||
|
file in the top level dir of the cvs repo called "NAME"?
|
||||||
|
|
||||||
TIER 2 (pretty important)
|
TIER 2 (pretty important)
|
||||||
* tupkg and tupkgs should not output unhashed passwords
|
* tupkg and tupkgs should not output unhashed passwords
|
||||||
|
@ -11,8 +13,13 @@ TIER 2 (pretty important)
|
||||||
* add foreign key constraints with on delete cascade to make sure
|
* add foreign key constraints with on delete cascade to make sure
|
||||||
entries are not orphaned in PackageSources and PackageDepends
|
entries are not orphaned in PackageSources and PackageDepends
|
||||||
* migrate to InnoDB tables?
|
* migrate to InnoDB tables?
|
||||||
|
* tupkgupdate should not run gensync if repo is empty (but should delete
|
||||||
|
db file if it exists)
|
||||||
|
|
||||||
TIER 3 (noncritical)
|
TIER 3 (noncritical)
|
||||||
* tupkgupdate should use updatesync instead of gensync - Paul
|
* tupkgupdate should use updatesync instead of gensync - Paul
|
||||||
* error message when a non TU tries to adopt packages
|
* error message when a non TU tries to adopt packages
|
||||||
* add method from the web for setting/changing package category
|
* add method from the web for setting/changing package category
|
||||||
|
* tupkgupdate should have a flag to keep it from modifying the repo if
|
||||||
|
suddenly all the PKGBUILDs disappear from the CVS dir (probably an error
|
||||||
|
not actual clearing house)
|
||||||
|
|
|
@ -122,7 +122,7 @@ class PackageDatabase:
|
||||||
"VALUES (" + str(id) + ", '" + source + "')")
|
"VALUES (" + str(id) + ", '" + source + "')")
|
||||||
# PackageDepends
|
# PackageDepends
|
||||||
for dep in package.depends:
|
for dep in package.depends:
|
||||||
depid = self.lookupOrDummy(dep, locationId)
|
depid = self.lookupOrDummy(dep)
|
||||||
q.execute("INSERT INTO PackageDepends (PackageID, DepPkgID) " +
|
q.execute("INSERT INTO PackageDepends (PackageID, DepPkgID) " +
|
||||||
"VALUES (" + str(id) + ", " + str(depid) + ")")
|
"VALUES (" + str(id) + ", " + str(depid) + ")")
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ if ($_COOKIE["AURSID"]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$shcmd = "/bin/sh -c 'mv ".$upload_file." ".$INCOMING_DIR.$pkg_name;
|
$shcmd = "/bin/sh -c 'mv ".$upload_file." ".$INCOMING_DIR.$pkg_name;
|
||||||
$shcmd.= "/".$_FILES["pfile"]["name"]."'");
|
$shcmd.= "/".$_FILES["pfile"]["name"]."'";
|
||||||
@exec($shcmd);
|
@exec($shcmd);
|
||||||
|
|
||||||
# if no error, get list of directory contents and process PKGBUILD
|
# if no error, get list of directory contents and process PKGBUILD
|
||||||
|
|
Loading…
Add table
Reference in a new issue