Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48827 closed update (fixed)

nodejs: update to 4.0.0

Reported by: felipou (Felipe Machado) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt), dliessi (Davide Liessi), pe8ter@…, tapplekos@…, m74z00219@…
Port: nodejs

Description

Nodejs merged with iojs, and version 4.0.0 was released this week: https://github.com/nodejs/node/blob/v4.0.0/CHANGELOG.md

I believe many people will need to stick to the 0.12.x branch for some time, so I think it would be nice if macports kept both versions for a while (just a suggestion).

Anyway, I'm creating this ticket to request that nodejs v4.0.0 be made available on macports.

Thanks!

Attachments (7)

nodejs.patch (2.1 KB) - added by seanfarley (Sean Farley) 9 years ago.
Update nodejs to 4.0.0
iojs.patch (7.5 KB) - added by seanfarley (Sean Farley) 9 years ago.
Deprecate iojs with nodejs
npm.patch (2.5 KB) - added by seanfarley (Sean Farley) 9 years ago.
Update npm to 3.3.3
nodejs-github.patch (2.8 KB) - added by seanfarley (Sean Farley) 9 years ago.
use github port group
nodejs-devel-subport.patch (8.0 KB) - added by seanfarley (Sean Farley) 9 years ago.
make nodejs-devel a subport of nodejs
nodejs-devel-rebased-github.patch (2.0 KB) - added by seanfarley (Sean Farley) 9 years ago.
rebased nodejs-devel using github port group so it applies to trunk
npm-3.3.4.patch (2.5 KB) - added by seanfarley (Sean Farley) 9 years ago.
update npm to 3.3.4

Download all attachments as: .zip

Change History (27)

comment:1 Changed 9 years ago by ci42

Keywords: nodejs iojs removed
Owner: changed from macports-tickets@… to ciserlohn@…
Port: iojs added
Type: requestupdate

In the future please Cc the port maintainer (port info --maintainer nodejs) and don't use arbritary keywords (see DraftKeywordGuidelines)

comment:2 Changed 9 years ago by felipou (Felipe Machado)

Ok, sorry, and thanks for the tips! :)

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Port: iojs removed
Summary: Nodejs 4.0.0nodejs: update to 4.0.0
Version: 2.3.3

comment:5 Changed 9 years ago by dliessi (Davide Liessi)

Cc: davide.liessi@… added

Cc Me!

comment:6 Changed 9 years ago by seanfarley (Sean Farley)

Hmm, I actually need this for work. I can post some patches here tomorrow for review if that helps.

Changed 9 years ago by seanfarley (Sean Farley)

Attachment: nodejs.patch added

Update nodejs to 4.0.0

Changed 9 years ago by seanfarley (Sean Farley)

Attachment: iojs.patch added

Deprecate iojs with nodejs

Changed 9 years ago by seanfarley (Sean Farley)

Attachment: npm.patch added

Update npm to 3.3.3

comment:7 Changed 9 years ago by seanfarley (Sean Farley)

Ok, I just attached the patches. Let me know if there's something else I can test to verify this working.

comment:8 Changed 9 years ago by seanfarley (Sean Farley)

Keywords: haspatch added

comment:9 Changed 9 years ago by pe8ter@…

Cc: pe8ter@… added

Cc Me!

comment:10 Changed 9 years ago by tapplekos@…

CC Me!

and my target the latest version v4.1.1

Version 0, edited 9 years ago by tapplekos@… (next)

comment:11 Changed 9 years ago by tapplekos@…

Cc: tapplekos@… added

Cc Me!

comment:12 Changed 9 years ago by m74z00219@…

Cc: m74z00219@… added

Cc Me!

comment:13 Changed 9 years ago by seanfarley (Sean Farley)

I'll see about the update to 4.1.1 today. Any objections to me pushing this?

comment:14 in reply to:  13 Changed 9 years ago by ci42

Resolution: fixed
Status: newclosed

Replying to sean@…:

I'll see about the update to 4.1.1 today. Any objections to me pushing this?

Thanks for the patches. Please use the nodejs-devel port for now which I just updated to 4.1.1. I'd like to keep the nodejs port at v0.12.7 for a while to ease the transition.

npm will be updated soon - I'm currently testing v3.3.4. The iojs port will be removed when the nodejs port is at 4.x and nodejs-devel at 5.x.

Changed 9 years ago by seanfarley (Sean Farley)

Attachment: nodejs-github.patch added

use github port group

Changed 9 years ago by seanfarley (Sean Farley)

Attachment: nodejs-devel-subport.patch added

make nodejs-devel a subport of nodejs

comment:15 Changed 9 years ago by seanfarley (Sean Farley)

By the way, I would suggest using the github port group because it would simplify some of the code. Also, I have a patch that makes nodejs-devel a subport since both files are basically the same, so we can cut down on code duplication. Having it use the github port group would help with making the devel version easy to roll out.

Changed 9 years ago by seanfarley (Sean Farley)

rebased nodejs-devel using github port group so it applies to trunk

Changed 9 years ago by seanfarley (Sean Farley)

Attachment: npm-3.3.4.patch added

update npm to 3.3.4

comment:16 Changed 9 years ago by seanfarley (Sean Farley)

I uploaded two patches that apply to trunk now; hopefully that will help you update npm to 3.3.4 and consider using the github portgroup.

comment:17 Changed 9 years ago by pe8ter@…

Is this talk of using the "github port group" meant meant as a suggestion for the port maintainers or is this a something for me, the enduser, to be concerned with?

comment:18 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

It's a suggestion for the maintainer.

comment:19 Changed 9 years ago by rsternagel@…

Is there a chance to get npm v3 soon? In my mind it makes sense to have a npm2 (e.g. "npm") and a npm3 (e.g. "npm-devel") port. At least for some time. However, @ciserlohn thanks for the regular updates!

comment:20 in reply to:  19 Changed 9 years ago by ci42

Replying to rsternagel@…:

Is there a chance to get npm v3 soon? In my mind it makes sense to have a npm2 (e.g. "npm") and a npm3 (e.g. "npm-devel") port. At least for some time. However, @ciserlohn thanks for the regular updates!

I added a new npm-devel port which is now at version 3.3.9.

Note: See TracTickets for help on using tickets.