Under Windows, Bzr call for cygwin ssh.exe, there is always not HOME path specified at default, but HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd

Bug #804247 reported by Yonggang Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

But we have HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd
So when there is no HOME path specified, please generating HOME environment variable by using HOMEDRIVER and HOMEPATH.
That's must be working!!!!!!
OR ssh will go to the hell.

Revision history for this message
Martin Pool (mbp) wrote :

Is that a supported, recommended, or common setup on cygwin?

Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
tags: added: cygwin ssh
Revision history for this message
Alexander Belchenko (bialix) wrote :

Some Windows versions has home, others HOMEDRIVE and HOMEPATH. I think it's a duty of cygwin to provide an approriate HOME environment variable.

So, possible workarounds:

* set environment variable set HOME=%HOMEDRIVE%%HOMEPATH% (you can add such varibale via System Settings to a single user only or for all users

* OR set environment variable set BZR_SSH_paramiko and don't use cygwin's ssh

Revision history for this message
Alexander Belchenko (bialix) wrote :

I meant
BZR_SSH=paramiko

Revision history for this message
Yonggang Luo (luoyonggang) wrote : Re: [Bug 804247] Re: Under Windows, Bzr call for cygwin ssh.exe, there is always not HOME path specified at default, but HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd

2011/7/1 Alexander Belchenko <email address hidden>

> Some Windows versions has home, others HOMEDRIVE and HOMEPATH. I think
> it's a duty of cygwin to provide an approriate HOME environment
> variable.
>
> So, possible workarounds:
>
> * set environment variable set HOME=%HOMEDRIVE%%HOMEPATH% (you can add
> such varibale via System Settings to a single user only or for all users
>
> * OR set environment variable set BZR_SSH_paramiko and don't use
> cygwin's ssh
>
> Sorry, I've tried HOME=%HOMEDRIVE%%HOMEPATH%, but not working!

From my point of view, bzr-developers should get bzr easily working.
So it's better to add such an option by default..

Even though that's the issue of cygwin, but I think it's better to add that
in BZR.
So bzr will working smoothing .

 --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/804247
>
> Title:
> Under Windows, Bzr call for cygwin ssh.exe, there is always not HOME
> path specified at default, but HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd
>
> Status in Bazaar Version Control System:
> Confirmed
>
> Bug description:
> But we have HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd
> So when there is no HOME path specified, please generating HOME
> environment variable by using HOMEDRIVER and HOMEPATH.
> That's must be working!!!!!!
> OR ssh will go to the hell.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/bzr/+bug/804247/+subscriptions
>

--
         此致

罗勇刚
Yours
    sincerely,
Yonggang Luo

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 804247] Re: Under Windows, Bzr call for cygwin ssh.exe, there is always not HOME path specified at default, but HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd

02.07.2011 3:40, Yonggang Luo пишет:
> 2011/7/1 Alexander Belchenko <email address hidden>
>
>> Some Windows versions has home, others HOMEDRIVE and HOMEPATH. I think
>> it's a duty of cygwin to provide an approriate HOME environment
>> variable.
>>
>> So, possible workarounds:
>>
>> * set environment variable set HOME=%HOMEDRIVE%%HOMEPATH% (you can add
>> such varibale via System Settings to a single user only or for all users
>>
>> * OR set environment variable set BZR_SSH_paramiko and don't use
>> cygwin's ssh
>>
>> Sorry, I've tried HOME=%HOMEDRIVE%%HOMEPATH%, but not working!

What's not working? It works for me as expected:

C:\Documents and Settings\F1>set HOME
HOME=C:\Documents and Settings\F1
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\F1

Revision history for this message
Yonggang Luo (luoyonggang) wrote : Re: [Bug 804247] [NEW] Under Windows, Bzr call for cygwin ssh.exe, there is always not HOME path specified at default, but HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd

Nope, I means setting it under the fixed environment settings, btw, I
means bzr gui, not bzr console!...

2011/7/2, Alexander Belchenko <email address hidden>:
> 02.07.2011 3:40, Yonggang Luo пишет:
>> 2011/7/1 Alexander Belchenko <email address hidden>
>>
>>> Some Windows versions has home, others HOMEDRIVE and HOMEPATH. I think
>>> it's a duty of cygwin to provide an approriate HOME environment
>>> variable.
>>>
>>> So, possible workarounds:
>>>
>>> * set environment variable set HOME=%HOMEDRIVE%%HOMEPATH% (you can add
>>> such varibale via System Settings to a single user only or for all users
>>>
>>> * OR set environment variable set BZR_SSH_paramiko and don't use
>>> cygwin's ssh
>>>
>>> Sorry, I've tried HOME=%HOMEDRIVE%%HOMEPATH%, but not working!
>
> What's not working? It works for me as expected:
>
> C:\Documents and Settings\F1>set HOME
> HOME=C:\Documents and Settings\F1
> HOMEDRIVE=C:
> HOMEPATH=\Documents and Settings\F1
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/804247
>
> Title:
> Under Windows, Bzr call for cygwin ssh.exe, there is always not HOME
> path specified at default, but HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd
>
> Status in Bazaar Version Control System:
> Confirmed
>
> Bug description:
> But we have HOMEDRIVE=C: HOMEPATH=\Users\dreamkxd
> So when there is no HOME path specified, please generating HOME
> environment variable by using HOMEDRIVER and HOMEPATH.
> That's must be working!!!!!!
> OR ssh will go to the hell.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/bzr/+bug/804247/+subscriptions
>

--
从我的移动设备发送

         此致

罗勇刚
Yours
    sincerely,
Yonggang Luo

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Revision history for this message
Yonggang Luo (luoyonggang) wrote :

This is a really long confirm, and &jelmer, I know you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.