-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tranformation and templating tool #8
Comments
I can imagine we could provide a metadata write feature which could do one of the following three levels of the scatteredness (not sure about how we should handle overwriting existing files):
But what is the exact use case here? Do you expect some big batch changes in metadata? Would something like this be used often? Not sure it is worth to implement it. |
Yep, exactly that is also my idea to use these tree base formats. If it is often scenario hard to say. Also some tool what helps you generate metadata from another format can use it. like beakerlib format. |
I think that good rule of thumb is: if you can make use of a tool that generates the meta-data for you automatically, then, well, do you really need the data in the first place? I understand why there could be use case fo some basic templaing, like generating test dir, but what kind of structure to use should be project-specific and wokflow-specific decision. Ie. it should not be job of fmf but job of some wizard tool that is developed for the given project. (Just my 2 satoshis.) |
I think the |
@psss yep, exacly. it is my idea and this transforming could be now forgotten, because noone is directly interested. And we can use this issue for this init and template generator Maybe it could be more clever and for example generate this tree structure based on directories and files inside, like I can imagine, that:
and tooling like
it is very pythonish and very powerful generator ;-) |
Interesting example with the |
I've implemented it via #46 |
please provide tool what will be able to transform various metadata format like.
if you have metadata in one single file, tranform them to files in directory structure, or vice versa, from separate simple files, generate one complex file.
it would also nice to have there some generator what for example generates basic metadata files recursively in directory structure,
could work like find . -name "runtest.sh" -print "some strucutre to this directiry."
it could create basic test metadata templates
The text was updated successfully, but these errors were encountered: