Skip to content
GooGet package manager
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Actually start using go modules (#63) May 13, 2019
download Actually start using go modules (#63) May 13, 2019
goolib goospec files now can be written as templates (#61) May 13, 2019
goopack Allow for goopack variables (#64) May 13, 2019
install Actually start using go modules (#63) May 13, 2019
oswrap Test remove operations on Windows for paths that look sensitive. (#53) Dec 17, 2018
remove Actually start using go modules (#63) May 13, 2019
server Actually start using go modules (#63) May 13, 2019
system
verify Actually start using go modules (#63) May 13, 2019
.travis.gofmt.sh
.travis.yml Update travis.yml Jul 11, 2018
CONTRIBUTING Initial commit Mar 1, 2016
LICENSE Initial commit Mar 1, 2016
README.md goospec files now can be written as templates (#61) May 13, 2019
go.mod Actually start using go modules (#63) May 13, 2019
go.sum
googet.go Actually start using go modules (#63) May 13, 2019
googet.goospec goospec files now can be written as templates (#61) May 13, 2019
googet_addrepo.go Actually start using go modules (#63) May 13, 2019
googet_available.go Actually start using go modules (#63) May 13, 2019
googet_clean.go Actually start using go modules (#63) May 13, 2019
googet_download.go Actually start using go modules (#63) May 13, 2019
googet_install.go Actually start using go modules (#63) May 13, 2019
googet_installed.go Actually start using go modules (#63) May 13, 2019
googet_latest.go Actually start using go modules (#63) May 13, 2019
googet_listrepos.go use context from go1.7 (#22) Oct 31, 2016
googet_remove.go
googet_rmrepo.go Actually start using go modules (#63) May 13, 2019
googet_test.go Actually start using go modules (#63) May 13, 2019
googet_update.go
googet_verify.go Actually start using go modules (#63) May 13, 2019
install.ps1 Edit environment via the registry in order to work on Nano (#23) Dec 8, 2016

README.md

GooGet

Build Status

GooGet (Googet's Obviously Only a Goofy Experimental Title) is a modular package repository solution primarily designed for Windows.

GooGet is shipped with the official Google Cloud Platform Windows images and is used to maintain the guest environment.

This is not an official Google product.

Build

Run build.ps1/build.sh to build GooGet for Windows. To package googet run

go run goopack/goopack.go googet.goospec

This will result in googet.x86_64.VERSION.goo which can be installed on a machine with the googet install command (assuming googet is already installed).

To install on a fresh machine copy both googet.exe and the googet package over and run:

googet -root 'c:/ProgramData/GooGet' install googet googet.x86_64.VERSION.goo

Conf file

GooGet has the ability to use a conf file to change a few of the default settings. Place a file named googet.conf in the googet root.

proxyserver: http://address_to_proxy:port
archs: [noarch, x86_64]
cachelife: 10m

Google Cloud Storage as a back-end

Googet supports using Google Cloud Storage as its server.

set GOOREPO=%TEMP%\googet-repo
set REPONAME=my_repo
mkdir %GOOREPO%\%REPONAME%
mkdir %GOOREPO%\packages
go run goopack/goopack.go googet.goospec
copy *.goo %GOOREPO%\packages
go run server\gooserve.go -root %GOOREPO% -save_index %GOOREPO%\%REPONAME%\index
gsutil mb --project my-project my-googet-server
gsutil rsync -r %GOOREPO% gs://my-googet-server
./googet.exe addrepo gcs gs://my-googet-server

rem This command should print 'gcs: gs://my-googet-server'
./googet.exec listrepos

rem This command should list the googet package and any other packages in your repo
./googet.exe available -sources gs://my-googet-server/

Note that you must regenerate the index and re-upload it to your bucket each time you add or change packges.

You can’t perform that action at this time.