Is there a standard way to package the source code of a smart contract and publish it on a public repository? In such a way to enable structured reuse, with versioning and easy ways to update an component. Similar to what search.maven.org for Java, bower and npm for JavaScript or PyPI for Python offers.
There's a repository of sample contracts on https://github.com/ethereum/dapp-bin and various blog posts and sites containing sample code of smart contracts. However, this doesn't solve the problem of copy&paste code and versioning.