madcowfred / GoPostStuff

Multiple connection USENET binary poster written in Go
MIT License
32 stars 24 forks source link

Installation fails due to code.google.com shutdown #20

Open incorpusyehtee opened 8 years ago

incorpusyehtee commented 8 years ago

package code.google.com/p/gcfg: unable to detect version control system for code.google.com/ path

This occurs during installation of GoPostStuff because Google Code shutdown on the 26th of January.

peaveyman commented 8 years ago

Are there any plans to move this project away from google code?

spazznatz commented 8 years ago

Was able to get past this by downloading the source from the code.google.com archives, copying it to my local workspace and invoking go install code.google.com/p/gcfg

Unfortunately now installation of GoPostStuff blows up with:

# github.com/madcowfred/GoPostStuff
src\github.com\madcowfred\GoPostStuff\mmapcache.go:62: undefined: syscall.Mmap
src\github.com\madcowfred\GoPostStuff\mmapcache.go:62: undefined: syscall.PROT_READ
src\github.com\madcowfred\GoPostStuff\mmapcache.go:62: undefined: syscall.MAP_SHARED
src\github.com\madcowfred\GoPostStuff\mmapcache.go:89: undefined: syscall.Munmap
jonascj commented 7 years ago

I have no experience with go install and go get, so I forked the project and changed code.google.com/p/gcfg to gopkg.in/gcfg.v1, which is where that package is migrated to according to https://code.google.com/archive/p/gcfg/. This allows me to follow the go get instructions given in the readme.

https://github.com/jonascj/GoPostStuff/commit/4f1e4e90141eb18afdfb7348388b37594bd47f16