Hi!
I was working on the patches with the test modules/tools transferring and caching while it
occurred to me that the tool .tar.gz packages that we plan to do are not such a good
idea.
The current implementation requires the tools to be packaged in an archive. But that is
far from convenient when it comes to developing new tests. The users would have to
recreate the archive each time they change something. That would be really tedious thing
to do. On top of that there would certainly be some problems with including those archives
in Fedora packages.
LNST could do this automatically with ease. Creating the archive is straight-forward, the
only problem is keeping track of the hashes. It would be really inefficient to
recreate all the archives each time nettestctl is executed just to compute their hashes.
I'm not really sure how to do it yet. Maybe check modify times of all the files? Or we
could invent some clever way of computing hashes of directories! That could work ... We
could cache the dir hashes in lets say ~/.lnst/.resources or something or maybe it
won't be necessary to cache them at all ...
What is your opinion this?
Cheers
Radek