[elbe-devel] [PATCH 1/1] Revert "repomanager: add fallback, when reprepro fails to add dsc"

Bastian Germann bage at linutronix.de
Wed Jul 24 11:46:32 CEST 2019


> From: Olivier Dion <dion at linutronix.de>
> 
> This reverts commit c890031925a50fd1b743ecb7d00d0b5f40c3b744.
> 
> See <https://github.com/Linutronix/elbe/issues/196> for the rational.
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/repomanager.py | 14 +-------------
>  1 file changed, 1 insertion(+), 13 deletions(-)
> 
> diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
> index 1969c8f9..a3330b45 100644
> --- a/elbepack/repomanager.py
> +++ b/elbepack/repomanager.py
> @@ -283,19 +283,7 @@ class RepoBase(object):
>          try:
>              self._includedsc(path, self.repo_attr.codename, component)
>          except CommandError as ce:
> -            if ce.returncode == 251:
> -                # 251 is -5 (RET_ERROR_GPGME in reprepro source)
> -                #
> -                # gnupg2_2.1.18-8~deb9u3.dsc is signed using EdDSA
> -                # jessies gpg version does not support this.
> -                # expect more packages signed with EdDSA soon.
> -                #
> -                # copy the dsc into the cdrom root,
> -                # when reprepro fails to insert it.
> -                self.log.printo('Unable to verify dsc "%s":' % path)
> -                self.log.printo('unsupported signature algorithm')
> -                self.log.do('cp -av "%s" "%s"' % (path, self.fs.path))
> -            elif force:
> +            if force:
>                  # Including dsc did not work.
>                  # Maybe we have the same Version with a
>                  # different md5 already.
> 



More information about the elbe-devel mailing list