|
@ -33,6 +33,9 @@ class Repository |
|
|
return @src .. "/master" |
|
|
return @src .. "/master" |
|
|
@src |
|
|
@src |
|
|
|
|
|
|
|
|
|
|
|
getPackages: => |
|
|
|
|
|
getPackages(@\getRepoPath!) |
|
|
|
|
|
|
|
|
args, options = shell.parse(...) |
|
|
args, options = shell.parse(...) |
|
|
|
|
|
|
|
|
printUsage = -> |
|
|
printUsage = -> |
|
@ -186,7 +189,7 @@ listPackages = (filter) -> |
|
|
for _, repository in pairs(repositories) |
|
|
for _, repository in pairs(repositories) |
|
|
|
|
|
|
|
|
print("Checking Repository " .. repository.src) |
|
|
print("Checking Repository " .. repository.src) |
|
|
packages = getPackages(repository\getRepoPath!) |
|
|
|
|
|
|
|
|
packages = repository\getPackages! |
|
|
|
|
|
|
|
|
if packages == nil |
|
|
if packages == nil |
|
|
io.stderr\write("Error while trying to receive package list for " .. repository.src .. "\n") |
|
|
io.stderr\write("Error while trying to receive package list for " .. repository.src .. "\n") |
|
@ -243,7 +246,7 @@ getInformation = (requestedPackage) -> |
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
for _, repository in pairs(repositories) |
|
|
for _, repository in pairs(repositories) |
|
|
packages = getPackages(repository\getRepoPath!) |
|
|
|
|
|
|
|
|
packages = repository\getPackages! |
|
|
|
|
|
|
|
|
if packages == nil |
|
|
if packages == nil |
|
|
io.stderr\write("Error while trying to receive package list for " .. repository.src .. "\n") |
|
|
io.stderr\write("Error while trying to receive package list for " .. repository.src .. "\n") |
|
|