notzippy / repo-tool

Git multiple repositories and put them were you want (Git it ?)
MIT License
7 stars 3 forks source link

Build Errors #2

Closed BoBiene closed 6 years ago

BoBiene commented 6 years ago

# repo-tool .\repo-tool.go:756:14: ref.IsBranch undefined (type *plumbing.Reference has no field or method IsBranch) .\repo-tool.go:756:30: ref.IsRemote undefined (type *plumbing.Reference has no field or method IsRemote) .\repo-tool.go:756:46: ref.IsTag undefined (type *plumbing.Reference has no field or method IsTag) .\repo-tool.go:951:15: undefined: pty.Start

Seems like it is the line #756: println(ref.IsBranch(), ref.IsRemote(), ref.IsTag(), ref.String(), "->", ref.Target().String())

and #951: if f, err := pty.Start(res); err != nil {

Any suggestions?

notzippy commented 6 years ago

That function on line #756 was a new one that I was trying out and it appears the dependent library signature had changed. Line #951 should work - did you fetch the latest package go get -u github.com/kr/pty ? Thanks for pointing this out, I need to get back to this :-D

BoBiene commented 6 years ago

Thank you. Looks like the pty package is not available for Windows. Is there a chance to get it to work on Windows?

notzippy commented 6 years ago

Possibly, I think the only issue in Windows is finding the git executable. I can test that this weekend...

On Wed, Nov 1, 2017, 5:20 AM Bo Biene notifications@github.com wrote:

Thank you. Looks ly the pty package is not available for Windows. Is there a chance to get it to work on Windows?

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/notzippy/repo-tool/issues/2#issuecomment-341091263, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUsBi-q8K5zzdVIrbEgGgP0BEHUBe2cks5syGIOgaJpZM4QHIyp .

BoBiene commented 6 years ago

Great 👍