Commit 0bf0f9ba authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Merge branch 'add_aliases' into 'master'

Add aliases for mpcdf_set_as_branch, mpcdf_sync_projects

See merge request mpcdf/osc-plugins!1
parents 85d83c7a f0429d75
Pipeline #67039 passed with stage
in 14 seconds
......@@ -10,6 +10,7 @@ import osc.core
import osc.cmdln
@osc.cmdln.alias("mpcdf_setbranch")
def do_mpcdf_set_as_branch(self, subcmd, opts, *args):
"""${cmd_name}: Convert a package to be a branch of another
......
......@@ -15,6 +15,7 @@ import osc.cmdln
help="Source project")
@osc.cmdln.option('-t', '--to',
help="Just sync with this single destination project")
@osc.cmdln.alias("mpcdf_sync_projects")
def do_mpcdf_sync_projects(self, subcmd, opts, *args):
"""${cmd_name}: Branch all/missing packages from a project to another and sync their metadata
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment