Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on gopkg.in #6461

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Feb 23, 2018

This removes the remaining go get for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.

This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
@tsg
Copy link
Contributor Author

tsg commented Feb 23, 2018

make package seems to work locally.

@graphaelli graphaelli merged commit 9bf3c2f into elastic:master Feb 23, 2018
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tsg tsg added the needs_backport PR is waiting to be backported to other branches. label Feb 23, 2018
tsg added a commit to tsg/beats that referenced this pull request Feb 23, 2018
This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
@tsg tsg mentioned this pull request Feb 23, 2018
tsg added a commit to tsg/beats that referenced this pull request Feb 23, 2018
This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
graphaelli pushed a commit that referenced this pull request Feb 23, 2018
* Use the tudorg/xgo-base image from docker hub (#6448)

Another attempt to fix the transient packaging error. I pushed the
tudorg/xgo-base image to Docker Hub and have the build script pull it
from there, rather than building it locally.

This should reduce the amount of network dependencies and speed up the
build as well.

Same could be done for xgo-base-deb, but this part is currently more
critical.

* Avoid git cloning from the deb6 image (#6459)

It seems that by now Debian 6 is so old that `git clone` from Github
repositories no longer works. We only needed git clone from it to
get gotpl running, which is a relatively small program so I included it
and its dependency (go-yaml) as vendored files.

Tested `make package` locally.

* Remove dependency on gopkg.in (#6461)

This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
ruflin pushed a commit that referenced this pull request Feb 27, 2018
This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
andrewkroh pushed a commit to andrewkroh/beats that referenced this pull request Mar 11, 2018
This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
ruflin pushed a commit that referenced this pull request Mar 12, 2018
This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
@tsg tsg mentioned this pull request Mar 14, 2018
tsg added a commit to tsg/beats that referenced this pull request Mar 14, 2018
This partially reverts elastic#6461 in the 5.6 branch. It looks like the release-manager
uses a reasonably new Golang in the master/6.x branch but still uses go1.6 in
the 5.6 branch. That causes problems when using the vendor folder, so i reverted
to the old `go get`. It's more susceptible to transient errors, but that was stable
for quite long.

Also added `--force-yes` on the debian6 apt-gets, to avoid the key error. I didn't
investigate if the backport of the deb7 change would be possible. If yes, that would
be preferable, but I leave to @andrewkroh.
@tsg tsg removed the needs_backport PR is waiting to be backported to other branches. label Mar 29, 2018
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
* Use the tudorg/xgo-base image from docker hub (elastic#6448)

Another attempt to fix the transient packaging error. I pushed the
tudorg/xgo-base image to Docker Hub and have the build script pull it
from there, rather than building it locally.

This should reduce the amount of network dependencies and speed up the
build as well.

Same could be done for xgo-base-deb, but this part is currently more
critical.

* Avoid git cloning from the deb6 image (elastic#6459)

It seems that by now Debian 6 is so old that `git clone` from Github
repositories no longer works. We only needed git clone from it to
get gotpl running, which is a relatively small program so I included it
and its dependency (go-yaml) as vendored files.

Tested `make package` locally.

* Remove dependency on gopkg.in (elastic#6461)

This removes the remaining `go get` for gotpl, by using the vendored
copy. This should get rid of our dependency on the gopkg.in service.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants