On Sep 8, 2016 1:17 PM, "Ji?? Pokorn?" <jiri.pokorny89 at gmail.com> wrote:
>
> Hello,
>
> my name is Ji?? Pokorn?, I study PhD programme at Brno university of
technology in Czech republic. I'd like to ask if there was a way to find
some small projects for my students to help iotivity with development.

The build system is a wonderful teaching opportunity - it's a real mess.
Working on it drives home the lesson that the code that builds a product
should be engineered with the same care and attention to detail as the
product itself.

Some tasks:

* eliminate redundancies - some large chunks of build code are obviously
cut-and-paste jobs, very sloppy.

* clean up parameter passing.  the code is very leaky - in many cases
parameters for one target get improperly passed on to other targets.

* better support for specific build targets.  e.g. if I'm only working on
csdk then I do not want to build the services stuff, or even the core c++
stuff.  nor do I want tests to run based on a TEST=1 command line param
(since we are not talking about a build variant), I want a run-tests target.

* use scons the way it is designed to be used.  e.g. the code registers
some functions to the env in  SConscript file (actually two SConscript
files, redundantly).  Such code should be moved to site_scons.  Also
env.Clone() is not consistent used, leading to the leakage mentioned above.

Happy to help if I can, just ask.

Gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160908/4e75ffac/attachment.html>

Reply via email to