diff --git a/CHANGELOG.md b/CHANGELOG.md index ed51e07..56df49f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,4 +18,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Check Create Projects permission and report existing-project status through SonarQube's public Web APIs. - Send SonarQube's XSRF token on browser POSTs and verify the complete repository import flow. -[Unreleased]: http://localhost:3000/owner/bifrost/compare/v0.1.0...HEAD +[Unreleased]: https://sources.tordais.cc/arnaud.dartois/Bifrost/compare/v0.1.0...HEAD diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f2d5253 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Arnaud Dartois + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 2ec0d54..e5eb7a0 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ Proof of concept plugin that lists Gitea repositories and creates SonarQube Comm - Sonar plugin API: `13.0.0.3026`. - Java: 17. - Artifact: `sonar-bifrost-plugin-.jar`. +- License: MIT; see [LICENSE](LICENSE). +- Project, source code, and issue tracker: [sources.tordais.cc/arnaud.dartois/Bifrost](https://sources.tordais.cc/arnaud.dartois/Bifrost). - Generated build version: `@PLUGIN_VERSION@`. - Maven is used because SonarSource publishes the supported plugin packaging extension for Maven. diff --git a/pom.xml b/pom.xml index e9c9293..aba481e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,6 +6,24 @@ ${revision} sonar-plugin Bifrost + Browse Gitea repositories and create linked SonarQube Community Build projects. + https://sources.tordais.cc/arnaud.dartois/Bifrost + + + MIT License + https://opensource.org/license/mit/ + repo + + + + Gitea + https://sources.tordais.cc/arnaud.dartois/Bifrost/issues + + + scm:git:https://sources.tordais.cc/arnaud.dartois/Bifrost.git + scm:git:https://sources.tordais.cc/arnaud.dartois/Bifrost.git + https://sources.tordais.cc/arnaud.dartois/Bifrost + 0.1.0-SNAPSHOT 17 @@ -28,7 +46,7 @@ sonar-bifrost-plugin-${revision} org.sonarsource.sonar-packaging-maven-pluginsonar-packaging-maven-plugin1.23.0.740true - bifrostBifrost (Gitea Import)cc.tordais.sonar.bifrost.BifrostPluginImport Gitea repositories as SonarQube projects.http://localhost:3000/owner/bifrost + bifrostBifrost (Gitea Import)cc.tordais.sonar.bifrost.BifrostPluginBrowse Gitea repositories and create linked SonarQube projects. Bifrost does not clone or analyze source code.${project.url}${project.issueManagement.url}${project.scm.url} org.apache.maven.pluginsmaven-compiler-plugin3.13.0 org.apache.maven.pluginsmaven-surefire-plugin3.5.2 diff --git a/scripts/changelog.sh b/scripts/changelog.sh index 2dd9d24..1481aa4 100644 --- a/scripts/changelog.sh +++ b/scripts/changelog.sh @@ -4,7 +4,7 @@ set -eu version=${1:?Usage: scripts/changelog.sh X.Y.Z} printf '%s\n' "$version" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$' || { echo 'Version must be X.Y.Z.' >&2; exit 2; } export CHANGELOG_VERSION="$version" -export GITEA_REPOSITORY_URL="${GITEA_REPOSITORY_URL:-http://localhost:3000/owner/bifrost}" +export GITEA_REPOSITORY_URL="${GITEA_REPOSITORY_URL:-https://sources.tordais.cc/arnaud.dartois/Bifrost}" python_bin=${PYTHON:-python3} "$python_bin" - <<'PY' import datetime