示例#1
0
文件: rpm.py 项目: abutcher/juicer
def RPMUploadCommand(args):  # pragma: no cover
    jc = JuicerCommand(args)

    for environment in jc.args.environment:
        jc.output.info("Starting upload for {} environment".format(environment))
        cart = juicer.cart.Cart('upload-cart', jc.args.r)
        cart.upload_items(environment, jc.connections[environment])
示例#2
0
文件: rpm.py 项目: abutcher/juicer
def RPMUploadCommand(args):  # pragma: no cover
    jc = JuicerCommand(args)

    for environment in jc.args.environment:
        jc.output.info(
            "Starting upload for {} environment".format(environment))
        cart = juicer.cart.Cart('upload-cart', jc.args.r)
        cart.upload_items(environment, jc.connections[environment])
示例#3
0
def CartPushCommand(args):  # pragma: no cover
    jc = JuicerCommand(args)

    cart = juicer.cart.Cart(jc.args.cartname,
                            autoload=True,
                            autosave=True,
                            autosync=False)
    for environment in jc.args.environment:
        cart.upload_items(environment, jc.connections[environment],
                          jc.args.force)
示例#4
0
def CartPushCommand(args):  # pragma: no cover
    jc = JuicerCommand(args)

    cart = juicer.cart.Cart(jc.args.cartname, autoload=True, autosave=True, autosync=False)
    for environment in jc.args.environment:
        cart.upload_items(environment, jc.connections[environment], jc.args.force)