Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
wkoot committed Nov 14, 2024
1 parent 695630a commit fbd32f4
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 6 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Markdown lint

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]

jobs:
vale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: errata-ai/[email protected]
with:
fail_on_error: true
filter_mode: nofilter
vale_flags: "--glob=*.md --config=tests/.vale.ini"
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- Changelog with backdated changes (#72).

## [10.5.1] - 2024-05-23

### Changed

- Update to [version 10.5.1 of SonarQube](https://www.sonarsource.com/products/sonarqube/whats-new/sonarqube-10-5/) (#76).

## [10.3.0] - 2023-12-22

### Changed

- Update to [version 10.3.0 of SonarQube](https://www.sonarsource.com/products/sonarqube/whats-new/sonarqube-10-3/) (#55).

## [10.1.0] - 2023-09-05

### Changed

- Update to [version 10.1.0 of SonarQube](https://www.sonarsource.com/products/sonarqube/whats-new/sonarqube-10-1/) (#52).

## [9.9.1] - 2023-05-09

### Changed

- Update to version 9.9.1 of SonarQube.

## [9.7.1] - 2022-12-02

### Changed

- Update to version 9.7.1 of SonarQube.
8 changes: 4 additions & 4 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Modify the [config.json](https://github.com/ICTU/sonar/blob/master/src/config.js
},

The parameters are:
* (key): language (internal SonarQube language identifier)
* plugin_name: name of the plugin to be used for this profile
* plugin_external: true for external plugin, false (default) when it is contained in the base container image
* version: profile version string (based on the plugin version)
* `(key)`: language (internal SonarQube language identifier)
* `plugin_name`: name of the plugin to be used for this profile
* `plugin_external`: true for external plugin, false (default) when it is contained in the base container image
* `version`: profile version string (based on the plugin version)


## Create rule entries from SonarQubes quality profile backup (xml)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ICTU SonarQube container image

A SonarQube container image with plugins, profiles and config used at ICTU
A SonarQube container image with plugins, profiles and configuration used at ICTU


## Creating a new quality profile
Expand Down Expand Up @@ -28,7 +28,7 @@ It is also possible to adjust individual rule parameter values:
PROJECT_RULES=+csharpsquid:S110|max=6;-ts:S1561


## Running with PostgreSQL via a docker composition
## Running with PostgreSQL via a Docker-composition

Example docker-compose file:

Expand Down
9 changes: 9 additions & 0 deletions tests/.vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
StylesPath = styles

MinAlertLevel = suggestion
Vocab = Base

Packages = proselint

[*.md]
BasedOnStyles = Vale, proselint
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
python-sonarqube-api >= 2.0
requests >= 2.31
vale >= 3.9.0.0
66 changes: 66 additions & 0 deletions tests/styles/config/vocabularies/Base/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Anchore
APIs
Caddy
Checkmarx
Cobertura
Dependabot
Docker-composition
Dockerfile
DTDs
ESLint
Gravatar
Jira
JMeter
JUnit
NCover
Nginx
OJAudit
OpenShift
PDFs
Pydantic
Robocop
Snyk
Trello
Trivy
UUIDs
Wekan
[Hh]ostname
[Uu]nmerged
asyncio
autoformatting
breakpoint
clearable
cloc
discoverability
donut
errored
favicon
fixme
hostnames?
hotspots?
lookback
misconfigured
mypy
namespace
npm
parameterizable
phpldapadmin
[Pp]erformancetest
severities
sparkline
subfolders
submenus
suppressions
todo
tooltips?
tracebacks?
unencrypted
unicode
unmerged
upvotes
url
xml
Dennie
Bouman
Suchow
Redistributions
3 changes: 3 additions & 0 deletions tests/styles/config/vocabularies/Base/reject.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker composition
Docker composition
docker-composition

0 comments on commit fbd32f4

Please sign in to comment.