This report is very old and it looks like a misuse. My guess is the branch used as a base for the PR (borgbackup/borg:docs-ml) doesn't exist. You have to either set a tracking branch or use --base to specify the branch.
I would close as invalid if there is no further response. On Sun, 13 Dec 2015 16:15:03 -0500 Antoine Beaupré <anar...@debian.org> wrote: > Package: git-hub > Version: 0.9.0-2 > Severity: normal > > > After figuring out the tangle of configuration needed to keep > github-pull from trying to push the branch to the upstream... > > (hint: > > hub.upstream=borgbackup/borg > hub.forkremote=anarcat > > ) > > ... it actually failed to create the PR with what seems to be an API > compatibility problem: > > [1041]anarcat@angela:borg(docs-ml $%=)$ git-hub pull new > Pushing docs-ml to docs-ml in anarcat > Creating pull request from branch docs-ml to borgbackup/borg:docs-ml > Error: GitHub error: Validation Failed > Error: HTTP Error 422: Unprocessable Entity > Error: https://api.github.com/repos/borgbackup/borg/pulls > Error: <httplib.HTTPMessage instance at 0x7f2ca6b8f3f8> > Error: {"message":"Validation Failed","errors": [{"resource":"PullRequest","field":"base","code":"invalid"}],"documentation_url":"https:// developer.github.com/v3/pulls/#create-a-pull-request"} > > I suspect it could be because there's an accent in my last name > ("Beaupré") which confuses the API, maybe because of a lack of encoding. > > I ended up creating this PR by hand: > > https://github.com/borgbackup/borg/pull/486 > > -- System Information: > Debian Release: 8.2 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (500, 'oldstable'), (1, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores) > Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages git-hub depends on: > ii git 1:2.1.4-2.1 > ii python 2.7.9-1 > > git-hub recommends no packages. > > git-hub suggests no packages. > > -- no debconf information > > -- Leandro Lucarella (Luca) https://llucax.com
signature.asc
Description: This is a digitally signed message part.