Bug#888623: pkg-perl-tools: dpt forward fails to fork GitHub repo without org

Christopher Hoskin mans0954 at debian.org
Sat Jan 27 22:18:16 UTC 2018


Package: pkg-perl-tools
Version: 0.39
Severity: normal

Dear Maintainer,

There doesn't appear to be a way for a user who is not a member of pkg-perl-tools or another organisation on GitHub to use dpt forward to forward a patch upstream via forking.

If the user is not a member of pkg-perl-tools on GitHub the following messages are displayed:

dpt forward <path to patch>
Use of uninitialized value $url in concatenation (.) or string at /usr/share/pkg-perl-tools/forward line 428.
Use of uninitialized value $url in concatenation (.) or string at /usr/share/pkg-perl-tools/forward line 429.
Use of uninitialized value $url in concatenation (.) or string at /usr/share/pkg-perl-tools/forward line 468.

the repo is not forked, and the pull request not issued.

If the user instead does:

DPT_GITHUB_ORGNAME=<org> dpt forward debian/patches/grammar.patch 

where <org> is a GitHub organisation the user is a member of then the error does not occur.

I tried DPT_GITHUB_ORGNAME=<GitHub Username> but that doesn't appear to help.

Thanks.

Christopher Hoskin

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pkg-perl-tools depends on:
ii  debhelper                      11.1.3
ii  devscripts                     2.17.12
ii  dh-make-perl                   0.98
ii  dpkg-dev                       1.19.0.5
ii  git                            1:2.15.1-3
ii  git-buildpackage               0.9.6
ii  libdatetime-perl               2:1.45-1
ii  libdpkg-perl                   1.19.0.5
ii  libgit-repository-perl         1.321-1
ii  libipc-run-perl                0.96-1
ii  libjson-xs-perl                3.040-1
ii  libparse-debianchangelog-perl  1.2.0-12
ii  libproc-invokeeditor-perl      1.13-1
ii  librt-client-rest-perl         1:0.50-1
ii  lintian                        2.5.72
ii  openssh-client [ssh-client]    1:7.6p1-3
ii  perl                           5.26.1-4
ii  pristine-tar                   1.42
ii  quilt                          0.63-8.2

Versions of packages pkg-perl-tools recommends:
ii  autodep8                   0.10
ii  autopkgtest                5.1
ii  libconfig-model-dpkg-perl  2.105
ii  libconfig-model-perl       2.116-1
ii  libdebian-copyright-perl   0.2-4
ii  libfile-slurp-perl         9999.19-6
ii  libmime-lite-perl          3.030-2
ii  libmodule-inspector-perl   1.05-2
ii  libnet-github-perl         0.93-1
ii  libsoap-lite-perl          1.26-1
ii  libwww-mechanize-perl      1.86-1
ii  libyaml-libyaml-perl       0.69+repack-1
ii  lintian                    2.5.72
ii  myrepos [mr]               1.20160123

Versions of packages pkg-perl-tools suggests:
ii  bc                   1.07.1-1
ii  cdbs                 0.4.156
pn  duck                 <none>
pn  moreutils            <none>
pn  perl-depends         <none>
ii  python               2.7.14-4
ii  python-launchpadlib  1.10.5-1

-- no debconf information



More information about the pkg-perl-maintainers mailing list