What are the (non-developers) use cases for --upload-tools

David Cheney david.cheney at canonical.com
Fri Mar 22 01:01:52 UTC 2013


> This leads me to another question:
>    If --upload-tools is only for developers, should we remove the option
> from the packaged version?   And if so, how?

Changing the behaviour of the juju cli tool would be done with a build 
tag. The build tag works similar to the suffixes on .go files, like 
_test.go and _windows.go to filter files that are passed to the compiler.

ie, doing a release build may take this form

go get -d launchpad.net/juju-core/...
go install -tag release launchpad.net/juju-core/...



More information about the Juju-dev mailing list