Bug 257304 - [NEW PORT] databases/metabase: Open source analytics tool that supports multiple data stores
Summary: [NEW PORT] databases/metabase: Open source analytics tool that supports multi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL: https://github.com/metabase/metabase
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-21 06:29 UTC by Daniel Morante
Modified: 2021-07-31 21:29 UTC (History)
2 users (show)

See Also:


Attachments
Git diff (6.02 KB, patch)
2021-07-21 06:29 UTC, Daniel Morante
no flags Details | Diff
Git diff (5.93 KB, patch)
2021-07-21 06:35 UTC, Daniel Morante
no flags Details | Diff
Git diff (5.94 KB, patch)
2021-07-31 19:34 UTC, Daniel Morante
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Morante 2021-07-21 06:29:12 UTC
Created attachment 226578 [details]
Git diff

- New port: databases/metabase
- Uses pre-built JAR from upstream vendor
- Tested with 12.2-RELEASE and 13.0-RELEASE

Metabase is an open source graphical SQL workbench, analytics tool, and dashboard that supports multiple data stores.
Comment 1 Daniel Morante 2021-07-21 06:35:23 UTC
Created attachment 226580 [details]
Git diff
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2021-07-21 06:41:26 UTC
Comment on attachment 226580 [details]
Git diff

^Triage: maintainer-approval really only applies to existing ports.
Comment 3 Li-Wen Hsu freebsd_committer 2021-07-28 09:41:04 UTC
It installs ${PREFIX}/bin/${PORTNAME}.jar and rc script invokes it with `java  -jar`. I feel it makes more sense to put it to ${PREFIX}/libexec. What do you think?
Comment 4 Daniel Morante 2021-07-30 07:58:56 UTC
(In reply to Li-Wen Hsu from comment #3)
Sure, I'll make a new patch.
Comment 5 Daniel Morante 2021-07-31 19:34:48 UTC
Created attachment 226825 [details]
Git diff

Put jar into ${PREFIX}/libexec
Comment 6 commit-hook freebsd_committer 2021-07-31 21:29:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71a09abcf55da3469921ea4154bd704183c23372

commit 71a09abcf55da3469921ea4154bd704183c23372
Author:     Daniel Morante <daniel@morante.net>
AuthorDate: 2021-07-31 21:27:19 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-07-31 21:28:47 +0000

    databases/metabase: (New) Simple and powerful analytics tool that supports multiple data stores

    PR:             257304

 databases/Makefile                            |  1 +
 databases/metabase/Makefile (new)             | 41 ++++++++++++++++
 databases/metabase/distinfo (new)             |  3 ++
 databases/metabase/files/metabase.conf (new)  | 26 ++++++++++
 databases/metabase/files/metabase.in (new)    | 69 +++++++++++++++++++++++++++
 databases/metabase/files/pkg-message.in (new) | 18 +++++++
 databases/metabase/pkg-descr (new)            |  9 ++++
 7 files changed, 167 insertions(+)