Skip to content

Commit

Permalink
Add camel-karaf subproject (#1274)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonofre authored Jan 5, 2025
1 parent 4198743 commit 47e1ad6
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 2 deletions.
2 changes: 2 additions & 0 deletions antora-playbook-snippets/antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 12 additions & 0 deletions content/releases/karaf/release-4.8.1.md
Original file line number Diff line number Diff line change
@@ -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]
---
15 changes: 13 additions & 2 deletions data/release-categories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down
25 changes: 25 additions & 0 deletions layouts/partials/releases/camel-karaf.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-karaf") "Pages" $.Site.Pages "Version" .Params.version) }}

<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
<p>
Release is tagged with <code>camel-karaf-{{ .Params.version }}</code> in the Git, to fetch it use:
</p>
<pre>
git clone https://github.com/apache/camel-karaf.git
cd camel-karaf
git checkout camel-karaf-{{ .Params.version }}</pre>

<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2>
<p>Here is a list of all the issues that have been resolved for this release</p>
{{ $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 }}
<dl>
{{ range $issues }}
<dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd>
{{ end }}
</dl>

0 comments on commit 47e1ad6

Please sign in to comment.