Leonidas Spyropoulos pushed to branch main at Arch Linux / Packaging / Packages / opensearch-dashboards-anomaly-detection-plugin
Commits: 8b8695f1 by Leonidas Spyropoulos at 2025-02-21T10:38:07+00:00 upgpkg: 2.19.0.0-1: new upstream release - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = opensearch-dashboards-anomaly-detection-plugin pkgdesc = OpenSearch Dashboards Anomaly Detection Plugin - pkgver = 2.18.0.0 - pkgrel = 2 + pkgver = 2.19.0.0 + pkgrel = 1 url = https://opensearch.org/docs/latest/monitoring-plugins/ad/index/ arch = x86_64 license = Apache-2.0 @@ -9,12 +9,14 @@ pkgbase = opensearch-dashboards-anomaly-detection-plugin makedepends = npm makedepends = python makedepends = git - depends = opensearch-dashboards=2.18.0 + depends = opensearch-dashboards=2.19.0 options = !strip options = emptydirs - source = git+https://github.com/opensearch-project/anomaly-detection-dashboards-plugin.git#tag=2.18.0.0 - source = git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=2.18.0 - sha256sums = dc3a0bebdff3b1a729febb2a4bdf93789485940a8d4a9d4ead52b9de837e4068 - sha256sums = 047ea8d8669958d1cd16ee4c6c417088b7295dcf83a7efe855e9b32903eb02e1 + source = git+https://github.com/opensearch-project/anomaly-detection-dashboards-plugin.git#tag=2.19.0.0 + source = git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=2.19.0 + source = https://github.com/hashworks/OpenSearch-Dashboards/commit/1a602a8e117f735154230cc5199153a57ec5bbb6.patch + sha256sums = 98ed63fbf42657d51d36f34f91bda6fd0ab79a086f89f43a884ccdbba368ffec + sha256sums = 9cc3248ad281286e74699e7c9ebd5855cf0dae4c5ffcf6b4d789596b01cda4e4 + sha256sums = c7eab88eb06f034b0e57348d4615c86c87ea8e55da06d9ac839452317299304e pkgname = opensearch-dashboards-anomaly-detection-plugin ===================================== PKGBUILD ===================================== @@ -2,9 +2,9 @@ pkgname='opensearch-dashboards-anomaly-detection-plugin' _pluginname='anomaly-detection-dashboards-plugin' -pkgver=2.18.0.0 -_dashboardsver=2.18.0 -pkgrel=2 +pkgver=2.19.0.0 +_dashboardsver=2.19.0 +pkgrel=1 pkgdesc='OpenSearch Dashboards Anomaly Detection Plugin' url='https://opensearch.org/docs/latest/monitoring-plugins/ad/index/' arch=('x86_64') @@ -15,16 +15,25 @@ options=('!strip' 'emptydirs') source=( "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver}" "git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}" + # Switch to NodeJS LTS 22 "Jod" + "https://github.com/hashworks/OpenSearch-Dashboards/commit/1a602a8e117f735154230cc5199153a57ec5bbb6.patch" ) -sha256sums=('dc3a0bebdff3b1a729febb2a4bdf93789485940a8d4a9d4ead52b9de837e4068' - '047ea8d8669958d1cd16ee4c6c417088b7295dcf83a7efe855e9b32903eb02e1') +sha256sums=('98ed63fbf42657d51d36f34f91bda6fd0ab79a086f89f43a884ccdbba368ffec' + '9cc3248ad281286e74699e7c9ebd5855cf0dae4c5ffcf6b4d789596b01cda4e4' + 'c7eab88eb06f034b0e57348d4615c86c87ea8e55da06d9ac839452317299304e') prepare() { nodeVersion="$(node -v)" # Yes, you support this version. You just don't know it yet. sed -i "s/ \"node\": \"[0-9\.]*\",/ \"node\": \"${nodeVersion:1}\",/" \ - "${_pluginname}/package.json" \ - "OpenSearch-Dashboards/package.json" + "${_pluginname}/package.json" + cd "OpenSearch-Dashboards" + local filename + for filename in "${source[@]}"; do + if [[ "$filename" =~ \.patch$ ]]; then + patch -p1 -N -l -i "$srcdir/${filename##*/}" + fi + done } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/opensearch-dashboards-anomaly-detection-plugin/-/commit/8b8695f176a3bdf2e89c0c74b5de547c215eebb8 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/opensearch-dashboards-anomaly-detection-plugin/-/commit/8b8695f176a3bdf2e89c0c74b5de547c215eebb8 You're receiving this email because of your account on gitlab.archlinux.org.