-
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
Migrate tmt.utils.field
and tmt.utils.DataContainer
to fmf
#208
Comments
If you mean for the content of fmf files, then such a functionality would require from fmf library to be aware of the schema fmf data must follow, and that's usually owned by the fmf library user, in this case tmt. tmt "knows" whether What benefits do you expect from this migration? Something fmf itself can use for its own structures? |
Well this is to help with using Ideally it should be linked to a json-schema, but for a first step, getting |
I see. Well, as I said, it will not be a trivial effort, just moving those two pieces of code into I don't want to discourage you, I do see the benefit, instead of amorphous BTW now that Python 3.6 is out of the way, I was actually thinking of replacing the custom data classes with https://www.attrs.org/ or a similar, more "standard" solution, re-building our current validation/normalization on top of this (or similar...) library. I did not invest too much deeper thought into this though, because, well, what we have just works, it's no longer a blocker, preventing tmt development, and what tmt lacks more is the functionality needed for proper Testing Farm integration & reliable testing; I sort of resorted to focusing on that development rather than improving the basic classes we have. But, in the grand scheme of things, if we as a community recognize the normalization as a feature useful enough to be in fmf, it would make sense to me to resurrect this effort and invest some time into investigating whether we can re-implement my code in tmt with |
I can take a quick look into Currently I think a higher priority would be to get the current PRs that I've opened merged. With the click cli, I think it will be easier to build plugins and migrate some code to here. But after that, it would be nice to have a checklist of what needs to be implemented and a rough order for that so that we can see how to approach it. My idea here is to:
|
It would be nice to have the normalization of the data types in this project.
The text was updated successfully, but these errors were encountered: