Giter Site home page Giter Site logo

go-updater's Introduction

Updater

Build Status Build Status Coverage Status GoDoc

Warning: This isn't ready for non-Keybase libraries to use yet!

The goals of this library are to provide an updater that:

  • Is simple
  • Works on all our platforms (at least OS X, Windows, Linux)
  • Recovers from non-fatal errors
  • Every request or command execution should timeout (nothing blocks)
  • Can recover from failures in its environment
  • Can run as an unprivileged background service
  • Has minimal, vendored dependencies
  • Is well tested
  • Is secure
  • Reports failures and activity
  • Can notify the user of any non-transient failures

This updater library is used to support updating (in background and on-demand) for Keybase apps and services.

Packages

The main package is the updater core, there are other support packages:

  • command: Executes a command with a timeout
  • keybase: Keybase specific behavior for updates
  • osx: MacOS specific UI
  • process: Utilities to find and terminate Processes
  • saltpack: Verify updates with saltpack
  • service: Runs the updater as a background service
  • sources: Update sources for remote locations (like S3), or locally (for testing)
  • test: Test resources
  • util: Utilities for updating, such as digests, env, file, http, unzip, etc.
  • watchdog: Utility to monitor processes and restart them (like launchd), for use with updater service
  • windows: Windows specific UI

Development

This library should pass the gometalinter.

There is a pre-commit hook available:

pip install pre-commit
go get -u github.com/alecthomas/gometalinter
gometalinter --install --update
pre-commit install
pre-commit run -a

go-updater's People

Contributors

0xmohit avatar akalin avatar akalin-keybase avatar cecileboucheron avatar chromakode avatar cjb avatar gabriel avatar marcopolo avatar maxtaco avatar mlsteele avatar oconnor663 avatar patrickxb avatar songgao avatar strib avatar

Watchers

 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.