Giter Club home page Giter Club logo

ember-cli-deploy-version-badges's Introduction

As new versions of ember-cli-deploy are releases there is room for breaking changes in the plugins ecosystem.

To ensure that the right plugins are used with the appropriate versions of ember-cli-deploy, and to manage the effort required by maintainers, we've created a GitHub-driven badge service. See the user-friendly website for more details on the general idea.

Updating a badge

Badges are stored as Jekyll pages. For example, the badge for this plugin:

Is stored at:

Versioning information is stored in the YAML front-matter of that post:

---
layout: plugin
url: http://github.com/ember-cli-deploy/ember-cli-deploy-s3
start_version: "0.5.0"
end_version: "1.0.0"
max_supported_version: 001000000000
permalink: /plugins/ember-cli-deploy-s3.svg
---

To update the badge, open a PR changing the YAML front-matter.

Creating a badge

To create and embed a badge, first author a Jekyll page with the version information as exists. Most badges are likely to be for current content, and thus may only have a start_version property.

To embed your badge, use the filename to determine the badge URL. For example this filename:

plugins/ember-cli-deploy-s3.md

Is used as a badge with the following markup:

![](https://ember-cli-deploy.github.io/ember-cli-deploy-version-badges/plugins/ember-cli-deploy-s3.svg)

Please help ensure your own plugins are correctly flagged by adding a badge when you publish.

end_version:

If your plugin supports only up to a specific version of ember-cli-deploy you can specify an end_version key that will be used in the badge and a max_supported_version key that will be used to compare the current version of ember-cli-deploy and the version supported by the plugin so that the proper color (red or green) can be used in your badge.

Due to limitations of the GH hosting the max_supported_version key has to be an integer.

The format that we're using (without spaces) is:

Major Minor Patch Beta
000   000   000   000

There's also a script create_badge.rb that can be used to ease the process of generating a new badge

Using a badge

Once the PR for your badge is merged simply add it to your project's Readme (we normally also wrap it in a link that points to this repo)

[![](https://ember-cli-deploy.github.io/ember-cli-deploy-version-badges/plugins/ember-cli-deploy-s3.svg)](http://ember-cli-deploy.github.io/ember-cli-deploy-version-badges/)

Credits:

Thanks to @mixonic doing the hard work in mixonic/ember-community-versions

ember-cli-deploy-version-badges's People

Watchers

 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.