scala / scala-dev

Scala 2 team issues. Not for user-facing bugs or directly actionable user-facing improvements. For build/test/infra and for longer-term planning and idea tracking. Our bug tracker is at https://github.com/scala/bug/issues
Apache License 2.0
130 stars 15 forks source link

Release 2.13.5 #762

Closed SethTisue closed 3 years ago

SethTisue commented 3 years ago
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

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 commented 3 years ago

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 commented 3 years ago

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

SethTisue commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

SethTisue commented 3 years ago

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

SethTisue commented 3 years ago

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

SethTisue commented 3 years ago

for debugging admin/init.sh, something like https://github.com/scala/scala/commit/708367bd18e214cbce1952f574aa58b3830b02d8 may be useful

see https://github.com/scala/scala-dev/issues/756

SethTisue commented 3 years ago

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: https://github.com/scala/scala-dev/issues/764

SethTisue commented 3 years ago

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 https://github.com/scala/scala/pull/9516 seems like a better idea (thanks @dwijnand for the suggestion)