GoPostStuff icon indicating copy to clipboard operation
GoPostStuff copied to clipboard

Installation fails due to code.google.com shutdown

Open incorpusyehtee opened this issue 9 years ago • 3 comments

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.

incorpusyehtee avatar Feb 09 '16 02:02 incorpusyehtee

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

peaveyman avatar Feb 09 '16 23:02 peaveyman

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

spazznatz avatar Jun 24 '16 00:06 spazznatz

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

jonascj avatar Apr 15 '17 13:04 jonascj