Re: "Invalid revision range" if pushing to pkg-ruby-extras/$repo on git.d.o

2017-06-22 Thread Antonio Terceiro
On Thu, Jun 22, 2017 at 06:22:56PM +0200, Georg Faerber wrote:
> Hi all,
> 
> Not sure if this is specific to repos inside pkg-ruby-extras/, or if
> this is a more general problem, but just wanted to make sure to report
> this, at least:
> 
> I've just pushed three tags in three different repos, and each time I
> got:
> 
> # git push --tags
> Counting objects: 1, done.
> Writing objects: 100% (1/1), 861 bytes | 0 bytes/s, done.
> Total 1 (delta 0), reused 0 (delta 0)
> remote: Sending notification emails to: 
> pkg-ruby-extras-comm...@lists.alioth.debian.org
> remote: fatal: Invalid revision range 
> ..f2f53a7c97c257d5b5ce0c4d5e424e292ad0f769
> [...]
> 
> Additionally, I've deleted a branch, and got:
> 
> [...]
> remote: Sending notification emails to: 
> pkg-ruby-extras-comm...@lists.alioth.debian.org
> remote: fatal: ambiguous argument 'refs/heads/schleuder/3.1.0-3': unknown 
> revision or path not in the working tree.
> remote: Use '--' to separate paths from revisions, like this:
> remote: 'git  [...] -- [...]'
> remote: fatal: Invalid revision range 
> 273d191c58afbfecbbd3effab221f6750aff63c2..
> 
> It seems one of the hooks doesn't deal with this correctly, currently at
> least; this is the first time I'm seeing this. As I'm missing rights to
> temporarily add debugging code, to find the hook which causes this, I
> didn't. 
> 
> If someone takes care of this, and needs a hand, let me know. I've
> worked a lot the last days with debugging and setting up hooks.

I have also seen this, and I think it's the hook that marks bugs as
pending in the BTS based on commits (I enabled it globally for all
pkg-ruby-extras/ repositories some weeks ago). See
/home/groups/pkg-ruby-extras/scripts/pkg-ruby-extras-post-receive

AFAICT these error messages are harmless, though


signature.asc
Description: PGP signature


"Invalid revision range" if pushing to pkg-ruby-extras/$repo on git.d.o

2017-06-22 Thread Georg Faerber
Hi all,

Not sure if this is specific to repos inside pkg-ruby-extras/, or if
this is a more general problem, but just wanted to make sure to report
this, at least:

I've just pushed three tags in three different repos, and each time I
got:

# git push --tags
Counting objects: 1, done.
Writing objects: 100% (1/1), 861 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: Sending notification emails to: 
pkg-ruby-extras-comm...@lists.alioth.debian.org
remote: fatal: Invalid revision range 
..f2f53a7c97c257d5b5ce0c4d5e424e292ad0f769
[...]

Additionally, I've deleted a branch, and got:

[...]
remote: Sending notification emails to: 
pkg-ruby-extras-comm...@lists.alioth.debian.org
remote: fatal: ambiguous argument 'refs/heads/schleuder/3.1.0-3': unknown 
revision or path not in the working tree.
remote: Use '--' to separate paths from revisions, like this:
remote: 'git  [...] -- [...]'
remote: fatal: Invalid revision range 
273d191c58afbfecbbd3effab221f6750aff63c2..

It seems one of the hooks doesn't deal with this correctly, currently at
least; this is the first time I'm seeing this. As I'm missing rights to
temporarily add debugging code, to find the hook which causes this, I
didn't. 

If someone takes care of this, and needs a hand, let me know. I've
worked a lot the last days with debugging and setting up hooks.

All the best,
Georg


signature.asc
Description: Digital signature