> On Oct 29, 2021, at 4:03 PM, Nick Vatamaniuc <vatam...@gmail.com> wrote: > > Technically there are difficulties around rebar3 compatibility for > NIFs. It might be easier to make them developer friendly after we > switched the whole CouchDB project to rebar3.
I recall that discussion cropping up in the past. I managed to get rebar3’s port_compiler plugin to support erlfdb in this PR: https://github.com/apache/couchdb-erlfdb/pull/29 <https://github.com/apache/couchdb-erlfdb/pull/29> As far as I can tell the `pc` plugin does basically the same thing as `enc`; i.e., hack and slash through rebar2 to extract the parts that are relevant to native code compilation, while preserving the configuration interface. Not sure if there are other issues lurking. > There is also another direction we can take some applications like > config, for example. I think it might make sense to pull that one into > the main repo. Over the years it got tangled enough with CouchDB > specifics (couch_log, etc) that having it as separate is more of an > inconvenience than a benefit at this point. I’d probably defer doing anything with config till we tackle some of the simpler cases, but I am definitely open to folding it into CouchDB and giving up on the idea of it as a general-purpose app. Cheers, Adam