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

Release 2.13.5 #762

Closed
68 of 69 tasks
SethTisue opened this issue Feb 9, 2021 · 10 comments
Closed
68 of 69 tasks

Release 2.13.5 #762

SethTisue opened this issue Feb 9, 2021 · 10 comments
Assignees
Milestone

Comments

@SethTisue
Copy link
Member

SethTisue commented Feb 9, 2021

SCALA_VER_BASE="2.13.5"
SCALA_VER_SUFFIX=""
SCALA_SHA=8cc248dc1305df4c17bb6b5738b700b60c9b5437
DIST_SHA=e40fd600290064904b93f9dd64149022618a2334
SCALA_VER="$SCALA_VER_BASE$SCALA_VER_SUFFIX"

Key links:

N weeks before the release

  • Wind down PR queue. There has to be enough time after the last (non-trivial) PR is merged and the next phase. The core of the eco-system needs time to prepare for the final!
  • Triage scala/bug and scala/scala-dev tickets
  • Create next scala/scala milestone, move the magical "Merge to 2.13.x" description to it (so Scabot uses it as default for new PRs), move pending PRs
  • Create next scala/bug milestone, move pending issues
  • Create next scala/scala-dev milestone, move pending issues
  • Check PRs assigned to the milestone, also check WIP
  • Announce expected release date and current nightly "release candidate" (nightly sha-mangled version) at https://scala-ci.typesafe.com/artifactory/scala-integration/ on https://contributors.scala-lang.org/c/announcements
  • Also notify Scala Center advisory board members of the upcoming release, so they can help test if they want (Seth can handle this, if asked)

Release announcement / notes

N days before release

Point of no return

Once sufficient time has passed since last merged PR, it's time to cut the release!

How long we wait depends on what kind of release it is. For a major release, it might be 1-2 weeks, to give core projects time to try out the preceding release candidate and/or the current candidate nightly. For point releases, assuming we've given the community ahead-of-time warning and kept them appraised of progress on the Discourse thread, and assuming the last changes merged seem sufficiently safe, we might build the next day.

Check availability

When everything is on maven central

Modules

Announcements

Afterwards

@SethTisue SethTisue self-assigned this Feb 9, 2021
@SethTisue SethTisue added this to the 2.13.5 milestone Feb 9, 2021
@SethTisue
Copy link
Member Author

SethTisue commented Feb 22, 2021

hmm, https://travis-ci.com/github/scala/scala/jobs/485066042 has

[error] java.io.FileNotFoundException: /home/travis/.sbt/gpg/secring.asc (No such file or directory)
[error] 	at java.io.FileInputStream.open0(Native Method)
[error] 	at java.io.FileInputStream.open(FileInputStream.java:195)
[error] 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
[error] 	at com.jsuereth.pgp.StreamingLoadable.loadFromFile(StreamingLoadable.scala:11)
[error] 	at com.jsuereth.pgp.StreamingLoadable.loadFromFile$(StreamingLoadable.scala:11)
[error] 	at com.jsuereth.pgp.SecretKeyRing$.loadFromFile(SecretKeyRing.scala:45)
[error] 	at com.jsuereth.pgp.PGP$.loadSecretKeyRing(package.scala:31)

not sure why. I wonder if we ought to bite the bullet and upgrade to sbt-pgp 2.x

@lrytz
Copy link
Member

lrytz commented Feb 22, 2021

rings a bell, but i'm not sure which one right now...

@SethTisue
Copy link
Member Author

SethTisue commented Feb 22, 2021

I was tempted to push through an upgrade to sbt-pgp 2 rather than attempt to fix it with the existing versions, but probably it's better to at least try to do the minimum possible fix, first, and only consider an sbt-pgp upgrade as a last resort.

@SethTisue
Copy link
Member Author

My thinking had been, well we moved to travis-ci.com so maybe that means there's a newer GPG on the hosts. But sbt-pgp 1 uses BouncyCastle, so it shouldn't matter.

@SethTisue
Copy link
Member Author

Next thing to try, I guess, is just regenerating the secrets.

@SethTisue
Copy link
Member Author

SethTisue commented Feb 22, 2021

The secrets were added by Adriaan in scala/scala#6390 in 2018, specifically in 41e376a (#6390), and haven't been touched since

@SethTisue
Copy link
Member Author

Lukas noticed that scala/scala#7432 added dist: bionic to .travis.yml, so that looks like the culprit

@SethTisue
Copy link
Member Author

for debugging admin/init.sh, something like scala/scala@708367b may be useful

see #756

@SethTisue
Copy link
Member Author

in the interest of getting the release out, I removed dist: bionic from .travis.yml and triggered a Travis job on that: https://travis-ci.com/github/scala/scala/jobs/485158674

later at our leisure we can figure out what to do going forward: #764

@SethTisue
Copy link
Member Author

in the interest of getting the release out, I removed dist: bionic from .travis.yml and triggered a Travis job on that: travis-ci.com/github/scala/scala/jobs/485158674

that did work, but I dropped the staging repos since scala/scala#9516 seems like a better idea (thanks @dwijnand for the suggestion)

@SethTisue SethTisue mentioned this issue Sep 13, 2021
21 tasks
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

No branches or pull requests

2 participants