Re:Better-sqlite3: A faster Sqlite library for Node.js
by reificator on Monday March 19, 2018 @05:13AM
(#16617037)
If it's a package with 300 contributors you would use an organization's name, not a person's name.
[ Parent
| on HN ]
Re:Better-sqlite3: A faster Sqlite library for Node.js
by hnarn on Monday March 19, 2018 @08:12AM
(#16617772)
Ok, so what happens when the same package evolves from one person to a team of 300 people?
Re:Better-sqlite3: A faster Sqlite library for Node.js
by reificator on Monday March 19, 2018 @09:49AM
(#16618301)
Then you migrate. If the platform provides tools to do that, you use them. Otherwise you make a new namespace, upload the project to the new one, and edit the old one with a link to the new one and a deprecation warning. Then if you have a trusted announcement platform like a blog or Twitter, announce it there.
If it's feasible to do so, you also push updates to both namespaces for a little while during the transition.
Re:Better-sqlite3: A faster Sqlite library for Node.js
by always_good on Monday March 19, 2018 @10:11AM
(#16618420)
And I think the package manager can do so much more here than current ones from a UX level.
For example, instead of having to push updates to both packages, you push updates to the new one and, because you've annotated the old one with the move, users have a somewhat seamless experience when they run their update: they'll get a little heads up about the move, explain that oldpackage eol'd at 5.4 and newpackage picked up at 6.0, and would you like me auto-update your manifest?
And/or the package manager supports a rename flow that does this for you.
Re:Better-sqlite3: A faster Sqlite library for Node.js
by reificator on Monday March 19, 2018 @11:52AM
(#16619337)
Yeah, like I said, if the platform provides that kind of tooling, take advantage of it.