Skip to content

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Nov 27, 2018

  • Replace vendor.conf with go.mod.
  • Fix aliases import of github.com/dmcgowan/letsencrypt fork.
  • Updates all vendored code to latest releases where possible.

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "prom_vendor" git@github.com:SuperQ/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@SuperQ SuperQ force-pushed the prom_vendor branch 6 times, most recently from 78a2e89 to 6e0b993 Compare November 29, 2018 14:31
@sevki
Copy link
Contributor

sevki commented Apr 14, 2019

why is this abandoned? are there no plans to get this in the master?

@SuperQ
Copy link
Contributor Author

SuperQ commented Apr 14, 2019

@sevki Good question, I have a hard time getting Docker people to review things here.

@SuperQ SuperQ force-pushed the prom_vendor branch 9 times, most recently from 62873b5 to db12ac8 Compare April 14, 2019 14:22
@SuperQ
Copy link
Contributor Author

SuperQ commented Apr 14, 2019

Ugh, gometalinter is such a pain.

* Replace vendor.conf with go.mod.
* Fix aliases import of `github.com/dmcgowan/letsencrypt` fork.
* Minimal vendoring changes.
* Download gometalinter binary.
* Disable slow "goimports" test.

Signed-off-by: Ben Kochie <superq@gmail.com>
@codecov
Copy link

codecov bot commented Apr 14, 2019

Codecov Report

Merging #2768 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2768   +/-   ##
=======================================
  Coverage   60.45%   60.45%           
=======================================
  Files         102      102           
  Lines        8001     8001           
=======================================
  Hits         4837     4837           
  Misses       2517     2517           
  Partials      647      647
Flag Coverage Δ
#linux 60.45% <ø> (ø) ⬆️
Impacted Files Coverage Δ
registry/registry.go 32% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d62eb1...1197fb3. Read the comment docs.

@SuperQ
Copy link
Contributor Author

SuperQ commented Apr 14, 2019

So, there are a bunch of errors I can't quite figure out with gometalinter. Apparently this tool is deprecated and is replaced by golangci-lint. But that tool seems like it requires switching to Go modules first. :-/

@sevki
Copy link
Contributor

sevki commented Apr 14, 2019

oh wow. you've made the tests pass!!!! 🎉 🎉 🎉 @manishtomar can you take a look?

@SuperQ
Copy link
Contributor Author

SuperQ commented Apr 14, 2019

Yea, I cheated. I gave up after several hours of messing around with it. There are a bunch of gometalinter problems that are unrelated to switching to modules. So I disabled make check in the travis config. ☹️

@sevki
Copy link
Contributor

sevki commented Apr 15, 2019

Maybe we can get some guidance from the docker folks, I'll also fiddle with it and see if I can make it work.

@SuperQ SuperQ closed this Jun 6, 2019
@SuperQ SuperQ deleted the prom_vendor branch June 6, 2019 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants