Giter Site home page Giter Site logo

gophr's Introduction

Gophr - golang package management

Go Report Card GoDoc Build Status Coverage Status

An end-to-end package management solution for Go. No manifest or lock file and a fully versioned dependency graph. Simply place the url in your import path and it's automatically fully versioned.

gophr.pm/author/repo@(semver or SHA)

Native golang dependency management

go get can only retrieve the current master branch. If you ever need to re-download your dependency it could be totally different each time.

  import (
      // Un-versioned github link
      "github.com/a/b"
  )

Gophr dependency management and versioning

Gophr allows you to version lock your dependencies by semver or SHA.

  import (
      // Version current master branch
      "gophr.pm/a/b"
      // Version by semver
      "gophr.pm/a/[email protected]"
      // Version by semver logic
      "gophr.pm/a/b@>1.0.0"
      "gophr.pm/a/b@<1.3.2"
      // Version by partial or full SHA (Anything between 6 - 40 Characters)
      "gophr.pm/a/b@24638c"
      "gophr.pm/a/b@24638c6d1aaa1"
      "gophr.pm/a/b@24638c6d1aaa1a39c14c704918e354fd3949b93c"
  )

The problem with native Golang dependency management

Golang has no ability to version a specific SHA or tag for a repo. Anytime you pull down an import it grabs the current master branch. This not only bad practice but it could potentially silently break your code without you ever knowing why.

There are plenty of Golang versioning tools. What makes Gophr special?

Gophr doesn't require you to install any tooling to use. Simply place the versioned url gophr.pm/author/repo@(semver or SHA) in your import path and you're done.

We give you the power of semver to reference tags and create logical equivalence operations just like in gem and npm.

"gophr.pm/a/b@>1.0.4"
"gophr.pm/a/b@<1.0.0"

We also fully version the entire dependency graph. Meaning, we version lock every sub-dependency as well, so it's perfectly preserved, everytime. Something no one else does.

Gophr Resources

Questions, comments, concerns? Feel free to open an issue or reach out on slack @shikkic, @skeswa or @ZacharyThomas

gophr's People

Contributors

eeclaire avatar samuelcouch avatar shikkic avatar skeswa avatar yasabere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

samuelcouch

gophr's Issues

[Indexer] Use github api instead

Unfortunately if we want to invest in other repo attributes that are important to us we will have to make requests to a github endpoint ( that will be throttled) so we'll need to figure out how to pace the number of requests we make through proper channels

Kubernetes & Deployment on Google Cloud

  • Add gophrctl configuration flag support for prod
  • Add gophrctl configuration flag support for staging
  • Write kubernetes configuration for api, router, indexer, turnstile, db, etc.
  • Finish replication controllers for each of the application images
  • Mod the ws image for kubernetes
  • Mod the cassandra image for kubernetes based on the official example
  • Deploy all of the docker images to GCR by adding gophrctl push
  • Setup GPG encryption for sensitive docker image files (like SSL certs)

Refactor router to support git refs

Right now we support:

gophr.pm/a/b@~1.1

But what if github.com/a/b has no version tags? That means that gophr just can't help you, unless we support specific refs in the URL:

gophr.pm/a/b@c7a7db4761eab9d2b803a1c35e2ce905ea759854

This makes a gophr a universal dependency management solution. This issue is basically me refactoring the router to support that.

Getting more done in GitHub with ZenHub

Hola! @skeswa has created a ZenHub account for the skeswa organization. ZenHub is the leading team collaboration and project management solution built for GitHub.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • “+1” button for GitHub issues and comments;
  • Drag-and-drop file sharing;
  • Time-saving shortcuts like a quick repo switcher.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @skeswa.

ZenHub Board

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.