GithubHelp home page GithubHelp logo

mozart-api-common's Introduction

mozart-api-common

This repository contains packages that are used by both mozart-config-api and mozart-template-api.

They can be imported using import statements:

import (
	"github.com/bbc/mozart-api-common/caching"
)

Then, as with other dependencies, they are vendored into the local workspace by godep and the import statement is rewritten:

import (
  "github.com/bbc/mozart-config-api/src/Godeps/_workspace/src/github.com/bbc/mozart-api-common/caching"
)

Development workflow

This section describes the workflow for making changes to packages in the mozart-api-common repo and pulling those changes into mozart-config-api and mozart-template-api.

  1. Make sure you have mozart-api-common, mozart-config-api and mozart-template checked out in the appropriate location in your $GOPATH.
  2. Create new branches in all three repos to hold your work.
  3. Rewrite the relevant import statements in the APIs to use the mozart-api-common in your $GOPATH, instead of in Godeps/, e.g. change import "github.com/bbc/mozart-template-api/src/Godeps/_workspace/src/github.com/bbc/mozart-api-common/caching" to import "github.com/bbc/mozart-api-common/caching".
  4. Make the required changes to the repos.
  5. Commit your changes to mozart-api-common.
  6. Commit the changes to the API repos.
  7. Push your commits up to GitHub and create pull requests for the branches in each of the repos.
  8. On ๐Ÿฐ approval merge your mozart-api-common changes into the master branch.
  9. Pull these changes into the API repos by running godep update github.com/bbc/mozart-api-common/... and godep save -r ./... from their src/ directories.
  10. Merge your changes to the API repos into the master branches.

mozart-api-common's People

Contributors

integralist avatar dblooman avatar bbcmarkmcdonnell avatar

Stargazers

Tom avatar Abhi Agarwal avatar Chris Watson avatar

Watchers

Boon Low avatar Charlie Rogers avatar James Cryer avatar  avatar Joel Merrick avatar Alex Norton avatar Tom Cartwright avatar Sam French avatar Andy Robinson avatar James Cloos avatar Alasdair Stalker avatar Miles Bernie avatar Steve Wheeler avatar Bogdan Dogaru avatar Joseph Pack avatar FM Sport Build Server avatar Johnathan Ishmael avatar Duncan Fortescue avatar Nathan Messer avatar Angus Bisset avatar Richard Badger avatar BBC News Frameworks avatar Daniele Lixi avatar Chris Hopkins avatar  avatar James Bowers avatar  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.