Tiny Core Base > TCB Talk

Suggestion to embrace the yaml format for .info files

<< < (2/3) > >>

CardealRusso:

--- Quote from: mocore on December 29, 2023, 10:05:11 PM ---the current info files are intended for human consumption as plain text
not for programmatic / machine readability & processing

the latter obviously implies "trying to parse the info"
....
seams more likely to bring machine readability to info fles / the reop

--- End quote ---
Yes, adopting a standard would increase machine readability.

CardealRusso:

--- Quote from: mocore on December 29, 2023, 10:05:11 PM --- ... it appears the problem is less the "current non-standard format" and more "current non-standard format's"

if this is the case ( imho it appears so ) * see also : "repology-updater/issues/784# Tiny core linux  ~  https://forum.tinycorelinux.net/index.php/topic,26273.0.html "

--- End quote ---
Sorry, I missed that part.
Indeed.

http://tinycorelinux.net/14.x/x86_64/tcz/alsa-modules-6.1.2-tinycore64.tcz.info

--- Quote ---Change-log:     
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/bash-completion.tcz.info

--- Quote ---Change-log:     -
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/adoptopenjdk-12.tcz.info

--- Quote ---Change-log:     ----
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/88x2bu.tcz.info

--- Quote ---Change-log:     ----------
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/aalib-dev.tcz.info

--- Quote ---Change-log:     first version
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/advcomp.tcz.info

--- Quote ---Change-log:     2012/12/02 first version
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/aterm.tcz.info

--- Quote ---Change-log:     first version
                2013/10/20
--- End quote ---
http://tinycorelinux.net/14.x/x86_64/tcz/brave-browser.tcz.info

--- Quote ---Change-log:     2021/03/25 first version
                ...
--- End quote ---

mocore:

--- Quote from: gadget42 on December 30, 2023, 04:34:16 AM ---xkcd ftw

https://xkcd.com/927/

--- End quote ---

fwiw aka "For What It's Worth (Stop, Hey What's That Sound)"

https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish

if the use of embrace in  "to embrace the yaml" was not intended as  'Young in cheek'  :P?
 ;) it might be considered `culturally insensitive`  to those  affected by proprietary licensing 
... see also https://en.wikipedia.org/wiki/Halloween_documents

that aside ...  its interesting to see the question of machine readability (re)appear again .

mocore:


wrt previous mentioned *known format* and checking format correctness

i just discovered "GNU recutils – human readable, plain text databases "


--- Quote ---GNU Recutils is a set of tools and libraries to access human-editable, plain text databases called recfiles. The data is stored as a sequence of records, each record containing an arbitrary number of named fields.

--- End quote ---

https://www.gnu.org/software/recutils/manual/recutils.html#Invoking-recins


--- Code: ---echo "" | recins -f Name -v "Mr Foo" -f Email -v foo@bar.baz

--- End code ---

--- Quote ---Name: Mr Foo
Email: foo@bar.baz

--- End quote ---


patrikg:
Sorry to inject another format like json, all this format wars.
But see more of Linux tools like ip can output to json.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version