[arch-commits] Commit in opensearch-dashboards-query-workbench-plugin/repos/community-x86_64 (2 files)

Justin Kromlinger hashworks at gemini.archlinux.org
Tue Jun 21 08:47:44 UTC 2022


    Date: Tuesday, June 21, 2022 @ 08:47:44
  Author: hashworks
Revision: 1238786

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-query-workbench-plugin/repos/community-x86_64/PKGBUILD
    (from rev 1238785, opensearch-dashboards-query-workbench-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-query-workbench-plugin/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-21 08:47:41 UTC (rev 1238785)
+++ PKGBUILD	2022-06-21 08:47:44 UTC (rev 1238786)
@@ -1,52 +0,0 @@
-# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
-
-pkgname='opensearch-dashboards-query-workbench-plugin'
-_pluginname='query-workbench-dashboards-plugin'
-pkgver=2.0.0.0
-_dashboardsver=2.0.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Query Workbench Plugin'
-url='https://opensearch.org/docs/latest/query-workbench/index/'
-arch=('x86_64')
-license=('Apache')
-depends=("opensearch-dashboards=${_dashboardsver}")
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/sql.git#tag=${pkgver}"
-  "git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}"
-)
-sha256sums=('SKIP'
-            'SKIP')
-
-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}\",/" \
-    "OpenSearch-Dashboards/package.json" \
-    "sql/workbench/package.json"
-}
-
-build() {
-  mv "sql/workbench" "OpenSearch-Dashboards/plugins/${_pluginname}"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn build --skip-archive
-}
-
-# TODO: Fix tests
-#check() {
-#  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-#  NODE_PATH=../../node_modules yarn test:jest
-#}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-}
-
-# vim: ts=2 sw=2 et:

Copied: opensearch-dashboards-query-workbench-plugin/repos/community-x86_64/PKGBUILD (from rev 1238785, opensearch-dashboards-query-workbench-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-21 08:47:44 UTC (rev 1238786)
@@ -0,0 +1,52 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname='opensearch-dashboards-query-workbench-plugin'
+_pluginname='query-workbench-dashboards-plugin'
+pkgver=2.0.1.0
+_dashboardsver=2.0.1
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Query Workbench Plugin'
+url='https://opensearch.org/docs/latest/query-workbench/index/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}")
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/sql.git#tag=${pkgver}"
+  "git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}"
+)
+sha256sums=('SKIP'
+            'SKIP')
+
+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}\",/" \
+    "OpenSearch-Dashboards/package.json" \
+    "sql/workbench/package.json"
+}
+
+build() {
+  mv "sql/workbench" "OpenSearch-Dashboards/plugins/${_pluginname}"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn build --skip-archive
+}
+
+# TODO: Fix tests
+#check() {
+#  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+#  NODE_PATH=../../node_modules yarn test:jest
+#}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list