Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds new platform for download page, "Arch Linux" and the necessary i… #3107

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
role: daemon
artifact_id: opensearch
version: 2.15.0
platform: archlinux
architecture: x64
slug: opensearch-2.15.0-archlinux-x64
category: opensearch
type: system-package
archlinux_package_name: opensearch
link: https://archlinux.org/packages/extra/x86_64/opensearch/
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
role: ui
title: OpenSearch Dashboards
artifact_id: opensearch-dashboards
architecture: x64
platform: archlinux
type: system-package
category: opensearch-dashboards
slug: opensearch-dashboards-2.15.0-archlinux-x64
version: 2.15.0
archlinux_package_name: opensearch-dashboards
link: https://archlinux.org/packages/extra/x86_64/opensearch-dashboards/
---
9 changes: 9 additions & 0 deletions _layouts/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
macos: macOS
java: "Java"
docker: Docker
archlinux: "Arch Linux"
extensions:
targz: ".tar.gz"
exe: "Installer (exe)"
Expand Down Expand Up @@ -60,6 +61,7 @@
- linux
- docker
- freebsd
- archlinux
- macos
- windows
- java
Expand Down Expand Up @@ -211,6 +213,13 @@ <h3 class="artifact-name" id="{{component.artifact}}">{{ name_pretty }}</h3>
</div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.archlinux_package_name %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<p>Install from Arch Linux packages:</p>
<pre># pacman -S install {{details.archlinux_package_name}}</pre>
</div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.link %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<a href="{{details.link}}" target="_blank" class="cta">Get it</a>
Expand Down
Loading