<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Apr 2020, 07:38 Pirate Praveen, <<a href="mailto:praveen@onenetbeyond.org">praveen@onenetbeyond.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Tue, Apr 28, 2020 at 2:01 am, Nilesh Patra <<a href="mailto:npatra974@gmail.com" target="_blank" rel="noreferrer">npatra974@gmail.com</a>> <br>
wrote:<br>
> <br>
> <br>
> On Tue, 28 Apr 2020, 01:57 Nilesh Patra, <<a href="mailto:npatra974@gmail.com" target="_blank" rel="noreferrer">npatra974@gmail.com</a>> wrote:<br>
>> Hi,<br>
>> Node-rollup-plugin-replace has build profiles by the name: <br>
>> <js.transpile.*> as can be seen here [1][2]<br>
>> This is also the case with a few other node-rollup-plugin-* modules.<br>
>> <br>
>> While trying to build these with node-babel7, as a part of babel7 <br>
>> transitions, I noticed that these build profiles lead to<br>
>> lintian error: "Invalid-profile-name-in-source-relation"<br>
>> <br>
>> On investigating further, I found out that "custom" build profiles <br>
>> should have name of the form:<br>
>> "pkg.$sourcepackage.$anything"<br>
>> This is explicitly mentioned here[3].<br>
>> <br>
>> After discussing this on IRC, I can think of making Babel the <br>
>> default transpiler and add build option for Bublé with a !(not).<br>
>> So this gets picked if passed with DEB_BUILD_PROFILES.<br>
>> <br>
>> This for instance is the change I wish to suggest:<br>
>> <br>
>> node-rollup-plugin-buble (>= 4.4~) <br>
>> <!pkg.node-rollup-plugin-replace.buble><br>
>> node-babel7 <pkg.node-rollup-plugin-replace.babel>,<br>
> Oops! Correction:<br>
> <br>
> node-rollup-plugin-buble (>= 4.4~) <br>
> <pkg.node-rollup-plugin-replace.buble><br>
> node-babel7 <!pkg.node-rollup-plugin-replace.buble>,<br>
> <br>
>> <br>
>> Will that be sensible and correct to do?<br>
>> I would want more "acks" and suggestions on this one.<br>
>> <br>
<br>
Since this profile is used in more than one package, may be we can <br>
propose this as a new build profile and may be even have team specific <br>
custom profiles instead of just package specific custom profiles.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Sounds good!</div><div dir="auto">How do we go about doing that - about suggesting team specific build profiles?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I think the following options makes it choose babel by default (if we <br>
go by the profile names chosen by rouca),<br>
<br>
node-rollup-plugin-babel (>= 4.4~) <!js.transpile.buble>,<br>
node-babel7,<br>
node-rollup-plugin-buble (>= 0.19.8~) <br>
<js.transpile.buble><br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yep</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>> [1]: <br>
>> <a href="https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L13" rel="noreferrer noreferrer" target="_blank">https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L13</a><br>
>> [2]: <br>
>> <a href="https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L15" rel="noreferrer noreferrer" target="_blank">https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L15</a><br>
>> [3]: <br>
>> <a href="https://lintian.debian.org/tags/invalid-profile-name-in-source-relation.html" rel="noreferrer noreferrer" target="_blank">https://lintian.debian.org/tags/invalid-profile-name-in-source-relation.html</a><br>
>> <br>
>> Thanks and regards,<br>
>> Nilesh<br>
<br>
<br>
<br>
-- <br>
Pkg-javascript-devel mailing list<br>
<a href="mailto:Pkg-javascript-devel@alioth-lists.debian.net" target="_blank" rel="noreferrer">Pkg-javascript-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel</a></blockquote></div></div></div>