From 47e1ad68337e66a4f84da4983c833706456147de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JB=20Onofr=C3=A9?= Date: Sun, 5 Jan 2025 09:26:11 +0100 Subject: [PATCH] Add camel-karaf subproject (#1274) --- antora-playbook-snippets/antora-playbook.yml | 2 ++ content/releases/karaf/release-4.8.1.md | 12 ++++++++++ data/release-categories.yaml | 15 ++++++++++-- layouts/partials/releases/camel-karaf.html | 25 ++++++++++++++++++++ 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 content/releases/karaf/release-4.8.1.md create mode 100644 layouts/partials/releases/camel-karaf.html diff --git a/antora-playbook-snippets/antora-playbook.yml b/antora-playbook-snippets/antora-playbook.yml index f9ca32112a9..5ecd3e502b2 100644 --- a/antora-playbook-snippets/antora-playbook.yml +++ b/antora-playbook-snippets/antora-playbook.yml @@ -82,6 +82,8 @@ content: - url: https://github.com/apache/camel-karaf.git branches: + - main + - camel-karaf-4.8.x - camel-karaf-3.22.x start_path: docs diff --git a/content/releases/karaf/release-4.8.1.md b/content/releases/karaf/release-4.8.1.md new file mode 100644 index 00000000000..c1ecce7f275 --- /dev/null +++ b/content/releases/karaf/release-4.8.1.md @@ -0,0 +1,12 @@ +--- +url: "/releases/karaf-4.8.1/" +date: 2024-07-19 +type: release-note +version: "4.8.1" +title: "Camel Karaf release 4.8.1" +preview: "" +changelog: "" +category: "camel-karaf" +milestone: 2 +jdk: [17] +--- diff --git a/data/release-categories.yaml b/data/release-categories.yaml index 7f88b1376a8..db74b752d22 100644 --- a/data/release-categories.yaml +++ b/data/release-categories.yaml @@ -102,10 +102,21 @@ camel-kafka-connector: - name: 'Binaries' title: 'Connectors download list' link: '/camel-kafka-connector/next/reference/index.html' +camel-karaf: + id: 'camel-karaf' + name: 'Apache Karaf' + order: 6 + kinds: + - name: 'latest' + filter: 'latest' + downloads: + - name: 'Sources' + path_format: 'camel/camel-karaf/{version}/camel-karaf-{version}-source-release.zip' + filename_format: 'camel-karaf-{version}-source-release.zip' camel-quarkus: id: 'camel-quarkus' name: 'Apache Camel Quarkus' - order: 6 + order: 7 kinds: - name: 'latest' filter: 'latest' @@ -122,7 +133,7 @@ camel-quarkus: camel-upgrade-recipes: id: 'camel-upgrade-recipes' name: 'Apache Camel Upgrade Recipes' - order: 7 + order: 8 kinds: - name: 'latest' filter: 'latest' diff --git a/layouts/partials/releases/camel-karaf.html b/layouts/partials/releases/camel-karaf.html new file mode 100644 index 00000000000..aa583dff302 --- /dev/null +++ b/layouts/partials/releases/camel-karaf.html @@ -0,0 +1,25 @@ +{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-karaf") "Pages" $.Site.Pages "Version" .Params.version) }} + +

Git tag checkout

+

+ Release is tagged with camel-karaf-{{ .Params.version }} in the Git, to fetch it use: +

+
+git clone https://github.com/apache/camel-karaf.git
+cd camel-karaf
+git checkout camel-karaf-{{ .Params.version }}
+ +

Resolved issues

+

Here is a list of all the issues that have been resolved for this release

+{{ $headers := dict }} +{{ with os.Getenv "GITHUB_TOKEN" }} + {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} +{{ else }} + {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} +{{ end }} +{{ $issues := getJSON "https://api.github.com/repos/apache/camel-karaf/issues?state=closed&milestone=" (string .Params.milestone ) $headers }} +
+{{ range $issues }} +
#{{ .number }}
{{ .title }}
+{{ end }} +