[jbosstools-dev] Installing Hub on Windows

Max Rydahl Andersen max.andersen at redhat.com
Mon Jan 7 18:05:17 EST 2013


That is truly awesome! Now I have no hesitance to recommend and explain use of git/github using this tool - makes basic workflows so much simpler.

/max

On 07 Jan 2013, at 16:48, Yahor Radtsevich <yradtsevich at exadel.com> wrote:

> My code is not portable, but the maintainers of original 'hub' already applied my fixes in a portable manner.
> 
> So now it just works if you follow Windows installation instructions on their site.
> 
> On Mon, Jan 7, 2013 at 3:00 PM, Max Rydahl Andersen <max.andersen at redhat.com> wrote:
> nice work Yahor! does this make it only work on windows or is the code portable ? In either case opening a pullrequest against the original project so they could become aware there is a fork that works on windows would be great.
> 
> /max
> 
> On 28 Dec 2012, at 20:57, Yahor Radtsevich <yradtsevich at exadel.com> wrote:
> 
> > I have already fixed all problems what I found in Windows version. So nearly everyting is working now.
> > Just created a fork on GitHub: https://github.com/yradtsevich/hub-windows
> >
> > Standalone version can be downloaded here: http://yradtsevich.github.com/hub-windows/hub
> >
> > Now it does not require GITHUB_USER and GITHUB_PASSWORD to be set anymore.
> > At least the following commands may be executed on Windows:
> > hub fork
> > hub clone
> > hub pull-request
> > hub checkout PULL_REQUEST_URL
> > hub am PULL_REQUEST_URL
> >
> >
> > On Fri, Dec 21, 2012 at 7:43 PM, Max Rydahl Andersen <max.andersen at redhat.com> wrote:
> > do you have a fork on github with your hub changes ?
> >
> > /max
> >
> > On 21 Dec 2012, at 15:41, Yahor Radtsevich <yradtsevich at exadel.com> wrote:
> >
> > > Unfortunately not everything works:
> > >       • 'hub clone' and 'hub remote add' work without any additional setup.
> > >       • 'hub fork' and 'hub pull-request' require replacing of 'exec(' to 'system(' calls in the script (there are 4 entries). And the following variables should be set:
> > >               • export GIT_EDITOR='/D/Progs/Notepad++/notepad++.exe -multiInst '
> > >               • export GITHUB_USER='yradtsevich'
> > >               • export GITHUB_PASSWORD='password'
> > >       • I did not manage yet how to get 'hub am' to work with pull request URLs
> > >
> > > On Thu, Dec 20, 2012 at 4:43 PM, Max Rydahl Andersen <max.andersen at redhat.com> wrote:
> > > does the commands actually work ? i.e. hub pull-request and hub fork  ?
> > >
> > > /max
> > >
> > > On 14 Dec 2012, at 13:03, Yahor Radtsevich <yradtsevich at exadel.com> wrote:
> > >
> > > > Hi all,
> > > >
> > > > For those who have problems with installing hub on Windows. I did the following and it works:
> > > >       • Install Git for Windows
> > > >       • Install Ruby with RubyInstaller
> > > >       • Add ruby\bin\ to your system PATH variable
> > > >       • Download hub standalone (you must save it as "hub", not "standalone") into your git\bin\ folder
> > > > Now you should be able to use "hub" from Git Bash shell like this:
> > > > $ hub clone jbosstools/jbosstools-forge
> > > >
> > > > --
> > > > Best Regards,
> > > > Yahor Radtsevich
> > > >
> > > > _______________________________________________
> > > > jbosstools-dev mailing list
> > > > jbosstools-dev at lists.jboss.org
> > > > https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> > >
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Yahor Radtsevich
> >
> >
> >
> >
> > --
> > Best Regards,
> > Yahor Radtsevich
> 
> 
> 
> 
> -- 
> Best Regards,
> Yahor Radtsevich




More information about the jbosstools-dev mailing list