Godeps PSA (or don't make the same mistake I did)

roger peppe roger.peppe at canonical.com
Thu Jul 23 17:20:35 UTC 2015


To do it *right*, one would probably want to do something like:

for os in darwin windows linux; do
    for arch in amd64 arm; do
        godeps -t github.com/juju/juju/...
    done
done | sort -u

but even that's probably not good enough for the unusual cases though.
I've been pondering on this problem for a while and I haven't come
up with a solution I'm happy with yet for a fix to godeps.

On 23 July 2015 at 17:55, Curtis Hovey-Canonical <curtis at canonical.com> wrote:
> On Thu, Jul 23, 2015 at 6:17 AM, Matthew Williams
> <matthew.williams at canonical.com> wrote:
> ..
>> But we currently need to import a package for windows builds that we don't
>> for ubuntu.
>>
>> diff <(godeps -t github.com/juju/juju/...) <(GOOS=windows godeps -t
>> github.com/juju/juju/...)
>
> I think we can substitute GOOS=darwin to also check OSX. Maybe the
> script that makes release tarfiles could also do this? This would
> block the merge.
>
> --
> Curtis Hovey
> Canonical Cloud Development and Operations
> http://launchpad.net/~sinzui
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev



More information about the Juju-dev mailing list