From cb3b24e9e13636b882da616cffe6e2d045cd51ab Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jun 27 2014 04:17:56 +0000 Subject: This is a combination of 13 commits that removed function redefinitions in centpkg because they work upstream in pyrpkg remove clone() definition since the one in pyrpkg works remove add_tag definition because the definition upstream in pyrpkg works remove clean definition because the definition upstream in pyrpkg works remove clone_with_dirs definition because the definition upstream in pyrpkg works remove commit definition because the definition upstream in pyrpkg works remove delete_tag because the definition upstream in pyrpkg works remove list_tag because the definition upstream in pyrpkg works remove pull because the definition upstream in pyrpkg works remove switch_branch because the definition upstream in pyrpkg works remove compile because the definition upstream in pyrpkg works remove giturl because the definition upstream in pyrpkg works remove local because the definition upstream in pyrpkg works remove verify_files because the definition upstream in pyrpkg works --- diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index b8711d5..eff2a72 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -74,8 +74,6 @@ class Commands(pyrpkg.Commands): # These are the commands defined in the base pyrpkg.Commands class # and have been implemented here - def clone(self, *args, **kwargs): - super(Commands, self).clone(*args, **kwargs) def sources(self, outdir=None): """Download source files""" @@ -138,21 +136,6 @@ class Commands(pyrpkg.Commands): def load_kojisession(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def add_tag(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - - def clean(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - - def clone_with_dirs(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - - def commit(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - - def delete_tag(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - def get_latest_commit(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") @@ -162,24 +145,15 @@ class Commands(pyrpkg.Commands): def import_srpm(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def list_tag(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - def new(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") def patch(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def pull(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - def push(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def switch_branch(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - def file_exists(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") @@ -192,12 +166,6 @@ class Commands(pyrpkg.Commands): def clog(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def compile(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - - def giturl(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - def koji_upload(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") @@ -207,9 +175,6 @@ class Commands(pyrpkg.Commands): def lint(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def local(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg") - def mock_config(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") @@ -228,5 +193,3 @@ class Commands(pyrpkg.Commands): def unused_patches(self, *args, **kwargs): raise NotImplementedError("This command is not yet implemented in centpkg") - def verify_files(self, *args, **kwargs): - raise NotImplementedError("This command is not yet implemented in centpkg")