Open madrisan opened 4 months ago
python3 mupub init
This will create the ~/.mupub folder containing an intialized database, configuration files, and lycache. (Apparently the lycache isn't getting created on init and I will fix that soon.)
Thanks! I switched to a copy of this repository for testing a possible CI: https://github.com/madrisan/mupub/tree/ci
By the way @glenl , why mupub
checks for lilypondVersion
instead of lookinh at \version
?
A grep
in MutopiaProject/MutopiaProject gives me no occurrences.
See header.py
- The tag in mupub's Loader table is named lilypondVersion
but it resolves that from a match for \version
.
_VERSION_PAT = re.compile(r'\s*\\version\s+\"([^\"]+)\"')
... and in the VersionLoader
method,
vmatch = _VERSION_PAT.search(line)
if vmatch is not None:
table['lilypondVersion'] = vmatch.group(1)
BTW, other than being the author and (reasonably) happy with the work, I have no other personal stake. If you want to continue support, feel free to rewrite and modify as you see fit. It is no longer "mine". For example, he SQLite DB part was an implementation decision I made and you might feel it is better served with YAML.
How can I create the SQLite DB?