GithubHelp home page GithubHelp logo

isabella232 / salt-formulas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salt-formulas/salt-formulas

0.0 0.0 0.0 2.5 MB

Documentation and tools to navigate and use the salt-formulas project.

Home Page: https://salt-formulas.readthedocs.io

License: Apache License 2.0

Shell 37.84% Ruby 14.62% Python 18.27% Makefile 29.27%

salt-formulas's Introduction

SaltStack-Formulas

Documentation Status Join Chat on Gitter.im

This repository contains tools and documentation for using and extending Salt formula project ecosystem.

Contents of this repository:

cookiecutter
A template for quick prototyping of new formulas.
doc
Sphinx driven salt-formulas project documentation.
formulas
Actual formula ecosystem formulas. Using git submodules and myrepos to manage.
scripts
Scripts and helpers to work with this repository.
deploy/heat
Running salt-formulas on OpenStack Heat provisioner.
deploy/vagrant
Running salt-formulas on Vagrant provisioner.
deploy/scripts
Deployment and bootstrap scripts

Checkout formulas

Formulas are registered as submodules with commit marking current release. To checkout latest release, simply init and update submodules:

git submodule init
git submodule update

To checkout master branch and start developing, you can use myrepos tool:

mr --trust-all -j4 run git checkout master
mr --trust-all -j4 update

To make this simpler, you can use Makefile for the same:

make submodules
make update

Building docs

Documentation source is living in doc directory and is including readmes from formulas directory (so you should ensure they are cloned before building documentation).

In most cases, you want to build html or pdf so you can use these two Makefile targets:

make html
make pdf

Results will be in doc/build directory.

Add new formula

To add new formula into the ecosystems, follow these steps:

  1. Request creation of repository on Github salt-formulas organization, include link to current version of formula for review. To do this, join mailing list and use it to let others know ([email protected])
  2. Push your code into new repository, you can also tag new version
  3. Run ./scripts/add_repo.sh formula_name to add new Git submodule
  4. Re-generate .mrconfig with ./scripts/gen_mrconfig.py, that script will scrape github.com/salt-formulas and generate up-to-date .mrconfig file
  5. Include new formula readme in doc/source/develop/overview-formula.rst
  6. Create pull request with formulas/new_formula_name (new submodule) and updated .mrconfig

Documentation and Bugs

To learn how to install and update salt-formulas, consult the documentation available online at:

http://salt-formulas.readthedocs.io/

In the unfortunate event that bugs are discovered, they should be reported to the appropriate issue tracker. Use Github issue tracker for specific salt formula.

For feature requests, bug reports or blueprints affecting entire ecosystem, use Launchpad salt-formulas project:

https://launchpad.net/salt-formulas

Developers wishing to work on the salt-formulas projects should always base their work on master branch and submit pull request against specific formula.

You should also subscribe to mailing list ([email protected]):

https://www.freelists.org/list/salt-formulas

Any questions or feedback is always welcome so feel free to join our IRC channel:

#salt-formulas @ irc.freenode.net

salt-formulas's People

Contributors

chnyda avatar cznewt avatar dis-xcom avatar dmi-try avatar drecom-jenkins avatar eezhova avatar epcim avatar fpytloun avatar geekinutah avatar grebennikov avatar jakubjosef avatar jiribroulik avatar jumpojoy avatar martin819 avatar pupapaik avatar smolaon 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.