Howdy,
So the directory re-org is now committed in develop: it’s a fairly
large, BC breaking set of changes.
Please review the new structure, and use this opportunity to discuss
anything you don’t like.
There are a few directories I did _not_ move, mainly for lack of a good
place to put them, specifically:
$ ll core/libs
total 0
drwxr-xr-x 5 sterling staff 170 Sep 28 18:31 imgmgr
drwxr-xr-x 5 sterling staff 170 Sep 28 18:31 iotivity
drwxr-xr-x 7 sterling staff 238 Sep 28 18:31 newtmgr
drwxr-xr-x 5 sterling staff 170 Sep 28 18:31 newtmgr_oic
drwxr-xr-x 5 sterling staff 170 Sep 28 18:52 util
$
I’m not sure where imgmgr (image upgrade), newtmgr (system
management), and the iotivity (OIC protocol) should go.
My random thoughts:
imgmgr, and newtmgr could be broken into a TLD mgmt/ directory. They
could also be put into “sys.” Other suggestions?
I think iotivity should go into net/ as a sibling to nimble and ip
(maybe rename to oic?) We should also break out and maintain the coap
implementation from iotivity as another sibling in the net/ directory.
I’ve been breaking apart “libs/util” into a set of utility
packages in a TLD “util.” Should we remove these, we can get rid of
the libs directory altogether, which would be nice.
Cheers,
Sterling