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

Clarify go compiler version requirements for all releases. #6132

Merged
merged 1 commit into from Dec 18, 2019

Conversation

andreimatei
Copy link
Contributor

Fixes #6097

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@bdarnell bdarnell left a comment

Choose a reason for hiding this comment

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

I think in nearly all cases we have compile-time dependencies on our listed minimum go version, so I wouldn't even suggest that you can use IGNORE_GOVERS to try older versions.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @andreimatei, @bdarnell, and @jseldess)


v2.0/install-cockroachdb.html, line 154 at r1 (raw file):

          <td>Version 1.10.*. Older go versions might work by doing
            <code>make build IGNORE_GOVERS=1</code>,
            but you're on your own. 1.11 and above is not recommended.

For 2.0, we can make a stronger statement: Binaries built with Go 1.11 or above will not work reliably.

Copy link
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

Kept the note about IGNORE_GOVERS when we start talking about patch versions.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @bdarnell and @jseldess)


v2.0/install-cockroachdb.html, line 154 at r1 (raw file):

Previously, bdarnell (Ben Darnell) wrote…

For 2.0, we can make a stronger statement: Binaries built with Go 1.11 or above will not work reliably.

Done.

Copy link
Contributor

@jseldess jseldess left a comment

Choose a reason for hiding this comment

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

:lgtm: with some editorial nits. Thanks, @andreimatei!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andreimatei, @bdarnell, and @jseldess)


v19.1/install-cockroachdb-linux.html, line 133 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.11.6+. Older go versions might work by doing

Editorial nits:

Version 1.11.6+ is required, but 1.12 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.

v19.1/install-cockroachdb-mac.html, line 122 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.11.6+. Older go versions might work by doing

Nits:

Version 1.11.6+ is required, but 1.12 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.

v19.2/install-cockroachdb-linux.html, line 133 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.12.12+. Older go versions might work by doing
Version 1.12.12+ is required, but 1.13 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.

v19.2/install-cockroachdb-mac.html, line 159 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.12.12+. Older go versions might work by doing

Nits:

Version 1.12.12+ is required, but 1.13 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.

v2.0/install-cockroachdb.html, line 154 at r1 (raw file):

Previously, andreimatei (Andrei Matei) wrote…

Done.

Nits:

Version 1.10.* is required, but 1.11 and above is known to not work reliably.

v2.0/install-cockroachdb.html, line 340 at r2 (raw file):

      <tr>
        <td>Go</td>
        <td>Version 1.10.*. 1.11+ is known to not work reliably.</td>

Nits:

Version 1.10.* is required, but 1.11 and above is known to not work reliably.

v2.1/install-cockroachdb-linux.html, line 133 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.10.*. 1.11+ is not recommended.</td>

Nits:

Version 1.10.* is required, but 1.11 and above is known to not work reliably.

v2.1/install-cockroachdb-mac.html, line 161 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.10.*. 1.11+ is not recommended.</td>

Nits:

Version 1.10.* is required, but 1.11 and above is known to not work reliably.

v20.1/install-cockroachdb-linux.html, line 133 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.12.12+ or 1.13.4+. Older go versions might work by doing

Nits:

Version 1.12.12+ or 1.13.4+ is required, but 1.14 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.

v20.1/install-cockroachdb-mac.html, line 159 at r2 (raw file):

        <tr>
          <td>Go</td>
          <td>Version 1.12.12+ or 1.13.4+. Older go versions might work by doing

Nits:

Version 1.12.12+ or 1.13.4+ is required, but 1.14 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.

@jseldess
Copy link
Contributor

Will merge and address nits in follow-up.

@jseldess jseldess merged commit 8071345 into cockroachdb:master Dec 18, 2019
@jseldess jseldess deleted the go-versions branch December 18, 2019 18:34
jseldess added a commit that referenced this pull request Dec 18, 2019
jseldess added a commit that referenced this pull request Jan 5, 2020
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.

Be more prescriptive about Go versions in build-from-source
4 participants