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

Ask users for go list ... output #967

Closed
wants to merge 4 commits into from
Closed

Ask users for go list ... output #967

wants to merge 4 commits into from

Conversation

coilysiren
Copy link
Member

@coilysiren coilysiren commented Nov 29, 2019

I noticed via these two issues #964, #957 that people are liking to just say "v1" or "v2" which sometimes won't be enough detail. Other times, it won't be correct!

So I've changed the issue template to instead prompt for go list -u -m all, which looks like this

❯ go list -u -m all
go: finding github.com/cpuguy83/go-md2man/v2 v2.0.0
go: finding gopkg.in/check.v1 latest
go: finding gopkg.in/yaml.v2 v2.2.7
github.com/urfave/cli/v2
github.com/BurntSushi/toml v0.3.1
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d [v2.0.0]
github.com/pmezard/go-difflib v1.0.0
github.com/russross/blackfriday/v2 v2.0.1
github.com/shurcooL/sanitized_anchor_name v1.0.0
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [v1.0.0-20190902080502-41f04d3bba15]
gopkg.in/yaml.v2 v2.2.2 [v2.2.7]

😍 beautiful! so much information!

@coilysiren coilysiren self-assigned this Nov 29, 2019
@coilysiren coilysiren marked this pull request as ready for review November 29, 2019 09:03
@coilysiren coilysiren requested a review from a team as a code owner November 29, 2019 09:03
Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

LGTM, maybe we should add a little script where the output can be pasted in the issue 😁

@coilysiren
Copy link
Member Author

maybe we should add a little script where the output can be pasted in the issue

!!! I'll think on this 🤔

@codecov
Copy link

codecov bot commented Nov 29, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #967   +/-   ##
=======================================
  Coverage   73.36%   73.36%           
=======================================
  Files          32       32           
  Lines        2440     2440           
=======================================
  Hits         1790     1790           
  Misses        540      540           
  Partials      110      110

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 72c7fac...9b5bcdd. Read the comment docs.

@coilysiren coilysiren requested a review from rliebz December 4, 2019 17:02
@coilysiren
Copy link
Member Author

ping @asahasrabuddhe & @AudriusButkevicius

## Run `go list -u -m all` and paste its output here

```
# paste `go list -u -m all` output in here
Copy link
Contributor

Choose a reason for hiding this comment

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

~ $ go list -u -m all
warning: pattern "all" matched no module dependencies

What is this supposed to do?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, we have to be more explicit where this needs to be run. This also can be pretty big, are we sure we want everything?
What are we trying to answer here?

Copy link
Member Author

Choose a reason for hiding this comment

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

What is this supposed to do?

I added that into my pull request description

❯ go list -u -m all
go: finding github.com/cpuguy83/go-md2man/v2 v2.0.0
go: finding gopkg.in/check.v1 latest
go: finding gopkg.in/yaml.v2 v2.2.7
github.com/urfave/cli/v2
github.com/BurntSushi/toml v0.3.1
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d [v2.0.0]
github.com/pmezard/go-difflib v1.0.0
github.com/russross/blackfriday/v2 v2.0.1
github.com/shurcooL/sanitized_anchor_name v1.0.0
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [v1.0.0-20190902080502-41f04d3bba15]
gopkg.in/yaml.v2 v2.2.2 [v2.2.7]

did you run it inside of a golang github repo? what go version are you using?

This also can be pretty big, are we sure we want everything?

Yes

What are we trying to answer here?

The versions of your dependencies. Most critically the version of urfave/cli

Copy link
Member

Choose a reason for hiding this comment

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

I think we can pipe this to grep urfave/cli to just focus on the version of our package.

@coilysiren
Copy link
Member Author

🕙 closing due to age (and my attention span)

@coilysiren coilysiren closed this Dec 19, 2019
@coilysiren coilysiren deleted the go-list-all branch December 25, 2019 16:49
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.

4 participants