[ 
https://issues.apache.org/jira/browse/HTRACE-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270358#comment-14270358
 ] 

Colin Patrick McCabe commented on HTRACE-59:
--------------------------------------------

This patch eliminates our use of "go get" and instead replaces it with "go 
build".  That means that go will no longer be downloading sources for us.

This patch adds a downloader utility that downloads git repos with the 
designated git hashes.  If the repos already exist, it just runs {{git reset}}, 
which should be very fast.  The {{gobuild.sh}} script runs this downloader 
utility.

We also set {{GOPATH}} to be just the path in our directory, so that we will 
not use any other dependencies that have been downloaded elsewhere on the host.

> Add a way of locking go dependencies to a specific version
> ----------------------------------------------------------
>
>                 Key: HTRACE-59
>                 URL: https://issues.apache.org/jira/browse/HTRACE-59
>             Project: HTrace
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-59.001.patch
>
>
> We should add a way of locking our go dependencies to a specific version, so 
> that we can get 100% repeatable builds for a specific HTrace release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to