-
Notifications
You must be signed in to change notification settings - Fork 17
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
start publishing Scala snapshots again #133
Comments
@lrytz comments:
|
the question arose whether we actually prefer "nightly" builds or "mergely" builds ("mergely" meaning "whenever a PR is merged") |
There's no point in mergely builds. Maven for sure, and Sbt probably, won't check more often than once a day for SNAPSHOT updates. You could either designate one mergely build as the nightly that gets published as a snapshot, or build and publish once a day, off master (whatever branch that is). |
We discussed this at the Scala team meeting today and agreed that we (meaning me) will get the snapshots going again just like before. I'm likely to tackle it sooner rather than later just to get it over with. |
@smarter wants to do this for Dotty as well |
re mergely vs. nightly, we average 1 or 2 merges/day, so there's no major difference in cost. @retronym says "end users don’t care” so "just do whatever’s easier" |
fwiw (it's perhaps useful to know that the causes had nothing to do with e.g. how we talk to Sonatype)
(Adriaan later disabled both jobs) |
our existing nightly job is tweaking so, it looks like nightly snapshots it will be. |
some investigation of the existing
|
the version numbers of the old snapshots published from the old Jenkins looked like e.g. is the SNAPSHOT stuff picky about the exact format of our version numbers? do I need to match the old format, or is it OK to stick with the |
so it looks like if we set the variables up right, Ant will take care of publishing to https://oss.sonatype.org/content/repositories/snapshots and not https://oss.sonatype.org/content/repositories/releases |
it appears to me that just setting EDIT: hmm though, I can see in the run log already we're getting EDIT 2: regardless, I'm going to let that one run to the end, so I can see what ends up getting published and what the delta is between that and what we want. EDIT 3:
|
The Scala IDE build has been broken for a few days. Probably because you managed to publish new nightlies - at least I can see new ones. For some reason our test suit fails because scala-actors.jar could not be found. I'm investigating but still don't understand why the test suite can break because scala-actors is also published. Did you change anything related to it? |
The problem is that the scala-actors jar has a weird (different) version number. For sanity reasons we expect all scala-* bundles to have the same version number. Here's the issue (from MANIFEST.MF in the respective jars):
Previously, scala actors had this version number:
|
thanks for the details. I'll attend to this as soon as I can. (customer work is cutting in front.) |
Just wondering: isn't this breaking all PR validation runs? |
PR validation goes through https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/ and shouldn't, as far as I can see, be affected by what's going on at over at oss.sonatype.org |
thanks @SethTisue! I'm pretty sure this affects releases as well, not just snapshots. (If I recall correctly, this will be on the critical path to delivering that work to the said customer). |
not sure what you mean? as far as I know, I haven't done anything that would affect anyone who isn't using a
indeed. I'm not talking about a delay of weeks, I just mean I can't be sure I'll get to it today or tomorrow. |
I was thinking that the way the OSGi version number is computed is the same for releases and snapshots, and this might be related to moving the build to Sbt. So the mismatch between the version of scala-library/compiler/reflect and that of actors might exist for releases, too. |
ah. no, I'm working in ant-land for the time being, though I'll probably switch over to sbt-land soon; I'll coordinate with @szeiger |
On 11/30/2015 05:24 PM, Iulian Dragos wrote:
|
We fixed our failing test in scala-ide/scala-ide#1042, therefore from our side there is no pressure to get a change here. |
cool, thanks for letting me know. sorry about the trouble. |
I still think the versions should be the same (and not sure if this will continue to work for a real release). But for the moment our nightlies are back up. But please come back to this eventually. |
absolutely. |
on my snapshots-return branch I did some partial work on this (enough to get the main Scala jars publishing, not the modules yet though), but it's on hold at the moment while we complete the ant->sbt transition, at which point I'll pick it up again |
new arguments for picking this up again:
new arguments against:
I've unassigned myself. I'll see if someone else on the Scala team is interested. I'll also ask scala/contributors |
I don't get why publishing nightlies is difficult to achieve. In my book this is just a Beside from that we don't really need to consume nightlies of the Scala anymore in Scala IDE. Since no one is actively working on the PC, it is unlikely that a lot of changes are introduced in the nightlies that would be useful for the IDE. And we could consume the artifacts that are published after successfully building a PR if we really wanted. |
we already publish nightlies. this is about publishing I don't claim it's difficult to achieve. it might be fairly easy, now that the sbt build is in place. |
Scala IDE was supposed to consume the nightlies not because of new features but for dog-fooding. As you already remarked, it's very hard to move to 2.12 now because of all the little regressions and other internal changes that slowly creeped in. Besides that, I thought 2.11.x will be sort of a long-term support version, given that 2.12 requires Java 8. Maybe I misunderstood you, but it seems too quick to dismiss 2.11, compared to how long 2.10 lived by 2.11 in the past, 2.11 having a close-to-zero cost to upgrade. |
Modules would need to be handled differently. They have their own version number and are cross-versioned for a particular Scala version (like any regular Scala library). This doesn't work for snapshots. You would need to use the same snapshot version for all modules and stop cross-versioning. |
we have already announced multiple times, over a pretty long timespan now, that 2.11.9 will be the last "planned" release in the 2.11.x series. so after 2.11.9 comes out the development velocity on 2.11.x will become zero unless some critical problem is found, so there will be no real need to have |
I am not sure about the long timespan, but you are right. There's an email on scala internals (Oct. 25) and the 2.12 release notes. :) I agree that at this point it makes no sense to have SNAPSHOTS for the 2.11 series. It would make sense for 2.12, if downstream projects like ensime and scala IDE want to have some form of CI, but that's another story. |
http://www.scala-lang.org/news/2016-schedule.html, published December 2015, says "We expect to conclude the 2.11.x series with 2.11.8 in Q1 2016 and 2.11.9 in Q3 2016" |
All right, I stand corrected! |
instructions for using a |
Using scala-runners: What's the version for the latest mergely?
What's the version for the next version, having been validated by the community build?
|
meh, mergelies are fine, we don't need snapshots |
so that people can specify their Scala version as e.g.
2.11.8-SNAPSHOT
and2.12.0-SNAPSHOT
and it just works.this was formerly handled on the old CI at e.g. https://scala-webapps.epfl.ch/jenkins/view/2.11.x/job/scala-nightly-main-2.11.x/ but has not been moved to the new CI
we want to publish them as snapshots, available from e.g.https://oss.sonatype.org/content/repositories/snapshots/org/scala-lang/scala-library/2.11.8-SNAPSHOT/ and https://oss.sonatype.org/content/repositories/snapshots/org/scala-lang/scala-library/2.12.0-SNAPSHOT/
we are already publishing distributions nightly to e.g. http://www.scala-lang.org/files/archive/nightly/2.11.x/ but they are distribution packages only, not usable via sbt's
set scalaVersion := ...
reported/requested by @dragos. he writes:
The text was updated successfully, but these errors were encountered: