cmd/gomobile: add golistflags flag - #105
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
This PR (HEAD: 1d3b1e5) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/mobile/+/599916. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Could someone please look at this PR? We need it, otherwise we cannot compile a project with a vendor folder with Go1.22+ as described in golang/go#67927. Thanks. |
|
Message from Hajime Hoshi: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
This PR (HEAD: de3284d) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/mobile/+/599916. Important tips:
|
|
Message from Igor Sirotin: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Dmitri Shuralyov: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
@baizon is it possible to use this PR even if it's not merged? Like use a gomobile version that has this PR on it, what is the standard way of doing that in Go? |
|
Yes, it is possible. |
I am going to clone and apply the patch, then install. |
|
Yes, it is a mirror. Ive made a PR to google. They are reviewing it. |
Awesome, thank you so much, meanwhile I used this for the patch: https://patch-diff.githubusercontent.com/raw/golang/mobile/pull/105.patch |
|
@baizon after adding the PR and Any suggestions? |
|
I made it work after doing this: go get golang.org/x/mobile/cmd/gomobile@${GOMOBILE_COMMIT}
go mod edit -replace=golang.org/x/mobile=$(pwd)/.gomobileReplacing the module by the repository that I patched before with your PR, then it works. |
|
@baizon https://go-review.googlesource.com/c/mobile/+/599916 has had some comments, would you mind addressing them so this can move forward? Thank you. |
|
Hey, well the answer is:
|
That's the reviewer's suggestion, but then the next step would be for you to update the code to drop the flag again and default it to readonly, right? |
|
This PR (HEAD: ba1c821) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/mobile/+/599916. Important tips:
|
|
Message from Mateusz Umstädter: Patch Set 4: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
5caa402 to
8e8e1cd
Compare
|
Message from Hajime Hoshi: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
This PR (HEAD: 8e8e1cd) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/mobile/+/599916. Important tips:
|
|
Message from Mateusz Umstädter: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 5: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
|
Message from Hajime Hoshi: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/599916. |
410f4cc to
6fde4f3
Compare
|
This PR (HEAD: 6fde4f3) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/mobile/+/599916. Important tips:
|
Adds
-mod=modparameter to thego listcommand.Fixes golang/go#67927.