[arch-commits] Commit in opensearch-dashboards-reports-plugin/repos/community-x86_64 (2 files)
Date: Thursday, September 1, 2022 @ 21:00:46 Author: hashworks Revision: 1290450 archrelease: copy trunk to community-x86_64 Added: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1290449, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) Deleted: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 104 ++--- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-09-01 21:00:43 UTC (rev 1290449) +++ PKGBUILD2022-09-01 21:00:46 UTC (rev 1290450) @@ -1,52 +0,0 @@ -# Maintainer: Justin Kromlinger - -pkgname='opensearch-dashboards-reports-plugin' -_pluginname='dashboards-reports' -pkgver=2.1.0.0 -_dashboardsver=2.1.0 -pkgrel=1 -pkgdesc='OpenSearch Dashboards Reports Plugin' -url='https://opensearch.org/docs/latest/dashboards/reporting' -arch=('x86_64') -license=('Apache') -depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') -makedepends=('yarn' 'python' 'git') -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}; -) -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" -} - -build() { - mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" - cd "OpenSearch-Dashboards/plugins/${_pluginname}" - yarn osd bootstrap - yarn build --skip-archive -} - -# TODO: Fix tests. Seem to include integration tests. -#check() { -# cd "OpenSearch-Dashboards/plugins/${_pluginname}" -# yarn test -#} - -package() { - cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" - - install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete -} - -# vim: ts=2 sw=2 et: Copied: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1290449, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-09-01 21:00:46 UTC (rev 1290450) @@ -0,0 +1,52 @@ +# Maintainer: Justin Kromlinger + +pkgname='opensearch-dashboards-reports-plugin' +_pluginname='dashboards-reports' +pkgver=2.2.1.0 +_dashboardsver=2.2.1 +pkgrel=1 +pkgdesc='OpenSearch Dashboards Reports Plugin' +url='https://opensearch.org/docs/latest/dashboards/reporting' +arch=('x86_64') +license=('Apache') +depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') +makedepends=('yarn' 'python' 'git') +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}; +) +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" +} + +build() { + mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" + cd "OpenSearch-Dashboards/plugins/${_pluginname}" + yarn osd bootstrap + yarn build --skip-archive +} + +# TODO: Fix tests. Seem to include integration tests. +#check() { +# cd "OpenSearch-Dashboards/plugins/${_pluginname}" +# yarn test +#} + +package() { + cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" + + install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in opensearch-dashboards-reports-plugin/repos/community-x86_64 (2 files)
Date: Monday, July 11, 2022 @ 09:15:21 Author: artafinde Revision: 1249519 archrelease: copy trunk to community-x86_64 Added: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1249518, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) Deleted: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 104 ++--- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-07-11 09:15:16 UTC (rev 1249518) +++ PKGBUILD2022-07-11 09:15:21 UTC (rev 1249519) @@ -1,52 +0,0 @@ -# Maintainer: Justin Kromlinger - -pkgname='opensearch-dashboards-reports-plugin' -_pluginname='dashboards-reports' -pkgver=2.0.1.0 -_dashboardsver=2.0.1 -pkgrel=1 -pkgdesc='OpenSearch Dashboards Reports Plugin' -url='https://opensearch.org/docs/latest/dashboards/reporting' -arch=('x86_64') -license=('Apache') -depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') -makedepends=('yarn' 'python' 'git') -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}; -) -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" -} - -build() { - mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" - cd "OpenSearch-Dashboards/plugins/${_pluginname}" - yarn osd bootstrap - yarn build --skip-archive -} - -# TODO: Fix tests. Seem to include integration tests. -#check() { -# cd "OpenSearch-Dashboards/plugins/${_pluginname}" -# yarn test -#} - -package() { - cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" - - install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete -} - -# vim: ts=2 sw=2 et: Copied: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1249518, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-07-11 09:15:21 UTC (rev 1249519) @@ -0,0 +1,52 @@ +# Maintainer: Justin Kromlinger + +pkgname='opensearch-dashboards-reports-plugin' +_pluginname='dashboards-reports' +pkgver=2.1.0.0 +_dashboardsver=2.1.0 +pkgrel=1 +pkgdesc='OpenSearch Dashboards Reports Plugin' +url='https://opensearch.org/docs/latest/dashboards/reporting' +arch=('x86_64') +license=('Apache') +depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') +makedepends=('yarn' 'python' 'git') +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}; +) +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" +} + +build() { + mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" + cd "OpenSearch-Dashboards/plugins/${_pluginname}" + yarn osd bootstrap + yarn build --skip-archive +} + +# TODO: Fix tests. Seem to include integration tests. +#check() { +# cd "OpenSearch-Dashboards/plugins/${_pluginname}" +# yarn test +#} + +package() { + cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" + + install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in opensearch-dashboards-reports-plugin/repos/community-x86_64 (2 files)
Date: Tuesday, June 21, 2022 @ 08:47:50 Author: hashworks Revision: 1238788 archrelease: copy trunk to community-x86_64 Added: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1238787, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) Deleted: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 104 ++--- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-06-21 08:47:47 UTC (rev 1238787) +++ PKGBUILD2022-06-21 08:47:50 UTC (rev 1238788) @@ -1,52 +0,0 @@ -# Maintainer: Justin Kromlinger - -pkgname='opensearch-dashboards-reports-plugin' -_pluginname='dashboards-reports' -pkgver=2.0.0.0 -_dashboardsver=2.0.0 -pkgrel=1 -pkgdesc='OpenSearch Dashboards Reports Plugin' -url='https://opensearch.org/docs/latest/dashboards/reporting' -arch=('x86_64') -license=('Apache') -depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') -makedepends=('yarn' 'python' 'git') -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}; -) -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" -} - -build() { - mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" - cd "OpenSearch-Dashboards/plugins/${_pluginname}" - yarn osd bootstrap - yarn build --skip-archive -} - -# TODO: Fix tests. Seem to include integration tests. -#check() { -# cd "OpenSearch-Dashboards/plugins/${_pluginname}" -# yarn test -#} - -package() { - cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" - - install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete -} - -# vim: ts=2 sw=2 et: Copied: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1238787, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-06-21 08:47:50 UTC (rev 1238788) @@ -0,0 +1,52 @@ +# Maintainer: Justin Kromlinger + +pkgname='opensearch-dashboards-reports-plugin' +_pluginname='dashboards-reports' +pkgver=2.0.1.0 +_dashboardsver=2.0.1 +pkgrel=1 +pkgdesc='OpenSearch Dashboards Reports Plugin' +url='https://opensearch.org/docs/latest/dashboards/reporting' +arch=('x86_64') +license=('Apache') +depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') +makedepends=('yarn' 'python' 'git') +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}; +) +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" +} + +build() { + mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" + cd "OpenSearch-Dashboards/plugins/${_pluginname}" + yarn osd bootstrap + yarn build --skip-archive +} + +# TODO: Fix tests. Seem to include integration tests. +#check() { +# cd "OpenSearch-Dashboards/plugins/${_pluginname}" +# yarn test +#} + +package() { + cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" + + install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in opensearch-dashboards-reports-plugin/repos/community-x86_64 (2 files)
Date: Saturday, May 28, 2022 @ 03:03:26 Author: hashworks Revision: 1210936 archrelease: copy trunk to community-x86_64 Added: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1210935, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) Deleted: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 106 + 1 file changed, 52 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-28 03:03:23 UTC (rev 1210935) +++ PKGBUILD2022-05-28 03:03:26 UTC (rev 1210936) @@ -1,54 +0,0 @@ -# Maintainer: Justin Kromlinger - -pkgname='opensearch-dashboards-reports-plugin' -_pluginname='dashboards-reports' -pkgver=1.3.2.0 -_dashboardsver=1.3.0 -pkgrel=1 -pkgdesc='OpenSearch Dashboards Reports Plugin' -url='https://opensearch.org/docs/latest/dashboards/reporting' -arch=('x86_64') -license=('Apache') -depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') -makedepends=('yarn' 'python' 'git') -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}; -) -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" -} - -build() { - mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" - cd "OpenSearch-Dashboards/plugins/${_pluginname}" - yarn osd bootstrap - yarn build --skip-archive -} - -# TODO: Fix tests. Seem to include integration tests. -#check() { -# cd "OpenSearch-Dashboards/plugins/${_pluginname}" -# yarn test -#} - -package() { - cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" - - install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete -} - -# vim: ts=2 sw=2 et: Copied: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1210935, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-28 03:03:26 UTC (rev 1210936) @@ -0,0 +1,52 @@ +# Maintainer: Justin Kromlinger + +pkgname='opensearch-dashboards-reports-plugin' +_pluginname='dashboards-reports' +pkgver=2.0.0.0 +_dashboardsver=2.0.0 +pkgrel=1 +pkgdesc='OpenSearch Dashboards Reports Plugin' +url='https://opensearch.org/docs/latest/dashboards/reporting' +arch=('x86_64') +license=('Apache') +depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') +makedepends=('yarn' 'python' 'git') +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}; +) +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" +} + +build() { + mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" + cd "OpenSearch-Dashboards/plugins/${_pluginname}" + yarn osd bootstrap + yarn build --skip-archive +} + +# TODO: Fix tests. Seem to include integration tests. +#check() { +# cd "OpenSearch-Dashboards/plugins/${_pluginname}" +# yarn test +#} + +package() { + cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" + + install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in opensearch-dashboards-reports-plugin/repos/community-x86_64 (2 files)
Date: Thursday, March 31, 2022 @ 11:58:50 Author: hashworks Revision: 1177927 archrelease: copy trunk to community-x86_64 Added: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1177926, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) Deleted: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 108 ++--- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-03-31 11:58:46 UTC (rev 1177926) +++ PKGBUILD2022-03-31 11:58:50 UTC (rev 1177927) @@ -1,54 +0,0 @@ -# Maintainer: Justin Kromlinger - -pkgname='opensearch-dashboards-reports-plugin' -_pluginname='dashboards-reports' -pkgver=1.3.0.0 -_dashboardsver=1.3.0 -pkgrel=1 -pkgdesc='OpenSearch Dashboards Reports Plugin' -url='https://opensearch.org/docs/latest/dashboards/reporting' -arch=('x86_64') -license=('Apache') -depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') -makedepends=('yarn' 'python' 'git') -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}; -) -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" -} - -build() { - mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" - cd "OpenSearch-Dashboards/plugins/${_pluginname}" - yarn osd bootstrap - yarn build --skip-archive -} - -# TODO: Fix tests. Seem to include integration tests. -#check() { -# cd "OpenSearch-Dashboards/plugins/${_pluginname}" -# yarn test -#} - -package() { - cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" - - install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete -} - -# vim: ts=2 sw=2 et: Copied: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1177926, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-03-31 11:58:50 UTC (rev 1177927) @@ -0,0 +1,54 @@ +# Maintainer: Justin Kromlinger + +pkgname='opensearch-dashboards-reports-plugin' +_pluginname='dashboards-reports' +pkgver=1.3.1.0 +_dashboardsver=1.3.0 +pkgrel=1 +pkgdesc='OpenSearch Dashboards Reports Plugin' +url='https://opensearch.org/docs/latest/dashboards/reporting' +arch=('x86_64') +license=('Apache') +depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') +makedepends=('yarn' 'python' 'git') +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}; +) +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" +} + +build() { + mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" + cd "OpenSearch-Dashboards/plugins/${_pluginname}" + yarn osd bootstrap + yarn build --skip-archive +} + +# TODO: Fix tests. Seem to include integration tests. +#check() { +# cd "OpenSearch-Dashboards/plugins/${_pluginname}" +# yarn test +#} + +package() { + cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" + + install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in opensearch-dashboards-reports-plugin/repos/community-x86_64 (2 files)
Date: Friday, March 25, 2022 @ 23:20:31 Author: hashworks Revision: 1176734 archrelease: copy trunk to community-x86_64 Added: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1176733, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) Deleted: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 108 ++--- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-03-25 23:20:29 UTC (rev 1176733) +++ PKGBUILD2022-03-25 23:20:31 UTC (rev 1176734) @@ -1,54 +0,0 @@ -# Maintainer: Justin Kromlinger - -pkgname='opensearch-dashboards-reports-plugin' -_pluginname='dashboards-reports' -pkgver=1.2.2.0 -_dashboardsver=1.2.0 -pkgrel=1 -pkgdesc='OpenSearch Dashboards Reports Plugin' -url='https://opensearch.org/docs/latest/dashboards/reporting' -arch=('x86_64') -license=('Apache') -depends=('opensearch-dashboards' 'coffeescript') -makedepends=('yarn' 'python' 'git') -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}; -) -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" -} - -build() { - mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" - cd "OpenSearch-Dashboards/plugins/${_pluginname}" - yarn osd bootstrap - yarn build --skip-archive -} - -# TODO: Fix tests. Seem to include integration tests. -#check() { -# cd "OpenSearch-Dashboards/plugins/${_pluginname}" -# yarn test -#} - -package() { - cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" - - install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" - - find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete -} - -# vim: ts=2 sw=2 et: Copied: opensearch-dashboards-reports-plugin/repos/community-x86_64/PKGBUILD (from rev 1176733, opensearch-dashboards-reports-plugin/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-03-25 23:20:31 UTC (rev 1176734) @@ -0,0 +1,54 @@ +# Maintainer: Justin Kromlinger + +pkgname='opensearch-dashboards-reports-plugin' +_pluginname='dashboards-reports' +pkgver=1.3.0.0 +_dashboardsver=1.3.0 +pkgrel=1 +pkgdesc='OpenSearch Dashboards Reports Plugin' +url='https://opensearch.org/docs/latest/dashboards/reporting' +arch=('x86_64') +license=('Apache') +depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript') +makedepends=('yarn' 'python' 'git') +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}; +) +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" +} + +build() { + mv "${_pluginname}/${_pluginname}" "OpenSearch-Dashboards/plugins/${_pluginname}" + cd "OpenSearch-Dashboards/plugins/${_pluginname}" + yarn osd bootstrap + yarn build --skip-archive +} + +# TODO: Fix tests. Seem to include integration tests. +#check() { +# cd "OpenSearch-Dashboards/plugins/${_pluginname}" +# yarn test +#} + +package() { + cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}" + + install -Dm644 "${srcdir}/dashboards-reports/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + cp -r "build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/" + + find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete +} + +# vim: ts=2 sw=2 et: