Giter Club home page Giter Club logo

googet's Introduction

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.

Build

To build and package googet run

go run goopack/goopack.go googet.goospec

This will result in googet.exe and 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, which by default is C:\ProgramData\GooGet and configurable by the -root flag.

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

Repo file

GooGet has the ability to use a repo file to change some repo specific settings. The file is named your-repo-name.repo by default. It can be used to set the source URL and indicate that the client should pass authorization headers in requests to the source URL.

URL: https://foo.com/googet/bar
  useoauth: true

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 addrepo gcs gs://my-googet-server

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

rem This command should list the googet package and any other packages in your repo
googet 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.

googet's People

Contributors

adjackura avatar itsmattl avatar davegalos avatar adamcarheden avatar gitgerby avatar nguyen-phillip avatar manninglucas avatar bkatyl avatar dependabot[bot] avatar sbrito85 avatar mbernhardt6 avatar jm2 avatar minotrez avatar gaohannk avatar jjerger avatar lawrencehwang avatar marga-google avatar atetubou avatar tomlanyon avatar tomoe avatar bagarber avatar igorpeshansky avatar mjoliver avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.