Implement user-friendly editing specs
Currently there is no way for users to edit specs except direct editing of spec repo. We need something user-friendly.
Some copypaste from the channel:
Dmitry which command should we add to manage these sections? any ideas? pakket manage --add-spec-section "{build_optionis}{pre_build}=[["/bin/mkdir", "/tmp/mysql_lib"], ["/bin/cp /usr/lib64/mysql/libmysqlclient.a", "/tmp/mysql_lib"] ]"
Roman TBH all this commands business seems a bit silly to me. We should just let people edit the specfile as text why create an API for something that already exists? It's called a text editor.
Dmitry pakket manage --show-spec > spec.json pakket-manage --load-spec=spec.json ?
Roman maybe just --edit-spec? Also, weren't we supposed to get specs as a repo at some point?
Dmitry we don't want give people physical access to global spec repo.
Roman why? we could have a repo similar to what homebrew has. I don't see why it wouldn't work for us
Sawyer You could make --edit-spec load an editor (using EDITOR environment variable) Or the --load-spec - I like that
Roman or both! if we don't have plainly laid out repo