From: "Barra Mac Mathúna" <barrymac@gmail.com>
To: "John J. Franey" <jjfraney@gmail.com>
Cc: "Michael J Gruber" <michaeljgruber+gmane@fastmail.fm>,
git@vger.kernel.org
Subject: Re: cvsimport in cron
Date: Tue, 27 May 2008 15:31:17 +0000 [thread overview]
Message-ID: <ce7555260805270831j648a0e36laaac7b0a7c349e7@mail.gmail.com> (raw)
In-Reply-To: <1211895207.7877.4.camel@isidore.myhome.westell.com>
Wow thanks so much!!
It's great to get such a quality response from the mailing list!
On to the next problem :-)
On Tue, May 27, 2008 at 1:33 PM, John J. Franey <jjfraney@gmail.com> wrote:
> On Tue, 2008-05-27 at 13:08 +0200, Michael J Gruber wrote:
>> Barra Mac Mathúna venit, vidit, dixit 27.05.2008 12:45:
>> > Thanks Martin,
>> >
>> > Nice to know how to log the progress! Good tip to try normal cvs over
>> > ssh, which works fine.
>> >
>> > I wish it was possible to get more verbose output from the git
>> > cvsimport command. The connection refused error seems to me to be
>> > misleading. I would expect at least some output from cvsps but it
>> > doesn't even get to the first step.
>> >
>> > So if everything works at the command line, what significant things
>> > can be different in a cron job?
>>
>> The environment! Put "env" in your cron job and compare the output to
>> "env" on the command line. cvs or cvsps may be in $PATH on the command
>> line but not in cron, or $PERL5LIB might be different.
>>
>> Cheers,
>> Michael
>>
>
> Great suggestion!
>
> I am also having this problem. To debug, I inserted env as you
> suggested. (Doh, why didn't this occur to me weeks ago?). I compared
> the output of cron and login-shell runs.
>
> So what is the critical env diff between cron run and login run?
>
> The answer is: CVS_RSH=ssh
>
> Be sure to export.
>
> Thanks.
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
--
I must Create a System, or be enslaved by another Man's
Wm. Blake 1757 - 1827
next prev parent reply other threads:[~2008-05-27 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-26 18:00 cvsimport in cron barrymac
2008-05-26 23:13 ` Martin Langhoff
2008-05-27 10:45 ` Barra Mac Mathúna
2008-05-27 11:08 ` Michael J Gruber
2008-05-27 11:31 ` Martin Langhoff
2008-05-27 13:33 ` John J. Franey
2008-05-27 15:31 ` Barra Mac Mathúna [this message]
2008-05-27 12:08 ` Barra Mac Mathúna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ce7555260805270831j648a0e36laaac7b0a7c349e7@mail.gmail.com \
--to=barrymac@gmail.com \
--cc=git@vger.kernel.org \
--cc=jjfraney@gmail.com \
--cc=michaeljgruber+gmane@fastmail.fm \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).