Skip to content

Commit

Permalink
refactor(issues): remove all templates and references thereto
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Oct 10, 2019
1 parent c90a463 commit 8bc7342
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 125 deletions.
2 changes: 0 additions & 2 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ ssf:
- vim
- vsftpd
semrel_files:
- .github/ISSUE_TEMPLATE/bug_report.md
- .github/ISSUE_TEMPLATE/feature_request.md
- bin/kitchen
- docs/CONTRIBUTING.rst
- docs/TOFS_pattern.rst
Expand Down
4 changes: 1 addition & 3 deletions ssf/config/formulas.sls
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ prepare-git-branch-for-{{ formula }}:
{%- set add_or_rm = ['add', 'add', 'managed'] %}
{#- Remove files if the file is `.cirrus.yml` and `use_cirrus_ci` is `False` #}
{#- Likewise, if running the state for TOFS files when `use_tofs` is `False` #}
{#- Also remove the local issues templates to use the org-level templates instead #}
{%- if (semrel_file == '.cirrus.yml' and not use_cirrus_ci) or
(semrel_file in ['docs/TOFS_pattern.rst', 'formula/libtofs.jinja'] and not use_tofs) or
(semrel_file.startswith('.github/ISSUE_TEMPLATE/'))
(semrel_file in ['docs/TOFS_pattern.rst', 'formula/libtofs.jinja'] and not use_tofs)
%}
{%- set add_or_rm = ['rm', 'remove', 'absent'] %}
{%- endif %}
Expand Down
68 changes: 0 additions & 68 deletions ssf/files/default/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

42 changes: 0 additions & 42 deletions ssf/files/default/.github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

10 changes: 0 additions & 10 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,6 @@ ssf_node_anchors:
- pillar.example
- pillar-with-views.example
semrel_files: &semrel_files_default
# yamllint disable rule:line-length
.github/ISSUE_TEMPLATE/bug_report.md: &file__--github__ISSUE_TEMPLATE__bug_report--md
<<: *file_default
.github/ISSUE_TEMPLATE/feature_request.md: &file__--github__ISSUE_TEMPLATE__feature_request--md
<<: *file_default
# yamllint enable rule:line-length
bin/kitchen: &file__bin__kitchen
<<: *file_default
mode: 755
Expand Down Expand Up @@ -1315,10 +1309,6 @@ ssf:
- ssf/defaults.yaml
- ssf/formulas.yaml
semrel_files:
# yamllint disable rule:line-length
.github/ISSUE_TEMPLATE/bug_report.md: *file__--github__ISSUE_TEMPLATE__bug_report--md
.github/ISSUE_TEMPLATE/feature_request.md: *file__--github__ISSUE_TEMPLATE__feature_request--md
# yamllint enable rule:line-length
docs/CONTRIBUTING.rst: *file__docs__CONTRIBUTING--rst
docs/TOFS_pattern.rst: *file__docs__TOFS_pattern--rst
formula/libtofs.jinja: *file__formula__libtofs--jinja
Expand Down

0 comments on commit 8bc7342

Please sign in to comment.