-
Notifications
You must be signed in to change notification settings - Fork 166
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 builds: rename sunos to smartos #500
Comments
Thanks for raising this issue. We absolutely should rename them. I am in favor of naming them SmartOS. |
What impact would this have on It would be interesting to get @ljharb opinion on this. |
Renaming the existing ones would absolutely break many existing nvm users. What would be ideal is duplicating them to be named "smartos" on all existing instances, and then only using "smartos" moving forward (after i've updated nvm and bumped it in travis-ci, ofc). |
I'm just tired of our false advertising -- it's not like the binary will work on sunos anyway. Lets focus on the tooling that assumes it's called sunos on smartos and solve those scenarios. Which tools/repos/packagers do we need to talk to?
|
@jbergstroem @ljharb One problematic use case I had in mind is a user who has already installed What would the failure look like? Is there a way with the current and older versions of nvm to display a human readable error message that would suggest these users to upgrade to a newer version of nvm that supports these new I'm not sure if that's worth the effort depending on the number of users and how closely they follow nvm's and node's changes, but I think it's worth it to think about it, if only to avoid users confusion and a number of issues in nvm's issues tracker. |
@misterdjules it sounds like an nvm problem though (which doesn't mean I don't care, just that its out of scope for this group). I think we should identify tools/repos/packagers and mention we're renaming; set up a timeframe when we can allow a "both will work" and then kill sunos. |
@jbergstroem that's pretty harsh - it's a problem for anyone who has bookmarked that URL. Cool URLs don't change, and invalidating any URL on the internet is a breaking change for somebody. Please don't minimize the damage that this could do. |
@misterdjules there is no way to alter what current nvm users see - only what new ones see. |
@ljharb but this would only be for future releases, right? |
|
In time it would, and if v7 was the first one to not have The only breakage I'm concerned about is that existing |
@ljharb: existing files will work forever, this is just about new releases. |
In that case, just give me a week's notice and I'll update @jbergstroem it would simplify my code a lot if you backfilled all existing |
@ljharb: I'll get back to you on that, but seeing how this affects a lot of legacy stuff I think no one is inclined on touching it (0.x releases, iojs, etc). I wouldn't place my bets on it. This'll likely be one of those xz vs gz things. |
@geek, @misterdjules, @ljharb what are your thoughts on doing this for 7.x and forward? |
I'm on board, but would like as much concrete notice as possible (and an example index.tab) to try to ship the change beforehand :-) |
@ljharb cool. We just need to start somewhere and a major makes more sense. |
@jbergstroem Can we summarize what the current plan is in the original comment of this issue so that we can make sure we're on the same page? Also, my apologies for not being responsive today, I'll be offline most of the time. |
@misterdjules sure. Give me a few minutes. Edit: done. |
👍 OP LGTM |
/cc @nodejs/build @nodejs/release |
@jbergstroem Thank you for outlining the current plan in the original comment! The plan looks good to me. |
aside:
|
@jbergstroem Where is the platform-solaris team mentioned in the documentation? I can't find any occurrence. |
@misterdjules I'm probably hallucinating; had this faint recollection of a document that listed teams and when to cc them. |
You are probably recalling https://github.com/nodejs/node/blob/master/doc/onboarding-extras.md but that team is not listed there. (PR to add it if you want.) |
@Trott on spot as always -- thanks. Since we don't mention other platforms I think we'll be fine for now. |
So, I'd like to proceed with this but I haven't heard much from the build group and/or release group. The next step would be writing logic in the smartos section of the release job, get some tests out. |
Let's just not forget to update https://github.com/nodejs/build/blob/master/setup/www/tools/dist-indexer/transform-filename.js when this happens. +1 from me |
@evanlucas just pushed in https://github.com/nodejs/nodejs-dist-indexer (note: this doesn't mean it's decided, just that we're preparing for it) |
Ok, one week to go. I would suggest this change in the build job under OSTYPE=solaris -- any objections? If not, I'll run a few test jobs if [[ ${NODE_VERSION:0:1} -ge "7" ]]; then
OSTYPE=smartos
fi |
I'm going to implement this for the upcoming 7.0.0rc1 unless anyone has any objections. |
Just did an attempt for rc1 which failed. I will have a look at this and hopefully make it for rc2. |
with 7.0 being out and all I will attempt to get this in for next 7.x release. Sorry for not making it in time; been pretty busy with Jenkins headaches. If anyone else wants to chip in, feel free. |
Closing for now as something that would be nice to have, but seems to not currently be within our means. If someone wants to tackle this, please feel free to reopen. |
[note: this post has been updated since its creation]
I would like to suggest that we from 7.0 and onwards rename our sunos builds to smartos. This means that the tarballs will change from
node-v7.0.0-sunos-x64.tar.xz
tonode-v7.0.0-smartos-x64.tar.xz
.Rationale
Naming our smartos builds for
sunos
is false advertising seeing how they are built on smartos and as a result doesn't work on many configurations of Solaris (toolchain, baselayout, ..).Suggested plan of execution
v7.0.0
and forward we will create tarballs usingsmartos
instead ofsunos
.This only affects v7 and forward (meaning 0.10, 0.12, 4.x and 6.x branches remain the same); nightlies, test builds and so forth.
nvm
likely most important) and give them time to prepare.sunos
should the build group ever get access to hardware/software to reliably build/test Node.js on./cc @misterdjules @geek
The text was updated successfully, but these errors were encountered: