Add functionality to the recipe reporting system to track: 1) Whether ptest is enabled for the recipe. This is fairly easy if you piggy-back on the recently added "inherits" code in the layer index master branch 2) Whether ptest could be enabled for the recipe, i.e. the upstream project provides a test suite. I think this is going to need to be settable somewhere in the UI by the maintainer, though for some software we could perhaps detect it in an automated way by looking for certain known things in the source tree (Makefile has a "check" target perhaps?).
If by the UI you mean the GUI, I had a brief chat with Aníbal, who mentioned the rrs is not currently able to provide any data manipulation options via the web interface. So, apparently, this bit: "I think this is going to need to be settable somewhere in the UI by the maintainer" is currently not possible. We can either do just the "automated way" for the time being, or go all the way and provide a mechanism to set this in the UI as well. Note that this might involve introducing user authentication in the rrs, otherwise we have no way to establish who the maintainer is. Just let me know what you'd like to do and I'll design accordingly. Thanks!
(In reply to comment #0) > Add functionality to the recipe reporting system to track: > > 1) Whether ptest is enabled for the recipe. This is fairly easy if you > piggy-back on the recently added "inherits" code in the layer index master > branch > > 2) Whether ptest could be enabled for the recipe, i.e. the upstream project > provides a test suite. I think this is going to need to be settable > somewhere in the UI by the maintainer, though for some software we could > perhaps detect it in an automated way by looking for certain known things in > the source tree (Makefile has a "check" target perhaps?). Hi Paul as Belen said currently the RRS doesn't not support user/maintainer interaction (i added an umbrella bug #8794) for the 2) now i can implement some logic for detect if the recipe can suppport ptest. For now we can add if a recipe can support ptest with something that said automatic detected when the user support is available this should change to manually added. Comments?
Answer given.
Created attachment 2910 [details] Design - Track ptest-enabled status
Bulk move from 4.99 or 0.00 to 5.99
Still valid. Moving to 6.99