Code Monkey home page Code Monkey logo

tags-thrift-schema's Introduction

tags-thrift-schema

This repository contains the Thrift schema required for interaction with guardian/tagmanager.

#Downloading To download you should be able to simply add a dependency similar to the following (with your desired version):

"com.gu" %% "tags-thrift-schema" % "0.3.4"

Note!

Some people seem to have issues getting the BinTray jcenter repository. In order to get around this you can add the following line to your sbt build.

resolvers += "Guardian Bintray" at "https://dl.bintray.com/guardian/editorial-tools"

Publishing

You will need a Bintray account!

In order to publish a new version of this schema you'll need a Bintray account.

  1. Go to bintray.com and login with your GitHub account.
  2. Someone will need to invite you to The Guardian Bintray org. Ask super nicely and they just might do it. They should also make you an admin.
  3. You will need an API key.
  4. Go to your profile
  5. Click the Edit button near your profile name (top left).
  6. At the bottom of the list on the left will be the API key section containing your key. Keep this key handy for the next step.
  7. Setup your username/API key locally.
  8. In this project run sbt bintrayChangeCredentials
  9. Enter your username and API key as prompted.
  10. This will save your creds locally and you shouldn't need to change them unless you refresh your API key.

How to publish a new version

So you've made some edits and you want to publish a new version of this schema as a package to Bintray jcenter...

  1. Make your changes
  2. Bump the version in version.sbt (Remember to follow the SemVer guidelines)
  3. Ensure the project still builds.
  4. Run sbt publish
  5. If you setup your Bintray account correctly then this should publish your new version to Bintray!
  6. If for some reason you want to remove your package from Bintray you can run sbt bintrayUnpublish which will remove the package at the current version.

tags-thrift-schema's People

Contributors

itsibitzi avatar rrees 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.