Skip to content

Commit

Permalink
Copy Sealog configuration everywhere (#29)
Browse files Browse the repository at this point in the history
* Copy Sealog configuration everywhere

* [Format] Auto-formatting

---------

Co-authored-by: nnichols <nnichols@users.noreply.github.com>
  • Loading branch information
nnichols and nnichols authored Feb 19, 2024
1 parent c8eddae commit 90bdfed
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ group:
- source: sources/clojure/.gitignore
dest: .gitignore
# Sealog configuration
- repos: |
Wall-Brew-Co/brew-bot
Wall-Brew-Co/brewtility
Wall-Brew-Co/clj-xml
Wall-Brew-Co/common-beer-data
Wall-Brew-Co/common-beer-format
Wall-Brew-Co/keg
Wall-Brew-Co/lein-sealog
Wall-Brew-Co/spoon
files:
- source: sources/clojure/sealog/config.edn
dest: .sealog/config.edn
# Code of Conduct
- repos: |
Wall-Brew-Co/brew-bot
Expand Down Expand Up @@ -162,6 +176,18 @@ group:
dest: .github/workflows/lint.yml
- source: sources/github-actions/workflows/scanner.yml
dest: .github/workflows/scanner.yml
# cljdoc CI/CD
## This exists since Leiningen plugin projects do not have a separate CLJdoc workflow
- repos: |
Wall-Brew-Co/brew-bot
Wall-Brew-Co/brewtility
Wall-Brew-Co/clj-xml
Wall-Brew-Co/common-beer-data
Wall-Brew-Co/common-beer-format
Wall-Brew-Co/keg
Wall-Brew-Co/spoon
files:
- source: sources/github-actions/workflows/cljdoc_test.yml
dest: .github/workflows/cljdoc_test.yml
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Unlike other Wall Brew repositories, `rebroadcast` does not use semantic version
Since `rebroadcast` primarily supports automated actions and developer tooling, there is little to distinguish breaking changes and bug fixes.
That said, it is important to track the history of changes made to our CI/CD and documentation over time.

## 2024 February 19

* Add default configuration for [Sealog](https://github.com/Wall-Brew-Co/lein-sealog)

## 2024 January 27

* Bump year to 2024
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ A repository for files that are copied across multiple repositories.
- [Clojure](#clojure)
- [cljstyle Configuration](#cljstyle-configuration)
- [clj-kondo Configuration](#clj-kondo-configuration)
- [Sealog Configuration](#sealog-configuration)
- [Community Documentation](#community-documentation)
- [Code of Conduct](#code-of-conduct)
- [Security Policy](#security-policy)
Expand Down Expand Up @@ -57,9 +58,15 @@ While the [configuration](./sources/clojure/.cljstyle) is minimal, rebroadcastin
#### clj-kondo Configuration

[clj-kondo](https://github.com/clj-kondo/clj-kondo) is used as the primary linting too for clojure(script) code at Wall Brew.
Aside from a few special rules and hooks, most applications and all libraries, are generally able to leverage the same [linter configuration](./sources/clojure/config.edn).
Aside from a few special rules and hooks, most applications and all libraries, are generally able to leverage the same [linter configuration](./sources/clojure/cljkondo/config.edn).
The configuration is designed to cleanly integrate with code quality tools, and to push developers towards consistent coding standards.

#### Sealog Configuration

[Sealog](https://github.com/Wall-Brew-Co/lein-sealog) is the default changelog management tool used at Wall Brew.
All applications and libraries are able to leverage the same [changelog configuration](./sources/clojure/sealog/config.edn).
The configuration is designed to enforce consistent Changelog and versioning standards.

### Community Documentation

Several community documents establish policies for all Wall Brew repositories.
Expand Down
3 changes: 3 additions & 0 deletions sources/clojure/sealog/config.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{:changelog-filename "CHANGELOG.md"
:changelog-entry-directory ".sealog/changes/"
:version-scheme :semver3}

0 comments on commit 90bdfed

Please sign in to comment.