
On 2/23/21 11:11 PM, Matwey V. Kornilov wrote:
Hi,
I would like to package influxdb2: https://github.com/influxdata/influxdb <https://github.com/influxdata/influxdb> that is the next major version for server:database/influxdb Probably, they will coexist for some time, but it doesn't matter currently.
I've found that influxdb2 is provided with a built in WebUI interface based on nodejs(?) and it requires about 2000 packages from npm to be built. Even though I can do it manually, there is no internet connection in OBS. I have not found any info on the wifi how to overcome this issue. Probably I need to preferetch these sources from npm and put them as a tarball.
The most correct way would be to package each dependency individually following [1] which is obviously an insane, for some go packages we copy each library that we don't have a package for into its own see [2] for example, note that for a legal review we need to note the license of each lib. Unfortunately the only way that doesn't require some significant effort is to disable building the webui, you could however make it easy to renable with a define so if people really want it they can build the package themselves locally. 1. https://en.opensuse.org/openSUSE:Packaging_nodejs 2. https://build.opensuse.org/package/view_file/science:machinelearning/tensorf... -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B