[entropy.client.repository] wrap Repository.sync() around a ResourceLock
[todo] update TODO