libelektra icon indicating copy to clipboard operation
libelektra copied to clipboard

[new-backend] highlevel API updates

Open kodebach opened this issue 3 years ago • 2 comments

Just an idea, based on #4442, #4444 and the new mount tooling in C.

When all this is done, the high-level API should by default use the new mountpoint contract and the "symbol" mode of specload and we should also generate C code for creating all mountpoints for the application. The goal would be that an app written with the high-level API codegen, runs standalone without installation (at least for command line args). The app should also have a command-line flag for mounting, so that installing is just: move app to install dir and run ./app --elektra-mount

kodebach avatar Aug 24 '22 12:08 kodebach

Great idea :rocket:

@kodebach did you consider to use the high-level API for kdb? I mean for its configuration, not for doing its job with KDB (the second part we already discussed earlier). Then this issue would be more important...

An obvious disadvantage would be that kdb depends on more libs...

markus2330 avatar Aug 26 '22 09:08 markus2330

I'm not 100% sure kdb is the best candidate for using the high-level API. But it could be worth I try, if @hannes99 wants to invest the time.

EDIT: to clarify, I think kdb is too much of a command-line tool. From what I remember, I designed the high-level API with more of a focus on loading configuration and using some command line options as overrides. With kdb is more the other way, it's mainly about command-line args and the KDB is more of a fallback.

kodebach avatar Aug 26 '22 10:08 kodebach

I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:

github-actions[bot] avatar Aug 27 '23 01:08 github-actions[bot]

I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:

github-actions[bot] avatar Sep 10 '23 01:09 github-actions[bot]