Skip to content

Instantly share code, notes, and snippets.

@iggy
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iggy/cb800f3401a6364cd5bd to your computer and use it in GitHub Desktop.
Save iggy/cb800f3401a6364cd5bd to your computer and use it in GitHub Desktop.
Formula Guidelines

Intended Audience

This document is intended as a set of loose guidelines for people with commit access to the saltstack-formulas GitHub organization. This is not meant for people who just want to make changes to formulas except as a reference for what committers tend to look out for in pull requests.

Intro

Formulas are commonly used by many SaltStack users, as such, we have certain guidelines we should all attempt to follow to ensure they continue to function in the manner to which people have become accustomed.

Guidelines

  1. No committing to master
  • You should never commit directly to master
  • All commits should go through the normal pull request process whether it's a one character change or a 4000+ line change
  1. No merging your own pull requests
  • You should always have someone else review and merge your pull requests
  1. Support last 2 major releases
  • When possible, we should attempt a best effort to maintain backward compatibility for the previous 2 releases
  • That doesn't necesarily mean testing every change across a matrix of versions, best effort is good enough
  • That does however mean when someone points out broken backward compatibility, that we move quickly to fix the issue by either reverting or fixing it some other way
  1. You should be subscribed to the saltstack-formulas list
  1. Maintain backward compatibility whenever possible
  2. Don't merge a pull request that someone else has asked for clarification on (questions on pull requests, line comments, etc).
@puneetk
Copy link

puneetk commented May 18, 2015

  1. Pull request should have
    • squash merged, with a commit message that explains all the changes in the pull
    • The Description in the GUI should be of the following format:
**Summary of Text**
Changed So on And So Forth
- change 1
- change 2
- change 3

**Tests**
- tested on OS 1 
- tested on OS 2
- presumed working on rest of OS's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment