Commit graph

23 commits

Author SHA1 Message Date
Imran Iqbal
fc04282106
chore(gemfile.lock): update to latest gem versions (2022-W28) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/454
2022-07-17 19:49:14 +01:00
Imran Iqbal
4ee6387bf9
refactor(shellcheck): fix violation
```
In bin/convert-formula.sh line 90:
        s/========/$(repeat_char =)/
                                 ^-- SC2283 (error): Remove spaces around = to assign
                                                     (or use [ ] to compare,
                                                      or quote '=' if literal).
For more information:
  https://www.shellcheck.net/wiki/SC2283 -- Remove spaces around = to assign ...
```
2022-02-12 23:51:02 +00:00
Imran Iqbal
80ed8cd415
fix(convert-formula.sh): add ~ to reST underlining during conversion
Maintain consistency with heading characters mentioned here:

* https://github.com/miyakogi/m2r#restrictions
2021-08-19 16:05:26 +01:00
Dafydd Jones
11068afae9 fix(convert-formula.sh): fix reST underlining during conversion
Assuming the Python convention for section headings of:

  = for sections
  - for subsections
  ^ for subsubsections
  " for paragraphs

as described at https://devguide.python.org/documenting/#sections
2021-08-18 15:24:28 +01:00
Dafydd Jones
537fe65d45 fix(convert-formula.sh): replace instances of template-formula for CI
* Fixes #231
2021-04-14 00:39:19 +01:00
Imran Iqbal
f8e8fcb29e
refactor(map): use top-level values: key in map.jinja dumps
* Semi-automated using https://github.com/myii/ssf-formula/pull/284
2020-12-23 18:44:04 +00:00
Imran Iqbal
7f4c12a82c
chore(convert-formula): add .gitlab-ci.yml to pattern deletion section 2020-12-16 03:09:59 +00:00
Dafydd Jones
7c33601fd4 fix(convert-formula.sh): delete all existing tags
* closes #210
2020-10-31 18:35:34 +00:00
Dafydd Jones
a999fee214 fix(convert-formula.sh): add -_ to allowed chars in formula name 2020-10-14 22:42:18 +01:00
Dafydd Jones
01fd4e65f4 chore(pre-commit): add utility script to install hooks and environments 2020-07-27 21:57:20 +01:00
Dafydd Jones
cceffffef5 feat(convert-formula.sh): assign @NONE as whole-formula owner 2020-05-12 00:03:27 +01:00
Dafydd Jones
41e10b5249 fix(convert-formula.sh): use portable sed function to make replacements
* Fixes #192
2020-04-14 00:09:01 +01:00
Dafydd Jones
39889ce303 fix(convert-formula.sh): reset version to 1.0.0 2019-12-19 15:28:04 +00:00
Dafydd Jones
aca4e44289 fix(convert-formula.sh): remove rubocop override post-conversion 2019-12-19 15:28:04 +00:00
Dafydd Jones
06ec949fd1 fix(convert-formula.sh): remove CI test post-conversion 2019-12-19 15:28:04 +00:00
Dafydd Jones
55ab937c04 fix(convert-formula.sh): remove "Using this template" post-conversion 2019-12-19 15:28:04 +00:00
Imran Iqbal
76ecd447be
fix(convert-formula.sh): apply remaining suggestions from #180
* https://github.com/saltstack-formulas/template-formula/pull/180#discussion_r357308821
* https://github.com/saltstack-formulas/template-formula/pull/180#discussion_r357318860
* https://github.com/saltstack-formulas/template-formula/pull/180#discussion_r357362707
2019-12-16 15:23:47 +00:00
Dafydd Jones
edfa269e96 feat: add script to ease conversion from template to real formula 2019-12-04 23:53:25 +00:00
Imran Iqbal
9566b6fb63
fix(rubocop): fix remaining errors manually 2019-10-08 20:12:34 +01:00
Imran Iqbal
484ce2459d
fix(rubocop): add fixes using rubocop --safe-auto-correct 2019-10-08 20:12:34 +01:00
Nicolas Rodriguez
7bb7c532b9 ci(kitchen): add Bundler binstub for Kitchen 2019-05-26 20:29:22 +02:00
Imran Iqbal
4601d38289
chore(semantic-release): move pre-commit script back to root dir
* https://freenode.logbot.info/saltstack-formulas/20190305#c2040419
2019-03-06 00:36:41 +00:00
Imran Iqbal
f341bdb8ef
chore(semantic-release): move pre-commit script to bin/ subdir 2019-03-03 05:05:13 +00:00