Re: [Pkg-javascript-devel] Regrouping some modules ? [Was Re: Comments regarding node-uid-safe_1.0.1-1_amd64.changes]

2014-08-26 Thread Jérémy Lal
Le dimanche 24 août 2014 à 18:49 +0200, Leo Iannacone a écrit :
On 23 August 2014 21:23, Jérémy Lal kapo...@melix.org wrote:
  Le samedi 23 août 2014 à 16:52 +0200, Leo Iannacone a écrit :
  On 23 August 2014 12:08, Jérémy Lal kapo...@melix.org wrote:
   I prefer the first idea from Thorsten:
   time, email, fs packages bundling utilities by category.
  
   Let's try to make a list of categories ?
 
  What about:
   * http
   * css
   * html
   * time
   * mime
   * mail (?)
   * log (?)
   * fs (?)
 
  All of these packages (IMHO) should be named as
node-${CATEGORY}utils, i.e.:
   * node-httputils
 
To avoid the case where one upstream module gets called 'httputils',
i suggest a different name scheme:
nodemodules-




  * streams
  * async
  * module loading (amd, requirejs, ...)
 
 Here a wiki page to list packages and modules included:
  https://wiki.debian.org/Javascript/Nodejs/CommonPackages
 
 Please, populate it!
 
 
  The problem with those bundles is that we'll never know if/when
  a module inside them isn't required any more.
 
 Mmm .. can't codesearch.debian.net help on this ?
 
Of course, but it isn't as straightforward as checking dependencies.

I propose that nodemodules-time *must* list which modules it Provides,
so others packages depend on node-ms (in that example) and do *not*
depend on nodemodules-time.

Jérémy.



___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] Regrouping some modules ? [Was Re: Comments regarding node-uid-safe_1.0.1-1_amd64.changes]

2014-08-26 Thread Leo Iannacone
On 26 August 2014 11:15, Jérémy Lal kapo...@melix.org wrote:
  All of these packages (IMHO) should be named as
 node-${CATEGORY}utils, i.e.:
   * node-httputils

 To avoid the case where one upstream module gets called 'httputils',
 i suggest a different name scheme:
 nodemodules-

+1



  The problem with those bundles is that we'll never know if/when
  a module inside them isn't required any more.

 Mmm .. can't codesearch.debian.net help on this ?

 Of course, but it isn't as straightforward as checking dependencies.

 I propose that nodemodules-time *must* list which modules it Provides,
 so others packages depend on node-ms (in that example) and do *not*
 depend on nodemodules-time.

Elegant! +1


Let's start with some module?

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


Re: [Pkg-javascript-devel] Regrouping some modules ? [Was Re: Comments regarding node-uid-safe_1.0.1-1_amd64.changes]

2014-08-24 Thread Leo Iannacone
On 23 August 2014 21:23, Jérémy Lal kapo...@melix.org wrote:
 Le samedi 23 août 2014 à 16:52 +0200, Leo Iannacone a écrit :
 On 23 August 2014 12:08, Jérémy Lal kapo...@melix.org wrote:
  I prefer the first idea from Thorsten:
  time, email, fs packages bundling utilities by category.
 
  Let's try to make a list of categories ?

 What about:
  * http
  * css
  * html
  * time
  * mime
  * mail (?)
  * log (?)
  * fs (?)

 All of these packages (IMHO) should be named as node-${CATEGORY}utils, 
 i.e.:
  * node-httputils

 * streams
 * async
 * module loading (amd, requirejs, ...)

Here a wiki page to list packages and modules included:
 https://wiki.debian.org/Javascript/Nodejs/CommonPackages

Please, populate it!


 The problem with those bundles is that we'll never know if/when
 a module inside them isn't required any more.

Mmm .. can't codesearch.debian.net help on this ?

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


Re: [Pkg-javascript-devel] Regrouping some modules ? [Was Re: Comments regarding node-uid-safe_1.0.1-1_amd64.changes]

2014-08-23 Thread Leo Iannacone
On 22 August 2014 16:31, Jérémy Lal kapo...@melix.org wrote:
 While maintaining a buch of unrelated packages seems difficult,
 would it make sense to regroup all competing packages that bring similar
 functions ?

 Sometimes one module is clearly better than others and we try to patch
 less popular modules away, but sometimes it isn't so clear so we end up
 with several packages doing the same thing, only in different subtle
 ways.

 A nodejs toolkit providing common low-level utilities could be also a
 matter of discussion.


Why not try to identify some categories (as suggested for node-ms:
time, or email or filesystem ...) to regroup those small modules
?

L.

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


Re: [Pkg-javascript-devel] Regrouping some modules ? [Was Re: Comments regarding node-uid-safe_1.0.1-1_amd64.changes]

2014-08-23 Thread Leo Iannacone
On 23 August 2014 10:55, Leo Iannacone l...@ubuntu.com wrote:
 On 23 August 2014 10:12, Leo Iannacone l...@ubuntu.com wrote:
 Why not try to identify some categories (as suggested for node-ms:
 time, or email or filesystem ...) to regroup those small modules
 ?

 Another approach could be to group all modules which are coming from
 the same team.

 For instance, we could have a node-express-common package which
 includes these repos:
  https://github.com/expressjs/

 Or a node-socket.io-common package which includes the
 [socket|engine].io-* modules listed in:
  https://github.com/Automattic

Also:
 * https://github.com/jshttp/ (Low-Level JavaScript HTTP-related Modules)

are there other relevant team ?


-- 
Ubuntu Member - http://launchpad.net/~l3on
Home Page - http://leoiannacone.com
GPG Key Id - 0xD282FC25

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


Re: [Pkg-javascript-devel] Regrouping some modules ? [Was Re: Comments regarding node-uid-safe_1.0.1-1_amd64.changes]

2014-08-23 Thread Jérémy Lal
Le samedi 23 août 2014 à 16:52 +0200, Leo Iannacone a écrit :
 On 23 August 2014 12:08, Jérémy Lal kapo...@melix.org wrote:
  I prefer the first idea from Thorsten:
  time, email, fs packages bundling utilities by category.
 
  Let's try to make a list of categories ?
 
 What about:
  * http
  * css
  * html
  * time
  * mime
  * mail (?)
  * log (?)
  * fs (?)
 
 All of these packages (IMHO) should be named as node-${CATEGORY}utils, i.e.:
  * node-httputils

* streams
* async
* module loading (amd, requirejs, ...)

The problem with those bundles is that we'll never know if/when
a module inside them isn't required any more.


Jérémy.




___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel