Hi, all,
It's been a while since I last used Io. After a git pull build process
fails in two points where I think it should not:
First, addon TagDB ignores Io policy for declaring dependencies, makes
checks all by itself and attempts to install required libraries with
'sudo make install'. It is very annoying (considering that I had to
run make several times due to next bug) to wait for makefile to
proceed until this point and type Ctrl-C (and this time I am happy
that I don't use Ubuntu's "sudo for everything" approach). Why should
it use sudo and not fakeroot, not assume it is run within sudo by
build system and why it should attempt install on it's own, and why
not ask for paths?
Should I remove the seven annoying lines (addons/TagDB/build.io lines
7 -- 14) and submit as a patch?
Second, addons DistributedObjects and Obsidian lack source directory.
Build process crashes upon them thus. Stack trace is:
Exception: Unable to open directory addons/DistributedObjects/source
---------
items Directory.io 61
Directory files Directory.io 75
Directory filesWithExtension AddonBuilder.io 243
AddonBuilder build Project.io 100
Project buildAddons Project.io 83
Project build build.io 17
I'm not sure if it's best to add check for presence of 'source' in
'AddonBuilder build', wrap invocation of 'build' for addons in 'try',
or create 'source' directories with stub files within them to force
git avoid removing them.
.