docs: add MIT license and public project metadata
Build Bifrost / build (pull_request) Successful in 51s
Build Bifrost / build (push) Successful in 1m7s

This commit is contained in:
arnaud.dartois committed 2026-11-06 09:20:15 +01:00
1 parent 5e3a73ea42
commit 8e29589232
5 files changed
+44 -3

No files matched your search

+1 -1
View File
@@ -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
+21
View File
@@ -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.
+2
View File
@@ -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-<version>.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.
+19 -1
View File
@@ -6,6 +6,24 @@
<version>${revision}</version>
<packaging>sonar-plugin</packaging>
<name>Bifrost</name>
<description>Browse Gitea repositories and create linked SonarQube Community Build projects.</description>
<url>https://sources.tordais.cc/arnaud.dartois/Bifrost</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/license/mit/</url>
<distribution>repo</distribution>
</license>
</licenses>
<issueManagement>
<system>Gitea</system>
<url>https://sources.tordais.cc/arnaud.dartois/Bifrost/issues</url>
</issueManagement>
<scm>
<connection>scm:git:https://sources.tordais.cc/arnaud.dartois/Bifrost.git</connection>
<developerConnection>scm:git:https://sources.tordais.cc/arnaud.dartois/Bifrost.git</developerConnection>
<url>https://sources.tordais.cc/arnaud.dartois/Bifrost</url>
</scm>
<properties>
<revision>0.1.0-SNAPSHOT</revision>
<maven.compiler.release>17</maven.compiler.release>
@@ -28,7 +46,7 @@
<finalName>sonar-bifrost-plugin-${revision}</finalName>
<plugins>
<plugin><groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId><artifactId>sonar-packaging-maven-plugin</artifactId><version>1.23.0.740</version><extensions>true</extensions>
<configuration><pluginKey>bifrost</pluginKey><pluginName>Bifrost (Gitea Import)</pluginName><pluginClass>cc.tordais.sonar.bifrost.BifrostPlugin</pluginClass><pluginDescription>Import Gitea repositories as SonarQube projects.</pluginDescription><pluginUrl>http://localhost:3000/owner/bifrost</pluginUrl></configuration>
<configuration><pluginKey>bifrost</pluginKey><pluginName>Bifrost (Gitea Import)</pluginName><pluginClass>cc.tordais.sonar.bifrost.BifrostPlugin</pluginClass><pluginDescription>Browse Gitea repositories and create linked SonarQube projects. Bifrost does not clone or analyze source code.</pluginDescription><pluginUrl>${project.url}</pluginUrl><pluginIssueTrackerUrl>${project.issueManagement.url}</pluginIssueTrackerUrl><pluginSourcesUrl>${project.scm.url}</pluginSourcesUrl></configuration>
</plugin>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.13.0</version></plugin>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>3.5.2</version></plugin>
+1 -1
View File
@@ -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