minor red-face fix
simplify and fix a few things
minor fix
add support for other-repositories, writing versions
actually call write_versions