[Pkg-debile-commits] [debile-slave] 70/100: adding user bits
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:53:11 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch master
in repository debile-slave.
commit ed7fa6bef9401f1f9e78acacab13551632e289c9
Author: Paul Tagliamonte <tag at pault.ag>
Date: Tue Jun 11 22:29:59 2013 -0400
adding user bits
---
ethel/cli.py | 23 +++++++++++++++++++++++
setup.py | 12 +++---------
2 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/ethel/cli.py b/ethel/cli.py
new file mode 100644
index 0000000..2e87bd2
--- /dev/null
+++ b/ethel/cli.py
@@ -0,0 +1,23 @@
+import clint
+from ethel.client import get_proxy
+
+proxy = get_proxy()
+
+
+def opts():
+ args = []
+ for arg in clint.args:
+ if arg is None:
+ break
+ args.append(arg)
+ return args
+
+
+def get_source_package():
+ args = opts()
+ print(proxy.get_source_package(*args))
+
+
+def get_binary_package():
+ args = opts()
+ print(proxy.get_binary_package(*args))
diff --git a/setup.py b/setup.py
index 342bf54..bd8f011 100755
--- a/setup.py
+++ b/setup.py
@@ -20,17 +20,11 @@ setup(
platforms=['any'],
entry_points = {
'console_scripts': [
-# 'ethel-buildd = ethel.client:buildd',
-# 'ethel-next = ethel.cli:next',
+ 'ethel-source = ethel.cli:get_source_package',
+ 'ethel-binary = ethel.cli:get_binary_package',
+
'etheld = ethel.daemon:main',
'ethel-update = ethel.utils:doupdate',
-# 'ethel-close = ethel.cli:close',
-# 'ethel-submit = ethel.cli:submit',
-# 'ethel-dget-url = ethel.cli:dget',
-# 'ethel-update = ethel.chroot:run_update',
-# 'ethel-sbuild = ethel.commands.sbuild:main',
-# 'ethel-adequate = ethel.commands.adequate:main',
-# 'ethel-piuparts = ethel.commands.piuparts:main',
],
}
)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git
More information about the Pkg-debile-commits
mailing list