Bug 204653 - www/node: Update to 5.2.0 (After copy www/node -> www/node4)
Summary: www/node: Update to 5.2.0 (After copy www/node -> www/node4)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-11-18 05:20 UTC by Yuri Victorovich
Modified: 2015-12-15 04:47 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback+


Attachments
patch (805 bytes, patch)
2015-11-18 05:20 UTC, Yuri Victorovich
no flags Details | Diff
poudriere log (51.23 KB, text/plain)
2015-11-18 05:22 UTC, Yuri Victorovich
no flags Details
patch (805 bytes, patch)
2015-11-18 07:49 UTC, Yuri Victorovich
no flags Details | Diff
patch for www/node-devel (841 bytes, patch)
2015-11-18 07:50 UTC, Yuri Victorovich
koobs: maintainer-approval-
Details | Diff
update node to 5.2.0 (751 bytes, patch)
2015-12-12 08:04 UTC, Randy Westlund
koobs: maintainer-approval+
Details | Diff
patch to create node4 at 4.2.3 (751 bytes, patch)
2015-12-14 06:27 UTC, Randy Westlund
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2015-11-18 05:20:42 UTC
Created attachment 163276 [details]
patch
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2015-11-18 05:22:52 UTC
Created attachment 163277 [details]
poudriere log
Comment 2 linpct 2015-11-18 05:32:55 UTC
Hi, my opinion is let www/node keep 4.x LTS and www/node-devel for node-stable.

Because node.js version change very often, so I think its stable version will be tagged with 5.x, 6.x, 7.x soon.

Please send another patch for update www/node to 4.2.2 and www/node-devel to 5.1.0, or just let me handle it.

Thanks.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2015-11-18 07:49:04 UTC
Created attachment 163280 [details]
patch
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2015-11-18 07:50:06 UTC
Created attachment 163281 [details]
patch for www/node-devel

Submitting patches as you suggested.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2015-11-18 07:50:35 UTC
And they both pass poudriere build.
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-18 08:56:22 UTC
(In reply to linpct from comment #2)

I'm not sure -devel is the right place for a future/current stable release (or branch). How about node5 ?
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2015-11-18 09:02:03 UTC
My understanding is that NodeJS is overall quite unstable, this is why the maintainer wants to kind-of hold it back.

There is no reason to create node5, because version 5 is just a point in its evolution. Not much different.
Comment 8 Adam Weinberger freebsd_committer freebsd_triage 2015-11-19 00:47:40 UTC
www/node should always be the current stable version.

www/node-devel should be a devel version. It should never be the stable version.

A LTS release should be www/node4. People should always expect that www/node is the current version, www/node4 is fixed at 4.x, and -devel is experimental.

Please do no invent new meanings for directory names. It's just going to confuse people.
Comment 9 Yuri Victorovich freebsd_committer freebsd_triage 2015-11-19 02:04:51 UTC
In such case, just use my original (labeled obsolete) patch for www/node.
Comment 10 linpct 2015-11-23 02:54:08 UTC
Hi,

I agree with Adam's comment. And approve the patch for node v5.1.0.

Please

  (1) copy and create a new port named www/node4
  (2) let www/node be v5.1.0
  (3) let www/node-devel keep its version
  (4) review if we also need to keep www/node* (010,012)

Thanks.
Comment 11 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-27 02:17:27 UTC
@Yuri, comment 10 is unclear:

* "(3) let www/node-devel keep its version", but
* attachment 163281 [details] updates to 5.1.0

And:

* attachment 163280 [details] updates to 4.2.2, but
* This issue summary is 'update www/node to 5.1.0

Goal: There should be no additional work to do for a committer (other than copying www/node -> www/node4) if that's what you would like.

Please obsolete patches as necessary, so that @Linpct can approve 'attachment ids' and set maintainer-approval on them as necessary. Update or re-run QA process if necessary as well
Comment 12 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-27 02:18:52 UTC
Also, an updated patch is needed to match the changes that need to take place in www/node, since www/node-devel and www/node4 are not changing in this issue.
Comment 13 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-11 12:56:51 UTC
Ping @Yuri re comment 11 and comment 12
Comment 14 Randy Westlund 2015-12-12 08:04:28 UTC
Created attachment 164146 [details]
update node to 5.2.0

In the mean tine, node 5.2.0 was released.  I've attached a patch to update www/node to 5.2.0.  It passes testing.

For what it's worth as someone who uses node every day, I doubt www/node010 and www/node012 are still useful.
Comment 15 linpct 2015-12-14 02:38:10 UTC
Maintainer approved.

1. Remove node010, but keep node012 for a while.
2. Let www/node be 5.2.0, www/node-devel keep its version(5.0.0) and create www/node4 be 4.2.3

Thanks.
Comment 16 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-14 05:50:42 UTC
(In reply to linpct from comment #15)

We still need a patch for 4.2.3
Comment 17 Randy Westlund 2015-12-14 06:27:55 UTC
Created attachment 164218 [details]
patch to create node4 at 4.2.3

Patch to create node4 at version 4.2.3 is attached.
Comment 18 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-14 06:33:42 UTC
(In reply to Randy Westlund from comment #17)

Thanks Randy!
Comment 19 commit-hook freebsd_committer freebsd_triage 2015-12-15 04:40:43 UTC
A commit references this bug:

Author: koobs
Date: Tue Dec 15 04:40:22 UTC 2015
New revision: 403756
URL: https://svnweb.freebsd.org/changeset/ports/403756

Log:
  www/node: Update to 5.2.0, Create www/node4, Update to 4.2.3

  www/node:

   * Update PORTVERSION and distinfo checksum (5.2.0) [1]
   * Add CONFLICTS to www/node4

  www/node4:

   * Create www/node4 port for LTS users
   * Update www/node4 to 4.2.3 [2]
   * Add CONFLICTS to www/node

  * Add UPDATING entry for users wishing to remain on LTS (4.x)

  Based on:

  PR:		204653 [1][2]
  Submitted by:	Randy Westlund <rwestlun gmail com> [1][2]
  Approved by:	maintainer <linpct gmail com>

Changes:
  head/UPDATING
  head/www/Makefile
  head/www/node/Makefile
  head/www/node/distinfo
  head/www/node4/
  head/www/node4/Makefile
  head/www/node4/distinfo
Comment 20 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-15 04:46:58 UTC
Committed attachment 164146 [details] and attachment 164218 [details] with additions (CONFLICTS + UPDATING). Thank you Randy!

(In reply to commit-hook from comment #19)

@Linpct, per your comment 15, can you please create new and separate issues for:

* Add DEPRECATED/EXPIRES for node010 (EXPIRES=3 months from now) and node012 (EXPIRES=whenever you want)

Thanks