Opened 3 years ago

Last modified 21 months ago

#63708 assigned enhancement

kibana: evaluate feasibility of building from upstream source

Reported by: mascguy (Christopher Nielsen) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: essandess (Steve Smith)
Port: kibana

Description

Presently, kibana utilizes upstream's published binaries, due to various technical challenges related to building.

The details are as follows, taken from a brief commit-related discussion between Steve Smith and myself:

Longer-term, it would definitely be preferable to build from source. Have you taken a look at what's involved? (Not an emergency though.)

I tried that at first, but it's tough and now involves bazel, so I just threw in the towel and downloaded the build that Elastic provides.

In addition to the necessity of figuring out the bazel build, it's not clear to me how stable their build process is right now, and I perceive a possible risk of a lot of maintenance to keep up as that process evolves. I don't have any special insight though.

See: https://lists.macports.org/pipermail/macports-dev/2021-September/043697.html

One key challenge, per the linked mailing list discussion, relates to conflicting inter-dependencies of the various Node/NPM ports. So that is very much a critical path for this work; tracked by issue:63035.

Once the latter has been tackled, this should be more feasible. But with the caveat mentioned by Steve, which is that upstream may be a moving target.

We'll have a better idea once the Node/NPM conflicts have been addressed, over the next few months. And perhaps upstream's build process may be more stable by then. Still TBD though.

Change History (5)

comment:1 Changed 3 years ago by essandess (Steve Smith)

Thanks for trying to tackle this. Also note that if you can figure out how to build Kibana from source, you’ll probably be able to do the same for Elasticsearch, which is currently a prebuilt download.

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Ticket covering source build for elasticsearch: issue:63719

comment:3 Changed 22 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Owner: changed from mascguy to macports-tickets@…

Too much on my plate already

comment:4 Changed 22 months ago by essandess (Steve Smith)

Just as well—A lot has changed in this space.

When I get more cycles, I’m migrating my own effort to support OpenSearch and its Kibana-equivalent OpenSearch Dashboards. I view the current Elasticsearch and Kibana versions as the last or nearly last of the line as Elastic closes down their model.

comment:5 Changed 21 months ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Note: See TracTickets for help on using tickets.