Re: [go-nuts] go get creating strange git messages in bash. Any ideas what causes this ?

2016-09-16 Thread Joe Blue
thanks,

it was a dependency of the repo. Makes sense.

thanks.

consider closed :)

On Fri, Sep 16, 2016 at 11:27 AM Wojciech S. Czarnecki 
wrote:

> Dnia 2016-09-16, o godz. 07:48:32
> Joe Blue  napisał(a):
>
> > thanks again.
> >
> > your explanation about go get helped.
> > SO i looked at the offending repo. Its not my repo, just someones on
> github
> >
> >  github.com/pkg/sftp
> Your *local* copy is in detached head state. I.e. you manually or some
> vendoring script checked out something else than master at head. To fix
> it you need to checkout master as said.
>
> > What i cant work out is WHY this repo outputs weird git messages, and
> > others dont.
> Others (your local copies) were not touched.
>
> > Its not blocking me working, but i am just wanting to know. I am OC
> > (Obsessive Compulsive) i guess :)
>
> Get a book on git, e.g. "Git Essentials" ISBN 978-1-78528-790-9 or some
> other out of 20+ written.
>
> > Maybe i shoudl just move on, but if you or others know why that repo does
> > what it does would be great to understand.
>
> You will - just read a decent book bedtime.
>
> > x-MacBook-Pro:pkg apple$ rm -rf sftp/
> This is NOT the offending repo, github.com/kr/fs is.
>
> > # cd /Users/apple/workspace/go/src/github.com/kr/fs
> Do 'git checkout master' here
> then 'git pull --ff-only'
>
> > Joe
>
>
> --
> Wojciech S. Czarnecki
>^oo^ OHIR-RIPE
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/golang-nuts/JIhHPOuiHTQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] go get creating strange git messages in bash. Any ideas what causes this ?

2016-09-16 Thread Wojciech S. Czarnecki
Dnia 2016-09-16, o godz. 07:48:32
Joe Blue  napisał(a):

> thanks again.
> 
> your explanation about go get helped.
> SO i looked at the offending repo. Its not my repo, just someones on github
> 
>  github.com/pkg/sftp
Your *local* copy is in detached head state. I.e. you manually or some
vendoring script checked out something else than master at head. To fix
it you need to checkout master as said.

> What i cant work out is WHY this repo outputs weird git messages, and
> others dont.
Others (your local copies) were not touched.

> Its not blocking me working, but i am just wanting to know. I am OC
> (Obsessive Compulsive) i guess :)

Get a book on git, e.g. "Git Essentials" ISBN 978-1-78528-790-9 or some
other out of 20+ written. 

> Maybe i shoudl just move on, but if you or others know why that repo does
> what it does would be great to understand.

You will - just read a decent book bedtime.

> x-MacBook-Pro:pkg apple$ rm -rf sftp/
This is NOT the offending repo, github.com/kr/fs is.

> # cd /Users/apple/workspace/go/src/github.com/kr/fs
Do 'git checkout master' here
then 'git pull --ff-only'
 
> Joe


-- 
Wojciech S. Czarnecki
   ^oo^ OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] go get creating strange git messages in bash. Any ideas what causes this ?

2016-09-16 Thread Joe Blue
thanks again.

your explanation about go get helped.
SO i looked at the offending repo. Its not my repo, just someones on github

 github.com/pkg/sftp

What i cant work out is WHY this repo outputs weird git messages, and
others dont.
Its not blocking me working, but i am just wanting to know. I am OC
(Obsessive Compulsive) i guess :)

Maybe i shoudl just move on, but if you or others know why that repo does
what it does would be great to understand.



x-MacBook-Pro:pkg apple$ rm -rf sftp/

x-MacBook-Pro:pkg apple$ go get github.com/pkg/sftp

x-MacBook-Pro:pkg apple$ rm -rf sftp/

x-MacBook-Pro:pkg apple$ go get -u -v github.com/pkg/sftp

github.com/pkg/sftp (download)

github.com/kr/fs (download)

# cd /Users/apple/workspace/go/src/github.com/kr/fs; git pull --ff-only

You are not currently on a branch.

Please specify which branch you want to merge with.

See git-pull(1) for details.


git pull  


package github.com/kr/fs: exit status 1

github.com/pkg/errors (download)

Fetching https://golang.org/x/crypto/ssh?go-get=1

Parsing meta tags from https://golang.org/x/crypto/ssh?go-get=1 (status
code 200)

get "golang.org/x/crypto/ssh": found meta tag main.metaImport{Prefix:"
golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ssh?go-get=1

get "golang.org/x/crypto/ssh": verifying non-authoritative meta tag

Fetching https://golang.org/x/crypto?go-get=1

Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code
200)

golang.org/x/crypto (download)

Fetching https://golang.org/x/crypto/curve25519?go-get=1

Parsing meta tags from https://golang.org/x/crypto/curve25519?go-get=1
(status code 200)

get "golang.org/x/crypto/curve25519": found meta tag
main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/curve25519?go-get=1

get "golang.org/x/crypto/curve25519": verifying non-authoritative meta tag

Fetching https://golang.org/x/crypto/ed25519?go-get=1

Parsing meta tags from https://golang.org/x/crypto/ed25519?go-get=1 (status
code 200)

get "golang.org/x/crypto/ed25519": found meta tag main.metaImport{Prefix:"
golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ed25519?go-get=1

get "golang.org/x/crypto/ed25519": verifying non-authoritative meta tag

Fetching https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1

Parsing meta tags from
https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1 (status
code 200)

get "golang.org/x/crypto/ed25519/internal/edwards25519": found meta tag
main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1

get "golang.org/x/crypto/ed25519/internal/edwards25519": verifying
non-authoritative meta tag

x-MacBook-Pro:pkg apple$





cheers

Joe




On Fri, Sep 16, 2016 at 2:14 AM James Bardin  wrote:

> On Thu, Sep 15, 2016 at 5:53 PM, Joe Blue  wrote:
>
>> thanks James
>>
>> You lost me here.
>>
>
> Where's here? O can try to provide more detail if you let me know what
> you're not following. If you go into each repo that's not working and
> checkout master, "go get -u" will work again.
>
>
>> go get always pulls from master though ?
>>
>>
> Yes, "go get" clones the master branch if there is no local copy, and runs
> `git pull --ff-only` if the repo exists and the -u flag is provided (as you
> see in the log).
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] go get creating strange git messages in bash. Any ideas what causes this ?

2016-09-15 Thread James Bardin
On Thu, Sep 15, 2016 at 5:53 PM, Joe Blue  wrote:

> thanks James
>
> You lost me here.
>

Where's here? O can try to provide more detail if you let me know what
you're not following. If you go into each repo that's not working and
checkout master, "go get -u" will work again.


> go get always pulls from master though ?
>
>
Yes, "go get" clones the master branch if there is no local copy, and runs
`git pull --ff-only` if the repo exists and the -u flag is provided (as you
see in the log).

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.