Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-Git CPAN distribution.

Report information
The Basics
Id: 59828
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-Git

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.102090
Fixed in: (no value)



Subject: t/2-commit-build-custom.t hanfs
t/2-commit-build-custom.t hangs on Windows XP at the line "$zilla->build;". git version 1.6.5.1.1367.gcd48 Git::Wrapper version is 0.011 perl 5.10.1 -- Alexandr Ciornii, http://chorny.net
On Thu Jul 29 12:48:20 2010, CHORNY wrote: Show quoted text
> t/2-commit-build-custom.t hangs on Windows XP at the line
"$zilla->build;". Show quoted text
> > git version 1.6.5.1.1367.gcd48 > Git::Wrapper version is 0.011 > perl 5.10.1
are you using the latest version? can you try to see what's going on with "perl -Ilib -d t/2-commit-build-custom.t" and then stepping in?
Subject: t/2-commit-build-custom.t hangs
On Thu Jul 29 13:28:33 2010, JQUELIN wrote: Show quoted text
> On Thu Jul 29 12:48:20 2010, CHORNY wrote:
> > t/2-commit-build-custom.t hangs on Windows XP at the line
> "$zilla->build;". > > are you using the latest version?
sure Problem is in Dist::Zilla::Plugin::Git::CommitBuild->_commit_build own git call I replaced some of code with this: my @args=('commit-tree', $tree, map { ( -p => $_ ) } @parents); my $in=_format_message( $self->message, $src ); open my $file,'>','git_commit_txt'; print $file $in; close $file; push @args,"<git_commit_txt"; print STDERR "git ",join(' ',@args),"\n"; print STDERR "git input: $in\n"; IPC::Open3::open3(my $wtr, my $rdr, my $err, 'git', @args); #print {$wtr} $in; close $wtr; Now it dies with error: unhandled: initial commit at C:/strawberry/perl/site/lib/Git/Wrapper.pm line 110. result of `git log --pretty=medium --no-color build-dev`: ---------------- commit ea56801e3ca3719f980b482881e0e56f64b08c33 Author: dzp-git test <dzp-git@test> Date: Sat Aug 7 09:33:14 2010 +0300 commit b2d00d945ee2c7400e911df584dd31cca302890e Author: dzp-git test <dzp-git@test> Date: Sat Aug 7 09:33:11 2010 +0300 initial commit ---------------- -- Alexandr Ciornii, http://chorny.net
RT-Send-CC: YANICK [...] cpan.org
sorry for the time needed to answer - real life kicked in. yanick, i guess this bug is for you! thank you... :-)
Subject: Re: [rt.cpan.org #59828] t/2-commit-build-custom.t hanfs
Date: Thu, 03 Feb 2011 07:50:23 -0500
To: bug-Dist-Zilla-Plugin-Git [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On 11-02-02 04:33 AM, Jerome Quelin via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=59828> > > sorry for the time needed to answer - real life kicked in. > yanick, i guess this bug is for you! thank you... :-)
Okie, I'll see if I can reproduce it. Hmm... Which means I have to find a Windows box. Oh my. :-) `/.
Subject: t/2-commit-build-custom.t hangs
RT-Send-CC: YANICK [...] cpan.org
I can't reproduce this with Windows XP, Perl 5.14.2, Git::Wrapper 0.025, and git 1.7.11.msysgit.1 (Git-1.7.11-preview20120710). Dist-Zilla-Plugin-Git passes all tests, including commit-build-custom.t. If I don't hear otherwise, I'm going to mark this resolved.
On Sat Sep 15 14:33:43 2012, CJM wrote: Show quoted text
> I can't reproduce this with Windows XP, Perl 5.14.2, Git::Wrapper 0.025, > and git 1.7.11.msysgit.1 (Git-1.7.11-preview20120710). > Dist-Zilla-Plugin-Git passes all tests, including commit-build-custom.t.
Same for me git version 1.7.6.msysgit.0 -- Alexandr Ciornii, http://chorny.net
RT-Send-CC: YANICK [...] cpan.org
Ok, marking as resolved.