Re: [Pkg-javascript-devel] RFC: javascript bundle of small packages

2018-11-01 Thread Chris Lamb
Bastien,

> > I will therefore not be participating in this thread. (I replied to
> > your IRC messages to provide low-touch facilitation and to try
> > and avoid frustration on your part.)
> 
> Noted with thanks. Understood your bandwith problem

I would not characterise it as a "problem" as you put it.

(It would seem churlish and surly to apologise for spending my time
and energy elsewhere, but this is essentially what I am doing.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] RFC: javascript bundle of small packages

2018-11-01 Thread Chris Lamb
Bastien,
  
> The WIP acorn package uploaded to experimental is a tentative to group
> small node package.
> 
> We are waiting for feedback about viability of this approach.

For the avoidance of all doubt I note that you have mailed my
la...@debian.org address directly (ie. me in To, CCing others &
teams) but I have no bandwidth to review or comment on this.

I will therefore not be participating in this thread. (I replied to
your IRC messages to provide low-touch facilitation and to try
and avoid frustration on your part.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] RFC: javascript bundle of small packages

2018-11-01 Thread Bastien ROUCARIES
Hi all,

> > Dear ftpmaster could you review before I upload to experimental,
> > particularly breaks/replace line.

The WIP acorn package uploaded to experimental is a tentative to group
small node package.

The goal is to use uscan to download a few (<=10 packages) in a
debbundle package.

Xadd here in copy has created a merge request for uscan and we are
waiting from ftpmaster about the technique we used.

We acknowledge debian/rules is not pretty, but we plan to improve
debhelper in the future.

Debian is a docraty, and this your contributation to the small package problems.

We are waiting for feedback about viability of this approach.

If you want we could post on debian-devel or open a wiki page, but we
expect to solve the small packages problem ASAP so please give us some
guidance.

Bastien
On Tue, Oct 30, 2018 at 2:22 PM Chris Lamb  wrote:
>
> Bastien,
>

>
> What's wrong with just uploading to experimental? I'm afraid I
> won't have bandwidth to review un-uploaded packages and I doubt
> other ftpmasters would too, alas.
>
>   https://salsa.debian.org/js-team/acorn/blob/master/debian/control#L40-42
>
> (I don't really understand what is going on here anyway.)
>
>
> Regards,
>
> --
>   ,''`.
>  : :'  : Chris Lamb
>  `. `'`  la...@debian.org / chris-lamb.co.uk
>`-

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] RFC: javascript bundle of small packages

2018-10-30 Thread Xavier
Le 30/10/2018 à 11:14, Xavier a écrit :
> Le 30/10/2018 à 10:51, Bastien ROUCARIES a écrit :
>> Hi,
>>
>> I have just pushed a new version of acorn and associated small package
>> to salsa (https://salsa.debian.org/js-team/acorn)
>>
>> It group small package using dpkg module and for now fakeupstream redirector.
>>
>> We plan to modify uscan (yadd?) in order to get this feature upstream.
>>
>> We also plan to improve debhelper in order to get the version parsing
>> of control automatic, and to ease build.
>>
>> But we believe it is a first step in the good direction.
>>
>> Dear ftpmaster could you review before I upload to experimental,
>> particularly breaks/replace line.
>>
>> Package that bundle a few package will be called node-debbundle-foo. I
>> plan to update policy
>>
>> Bastien
> 
> Cc: devscri...@packages.debian.org
> 
> It's now ~easy to modify uscan to do this. We must fix some policy points:
>  - a grouped package version is the join of component versions separate
>by "+~"
> 
> If this way suits you, debian/watch file will look like this:
> 
> version=4
> 
> # Main component
> http://website /regexp/ group
> # optional pgp check
> opts=pgpmode=previous,.. \
>  http://website /regexpSig/
> 
> # 2nd component
> opts=component=node-foo \
>  http://website2 /regexp/ group
> # optional pgp check
> opts=pgpmode=previous,.. \
>  http://website /regexpSig/
> 
> # and so on
> 
> "group" replaces "debian"+"same". uscan calculates new version looking
> at all "group" lines

I wrote this feature (doc to do). Works fine:

 * Modified uscan:
   https://salsa.debian.org/yadd/devscripts/commits/uscan-899073
 * Test with node-mongodb:
   https://salsa.debian.org/js-team/node-mongodb/tree/test-uscan

node-mongodb debian/watch:
version=4

opts="searchmode=plain,pgpmode=none" \
 https://registry.npmjs.org/mongodb
https://registry.npmjs.org/mongodb/-/mongodb-(\d[\d\.]*)@ARCHIVE_EXT@ group

opts="searchmode=plain,pgpmode=none,component=bson" \
 https://registry.npmjs.org/bson
https://registry.npmjs.org/bson/-/bson-(\d[\d\.]*)@ARCHIVE_EXT@ group

opts="searchmode=plain,pgpmode=none,component=mongodb-core" \
 https://registry.npmjs.org/mongodb-core
https://registry.npmjs.org/mongodb-core/-/mongodb-core-(\d[\d\.]*)@ARCHIVE_EXT@
group

opts="searchmode=plain,pgpmode=none,component=requireoptional" \
 https://registry.npmjs.org/require_optional
https://registry.npmjs.org/require_optional/-/require_optional-(\d[\d\.]*)@ARCHIVE_EXT@
group

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] RFC: javascript bundle of small packages

2018-10-30 Thread Chris Lamb
Bastien,

> Dear ftpmaster could you review before I upload to experimental,
> particularly breaks/replace line.

What's wrong with just uploading to experimental? I'm afraid I
won't have bandwidth to review un-uploaded packages and I doubt
other ftpmasters would too, alas.

  https://salsa.debian.org/js-team/acorn/blob/master/debian/control#L40-42

(I don't really understand what is going on here anyway.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] RFC: javascript bundle of small packages

2018-10-30 Thread Xavier
Le 30/10/2018 à 10:51, Bastien ROUCARIES a écrit :
> Hi,
> 
> I have just pushed a new version of acorn and associated small package
> to salsa (https://salsa.debian.org/js-team/acorn)
> 
> It group small package using dpkg module and for now fakeupstream redirector.
> 
> We plan to modify uscan (yadd?) in order to get this feature upstream.
> 
> We also plan to improve debhelper in order to get the version parsing
> of control automatic, and to ease build.
> 
> But we believe it is a first step in the good direction.
> 
> Dear ftpmaster could you review before I upload to experimental,
> particularly breaks/replace line.
> 
> Package that bundle a few package will be called node-debbundle-foo. I
> plan to update policy
> 
> Bastien

Cc: devscri...@packages.debian.org

It's now ~easy to modify uscan to do this. We must fix some policy points:
 - a grouped package version is the join of component versions separate
   by "+~"

If this way suits you, debian/watch file will look like this:

version=4

# Main component
http://website /regexp/ group
# optional pgp check
opts=pgpmode=previous,.. \
 http://website /regexpSig/

# 2nd component
opts=component=node-foo \
 http://website2 /regexp/ group
# optional pgp check
opts=pgpmode=previous,.. \
 http://website /regexpSig/

# and so on

"group" replaces "debian"+"same". uscan calculates new version looking
at all "group" lines

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel