patacrep / patadata

Songs data for LaTeX songbooks
http:///www.patacrep.com
22 stars 36 forks source link

Discrepancies in patadata.sbc #48

Open Grahack opened 8 years ago

Grahack commented 8 years ago

Hi, I'm new to patacrep so please forgive the noise if I'm wrong. As I understand it, patacrep.sbc should always list the files in the songs dir. Here is the diff between the .sbc file and the actual content of songs : patadata.sbc.missing.txt

Differences are missing files and five typos:

BTW, is there a utility to generate this (or other) .sbc files? This patadata.sbc could/should be generated IMHO.

oliverpool commented 8 years ago

I'm new to patacrep so please forgive the noise if I'm wrong.

You are totally right and very welcome !

Differences are missing files and five typos:

patadata.sbc has not been updated for a while (and I think we should delete it)

BTW, is there a utility to generate this (or other) .sbc files? This patadata.sbc could/should be generated IMHO.

Yes : https://github.com/patacrep/patacrep/pull/232 ! It's a little bit hidden, but it should work : patatools content items <songbook_name> (patatools should be included in the documentation)

oliverpool commented 8 years ago

Please keep the feedback coming : it helps us make patacrep better !

Grahack commented 7 years ago

patatools content items <songbook_name> doesn't do what I want: it extracts the content of a .yaml file but I'd like to ls the songs directory and build the content section of a .yaml (or .sbc for this issue) file. I had a look at patacrep.tools.content and it may be too heavy of a task to implement my feature where I could just find songs | grep ".sg\$" >> target_file and do the finitions with my fav editor.

One last question: what are .sbc files for?