GithubHelp home page GithubHelp logo

Remove `KIWIX_DATA_DIR` about libkiwix HOT 3 CLOSED

kelson42 avatar kelson42 commented on August 24, 2024
Remove `KIWIX_DATA_DIR`

from libkiwix.

Comments (3)

mgautierfr avatar mgautierfr commented on August 24, 2024

Is not clear which feature it serves (seems useless to me)

It is a way to configure libkiwix and overide the resolution order of getDataDirectory

I'm again to instrument Kiwix Desktop with "hidden" variable environnements.

It is a libkiwix feature, which is used by kiwix-desktop

Is not documented (the best doc I have is kiwix/kiwix-desktop#694 (comment) from @veloman-yunkan )

Documented here : https://libkiwix.readthedocs.io/en/latest/api/function_tools_8h_1ab559be1bc8eca66c26901660949870c0.html

As a bad naming because only part of the data are stored in it

I would say that it would be to kiwix-desktop to always use the directory returned by kiwix::getDataDirectory unless specific config changed that (and fix kiwix-desktop if it is not the case (whatever we decide about KIWIX_DATA_DIR))

from libkiwix.

kelson42 avatar kelson42 commented on August 24, 2024

@mgautierfr Thank you for the clarification, I have moved the issue. The documentation link is also very helpful to understand. I have created an issue to request a proper documentation of all local paths to save/load things in the Wiki kiwix/kiwix-desktop#1114

from libkiwix.

kelson42 avatar kelson42 commented on August 24, 2024

All of this is Kiwix Desktop related and should be handled in Kiwix Desktop. The need is not clear to me why we should need to customize this from outside the app and it we would have then it would have to be done via a command line argument. On the top the whole Kiwix Desktop UI does not take care of this and continue to show the usual path. This "feature" has been transformed in a bug. We should just remove it.

Should be implemented within #1087

from libkiwix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.