|
Brian Stinson |
2fb8a5 |
import pyrpkg
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
from . import cli
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
class Commands(pyrpkg.Commands):
|
|
Brian Stinson |
2fb8a5 |
def __init__(self, path, lookaside, lookasidehash, lookaside_cgi,
|
|
Brian Stinson |
2fb8a5 |
gitbaseurl, anongiturl, branchre, kojiconfig,
|
|
Brian Stinson |
2fb8a5 |
build_client, user=None, dist=None, target=None,
|
|
Brian Stinson |
2fb8a5 |
quiet=False):
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
super(Commands,self).__init__(path, lookaside, lookasidehash,
|
|
Brian Stinson |
2fb8a5 |
lookaside_cgi, gitbaseurl, anongiturl,
|
|
Brian Stinson |
2fb8a5 |
branchre, kojiconfig, build_client,
|
|
Brian Stinson |
2fb8a5 |
user, dist, target,
|
|
Brian Stinson |
2fb8a5 |
quiet)
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
# These are the commands defined in the base pyrpkg.Commands class
|
|
Brian Stinson |
2fb8a5 |
def load_kojisession(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def add_tag(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def clean(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def clone(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def clone_with_dirs(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def commit(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def delete_tag(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def get_latest_commit(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def gitbuildhash(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def import_srpm(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def list_tag(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def new(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def patch(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def pull(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def push(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def sources(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def switch_branch(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def file_exists(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def upload_file(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def build(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def clog(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def compile(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def giturl(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def koji_upload(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def install(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def lint(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def local(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def mock_config(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def mockbuild(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def upload(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def prep(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def srpm(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def unused_patches(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|
|
Brian Stinson |
2fb8a5 |
|
|
Brian Stinson |
2fb8a5 |
def verify_files(self, *args, **kwargs):
|
|
Brian Stinson |
2fb8a5 |
raise NotImplementedError("This command is not yet implemented in centpkg")
|