Skip to content

Commit 12a9c76

Browse files
feat(formula): align with template-formula v3.0.0
1 parent b94b7e1 commit 12a9c76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1237
-191
lines changed

.gitignore

Lines changed: 105 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,106 @@
1-
.idea
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
25

6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a packager
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.kitchen
49+
.kitchen.local.yml
50+
51+
# Translations
52+
*.mo
53+
*.pot
54+
55+
# Django stuff:
56+
*.log
57+
local_settings.py
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# dotenv
85+
.env
86+
87+
# virtualenv
88+
.venv
89+
venv/
90+
ENV/
91+
92+
# Spyder project settings
93+
.spyderproject
94+
.spyproject
95+
96+
# Rope project settings
97+
.ropeproject
98+
99+
# mkdocs documentation
100+
/site
101+
102+
# mypy
103+
.mypy_cache/
104+
105+
# copied `.md` files used for conversion to `.rst` using `m2r`
106+
docs/*.md

.travis.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
stages:
2+
- test
3+
- commitlint
4+
- name: release
5+
if: branch = master AND type != pull_request
6+
7+
sudo: required
8+
cache: bundler
9+
language: ruby
10+
11+
services:
12+
- docker
13+
14+
before_install:
15+
- bundle install
16+
17+
# Make sure the instances listed below match up with
18+
# the `platforms` defined in `kitchen.yml`
19+
env:
20+
matrix:
21+
- INSTANCE: default-debian-9-2019-2-py3
22+
- INSTANCE: default-ubuntu-1804-2019-2-py3
23+
- INSTANCE: default-ubuntu-1604-2018-3-py2
24+
- INSTANCE: default-ubuntu-1604-2017-7-py2
25+
26+
script:
27+
- bundle exec kitchen verify ${INSTANCE}
28+
29+
jobs:
30+
include:
31+
# Define the commitlint stage
32+
- stage: commitlint
33+
language: node_js
34+
node_js: lts/*
35+
before_install: skip
36+
script:
37+
- npm install @commitlint/config-conventional -D
38+
- npm install @commitlint/travis-cli -D
39+
- commitlint-travis
40+
# Define the release stage that runs semantic-release
41+
- stage: release
42+
language: node_js
43+
node_js: lts/*
44+
before_install: skip
45+
script:
46+
# Update `AUTHORS.md`
47+
- export MAINTAINER_TOKEN=${GH_TOKEN}
48+
- go get github.com/alxwr/maintainer
49+
- maintainer contributor
50+
51+
# Install all dependencies required for `semantic-release`
52+
- npm install @semantic-release/changelog@3 -D
53+
- npm install @semantic-release/exec@3 -D
54+
- npm install @semantic-release/git@7 -D
55+
deploy:
56+
provider: script
57+
skip_cleanup: true
58+
script:
59+
# Run `semantic-release`
60+
- npx semantic-release@15
61+

AUTHORS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Authors
2+
3+
This list is sorted by the number of commits per contributor in _descending_ order.
4+
5+
Avatar|Contributor|Contributions
6+
:-:|---|:-:
7+
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>|[@noelmcloughlin](https://github.com/noelmcloughlin)|2
8+
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>|[@alxwr](https://github.com/alxwr)|1
9+
10+
---
11+
12+
Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2019-06-05.

CHANGELOG.md

Whitespace-only changes.

FORMULA

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: sysstat
2+
os: FreeBSD
3+
os_family: FreeBSD
4+
version: 1.1.0
5+
release: 1
6+
minimum_version: 2016.11
7+
summary: sysstat formula
8+
description: Formula to set up sysstat
9+
top_level_dir: sysstat

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gem 'kitchen-docker', '>= 2.9'
4+
gem 'kitchen-salt', '>= 0.5.0'
5+
gem 'kitchen-inspec', '>= 1.1'
6+

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2015 Salt Stack Formulas
1+
Copyright (c) 2019 Salt Stack Formulas
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

README.rst

Lines changed: 0 additions & 94 deletions
This file was deleted.

commitlint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

docs/AUTHORS.rst

Whitespace-only changes.

0 commit comments

Comments
 (0)