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

David Cheney david.cheney at canonical.com
Fri Mar 22 04:30:24 UTC 2013


Tags let you add/remove files from the set of files to be compiled into 
a package. This is used to do conditional compilation in packages that 
have an os specific component.

I imagine if we wanted to make --upload-tools visible only in the debug 
build, we would use this facility.

On 22/03/13 12:23, Tim Penhey wrote:
> On 22/03/13 14:03, David Cheney wrote:
>>> go get -d launchpad.net/juju-core/...
>>> go install -tag release launchpad.net/juju-core/...
>>
>> sorry, even I can't get this right
>>
>> go install -tags release launchpad.net/juju-core/...
>
> So, what is the impact in the go code?
>
> How would you change behaviour based on a tag?
>
> Tim
>
>



More information about the Juju-dev mailing list