Coder Social home page Coder Social logo

Add TOML support about okaeri-configs HOT 4 OPEN

okaeripoland avatar okaeripoland commented on June 12, 2024
Add TOML support

from okaeri-configs.

Comments (4)

robalmeister avatar robalmeister commented on June 12, 2024 1

night config w GNU jest

from okaeri-configs.

dasavick avatar dasavick commented on June 12, 2024

I already looked into this format before. I'm afraid there may be no suitable and supported TOML library for java. Okaeri-configs needs both read and write for any abstract structure with support of at least text values, collection, and map.

Ability to insert comments programmatically would also be greatly appreciated. The libraries I have seen before support mainly read and require config skeleton to be already present, thus preventing okaeri-configs from generating a config file with the default values from the POJO.

from okaeri-configs.

robalmeister avatar robalmeister commented on June 12, 2024

ja widzialem np night config

from okaeri-configs.

dasavick avatar dasavick commented on June 12, 2024

Edit1: Mózg zepsuty i pomyliłem AGPL z LGPL, w trakcie analizy.

Edit2: Jednak nic nie rozumiem. Proszę dać libkę na MIT albo Apache License 2.0. 💀

Edit3: Chyba jednak akceptowalne i nie tworzy za dużo obowiązków dla osób, które wyłącznie na "użytek własny" by stosowały (we wtyczce na własnym serwerze etc.), a jedynie dla dystrybucji aplikacji lub wtyczek (plików jar) używających tego modułu. Może kiedyś zobaczę, czy da się to realnie zaimplementować.


Wygląda na to, że night-config używa własnej implementacji TOML. Kod jest jednak na licencji LGPL. Jest to dość restrykcyjna licencja, która moim zdaniem słabo nadaje się do tego typu bibliotek.

Zgodnie z moim stanem wiedzy, użycie okaeri-configs z potencjalnym modułem TOML opartym o tę bibliotekę, tworzyłoby obowiązek poinformowania o użyciu night-config oraz udostępnienia każdemu użytkownikowi dostępu do plików źródłowych obecnie używanej wersji night-config w twojej aplikacji, czy też wtyczce.

from okaeri-configs.

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.