self.pakfire.dist(pkgs, resultdirs=[self.args.resultdir,])
-class CliServer(Cli):
+class CliRepo(Cli):
def __init__(self):
self.parser = argparse.ArgumentParser(
- description = _("Pakfire server command line interface."),
+ description = _("Pakfire repo command line interface."),
)
self.parse_common_arguments()
path = self.args.path[0]
self.pakfire.repo_create(path, self.args.inputs)
+
+
+class CliMaster(Cli):
+ pass
+
+
+class CliSlave(Cli):
+ pass
+
import os
import sys
-from pakfire.cli import Cli, CliBuilder, CliServer
+from pakfire.cli import *
basename2cls = {
"pakfire" : Cli,
"pakfire-build" : CliBuilder,
- "pakfire-server" : CliServer,
+ "pakfire-master" : CliMaster,
+ "pakfire-repo" : CliRepo,
+ "pakfire-slave" : CliSlave,
}
# Get the basename of the program
--- /dev/null
+pakfire
\ No newline at end of file
--- /dev/null
+pakfire
\ No newline at end of file
author_email = "info@ipfire.org",
url = "http://redmine.ipfire.org/projects/buildsystem3",
packages = ["pakfire", "pakfire.packages", "pakfire.plugins", "pakfire.repository",],
- scripts = ["scripts/pakfire", "scripts/pakfire-build", "scripts/pakfire-server"],
+ scripts = [
+ "scripts/pakfire",
+ "scripts/pakfire-build",
+ "scripts/pakfire-master",
+ "scripts/pakfire-repo",
+ "scripts/pakfire-slave",
+ ],
cmdclass = { "build" : build_extra.build_extra,
"build_i18n" : build_i18n.build_i18n },
)