Skip to content

Commit 127955f

Browse files
committed
Initial commit
0 parents  commit 127955f

60 files changed

Lines changed: 6776 additions & 0 deletions

Some content is hidden

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

.changelog-config.yaml

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
# For more configuration information, please see https://coordt.github.io/generate-changelog/
2+
3+
# User variables for reference in other parts of the configuration.
4+
variables:
5+
repo_url: https://github.com/callowayproject/foreman
6+
changelog_filename: CHANGELOG.md
7+
8+
# Pipeline to find the most recent tag for incremental changelog generation.
9+
# Leave empty to always start at first commit.
10+
starting_tag_pipeline:
11+
- action: ReadFile
12+
kwargs:
13+
filename: "{{ changelog_filename }}"
14+
- action: FirstRegExMatch
15+
kwargs:
16+
pattern: (?im)^## (?P<rev>\d+\.\d+(?:\.\d+)?)\s+\(\d+-\d{2}-\d{2}\)$
17+
named_subgroup: rev
18+
19+
# Used as the version title of the changes since the last valid tag.
20+
unreleased_label: Unreleased
21+
22+
# Process the commit's first line for use in the changelog.
23+
summary_pipeline:
24+
- action: strip_spaces
25+
- action: Strip
26+
comment: Get rid of any periods so we don't get double periods
27+
kwargs:
28+
chars: .
29+
- action: SetDefault
30+
args:
31+
- no commit message
32+
- action: capitalize
33+
- action: append_dot
34+
35+
# Process the commit's body for use in the changelog.
36+
body_pipeline:
37+
- action: ParseTrailers
38+
comment: Parse the trailers into metadata.
39+
kwargs:
40+
commit_metadata: save_commit_metadata
41+
42+
# Process and store the full or partial changelog.
43+
output_pipeline:
44+
- action: IncrementalFileInsert
45+
kwargs:
46+
filename: "{{ changelog_filename }}"
47+
last_heading_pattern: (?im)^## \d+\.\d+(?:\.\d+)?\s+\([0-9]+-[0-9]{2}-[0-9]{2}\)$
48+
- action: MDFormat
49+
kwargs:
50+
filename: CHANGELOG.md
51+
52+
# Full or relative paths to look for output generation templates.
53+
template_dirs:
54+
- ".github/changelog_templates/"
55+
56+
# Group the commits within a version by these commit attributes.
57+
group_by:
58+
- metadata.category
59+
60+
# Only tags matching this regular expression are used for the changelog.
61+
tag_pattern: ^[0-9]+\.[0-9]+(?:\.[0-9]+)?$
62+
63+
# Tells ``git-log`` whether to include merge commits in the log.
64+
include_merges: false
65+
66+
# Ignore commits whose summary line matches any of these regular expression patterns.
67+
ignore_patterns:
68+
- '[@!]minor'
69+
- '[@!]cosmetic'
70+
- '[@!]refactor'
71+
- '[@!]wip'
72+
- ^$
73+
- ^Merge branch
74+
- ^Merge pull
75+
- ^Version updated
76+
77+
# Set the commit's category metadata to the first classifier that returns ``True``.
78+
commit_classifiers:
79+
- action: SummaryRegexMatch
80+
category: New
81+
kwargs:
82+
pattern: (?i)^(?:new|add)[^\n]*$
83+
- action: SummaryRegexMatch
84+
category: Updates
85+
kwargs:
86+
pattern: (?i)^(?:update|change|rename|remove|delete|improve|refactor|chg|modif)[^\n]*$
87+
- action: SummaryRegexMatch
88+
category: Fixes
89+
kwargs:
90+
pattern: (?i)^(?:fix)[^\n]*$
91+
- action:
92+
category: Other
93+
94+
# Tokens in git commit trailers that indicate authorship.
95+
valid_author_tokens:
96+
- author
97+
- based-on-a-patch-by
98+
- based-on-patch-by
99+
- co-authored-by
100+
- co-committed-by
101+
- contributions-by
102+
- from
103+
- helped-by
104+
- improved-by
105+
- original-patch-by
106+
107+
# Rules applied to commits to determine the type of release to suggest.
108+
release_hint_rules:
109+
- match_result: dev
110+
branch: ^((?!master|main).)*$
111+
- match_result: patch
112+
path: pyproject.toml
113+
branch: master|main
114+
- match_result: patch
115+
grouping: Other
116+
path: foreman/*
117+
branch: master|main
118+
- match_result: patch
119+
grouping: Fixes
120+
path: foreman/*
121+
branch: master|main
122+
- match_result: minor
123+
grouping: Updates
124+
path: foreman/*
125+
branch: master|main
126+
- match_result: minor
127+
grouping: New
128+
path: foreman/*
129+
branch: master|main
130+
- match_result: major
131+
grouping: Breaking Changes
132+
path: foreman/*
133+
branch: master|main

.dockerignore

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
data/*
2+
.vscode
3+
.DS_Store
4+
docker-compose*
5+
**/docker-compose*
6+
7+
# Sourced From:
8+
# https://github.com/github/gitignore/blob/14f8a8b4c51ecc00b18905a95c117954e6c77b9d/Python.gitignore
9+
10+
# Byte-compiled / optimized / DLL files
11+
__pycache__/
12+
*.py[cod]
13+
*$py.class
14+
15+
# C extensions
16+
*.so
17+
18+
# Distribution / packaging
19+
.local/
20+
.Python
21+
build/
22+
develop-eggs/
23+
dist/
24+
downloads/
25+
eggs/
26+
.eggs/
27+
lib/
28+
lib64/
29+
parts/
30+
sdist/
31+
var/
32+
wheels/
33+
share/python-wheels/
34+
*.egg-info/
35+
.installed.cfg
36+
*.egg
37+
MANIFEST
38+
39+
# PyInstaller
40+
# Usually these files are written by a python script from a template
41+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
42+
*.manifest
43+
*.spec
44+
45+
# Installer logs
46+
pip-log.txt
47+
pip-delete-this-directory.txt
48+
49+
# Unit test / coverage reports
50+
htmlcov/
51+
.tox/
52+
.nox/
53+
.coverage
54+
.coverage.*
55+
.cache
56+
nosetests.xml
57+
coverage.xml
58+
*.cover
59+
*.py,cover
60+
.hypothesis/
61+
.pytest_cache/
62+
cover/
63+
64+
# Translations
65+
*.mo
66+
*.pot
67+
68+
# Django stuff:
69+
*.log
70+
local_settings.py
71+
db.sqlite3
72+
db.sqlite3-journal
73+
74+
# Flask stuff:
75+
instance/
76+
.webassets-cache
77+
78+
# Scrapy stuff:
79+
.scrapy
80+
81+
# Sphinx documentation
82+
docs/_build/
83+
84+
# PyBuilder
85+
.pybuilder/
86+
target/
87+
88+
# Jupyter Notebook
89+
.ipynb_checkpoints
90+
91+
# IPython
92+
profile_default/
93+
ipython_config.py
94+
95+
# pyenv
96+
# For a library or package, you might want to ignore these files since the code is
97+
# intended to run in multiple environments; otherwise, check them in:
98+
# .python-version
99+
100+
# pipenv
101+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
102+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
103+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
104+
# install all needed dependencies.
105+
#Pipfile.lock
106+
107+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
108+
__pypackages__/
109+
110+
# Celery stuff
111+
celerybeat-schedule
112+
celerybeat.pid
113+
114+
# SageMath parsed files
115+
*.sage.py
116+
117+
# Environments
118+
.env
119+
.venv
120+
env/
121+
venv/
122+
ENV/
123+
env.bak/
124+
venv.bak/
125+
126+
# Spyder project settings
127+
.spyderproject
128+
.spyproject
129+
130+
# Rope project settings
131+
.ropeproject
132+
133+
# mkdocs documentation
134+
/site
135+
136+
# mypy
137+
.mypy_cache/
138+
.dmypy.json
139+
dmypy.json
140+
141+
# Pyre type checker
142+
.pyre/
143+
144+
# pytype static type analyzer
145+
.pytype/
146+
147+
# Cython debug symbols
148+
cython_debug/

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{py,rst,ini}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.{html,css,scss,json,yml}]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[*.md]
20+
trim_trailing_whitespace = true
21+
22+
[Makefile]
23+
indent_style = tab
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Bug Report
2+
description: File a bug report.
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
- type: textarea
11+
id: what-happened
12+
attributes:
13+
label: What happened?
14+
description: What did you do, what happened, and what did you expect?
15+
placeholder: Tell us what you see!
16+
validations:
17+
required: true
18+
- type: input
19+
id: version
20+
attributes:
21+
label: Version
22+
description: What version of our software are you running?
23+
validations:
24+
required: true
25+
- type: dropdown
26+
id: os
27+
attributes:
28+
label: Operating system
29+
description: What operating system are you using?
30+
options:
31+
- Linux
32+
- MacOS
33+
- Windows
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
id: problem
7+
attributes:
8+
label: Is your feature request related to a problem? Please describe.
9+
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
- type: textarea
11+
id: request
12+
attributes:
13+
label: Describe the solution you'd like.
14+
description: A clear and concise description of what you want to happen.
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: considered-alternatives
19+
attributes:
20+
label: Describe alternatives you've considered
21+
description: A clear and concise description of any alternative solutions or features you've considered.
22+
- type: textarea
23+
id: additional-context
24+
attributes:
25+
label: Additional context
26+
description: Add any other context or screenshots about the feature request here.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- {{ commit.summary }} [{{ commit.short_sha }}]({{ repo_url }}/commit/{{ commit.sha }})
2+
{{ commit.body|indent(2, first=True) }}
3+
{% for key, val in commit.metadata["trailers"].items() %}
4+
{% if key not in VALID_AUTHOR_TOKENS %}
5+
**{{ key }}:** {{ val|join(", ") }}
6+
7+
{% endif %}
8+
9+
{% endfor %}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## {{ version.label }} ({{ version.date_time.strftime("%Y-%m-%d") }})
2+
{% if version.previous_tag %}
3+
[Compare the full difference.]({{ repo_url }}/compare/{{ version.previous_tag }}...{{ version.tag }})
4+
{% endif %}

0 commit comments

Comments
 (0)