<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Apr 2020, 01:57 Nilesh Patra, <<a href="mailto:npatra974@gmail.com">npatra974@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi,<div dir="auto">Node-rollup-plugin-replace has build profiles by the name: <js.transpile.*> as can be seen here [1][2]</div><div dir="auto">This is also the case with a few other node-rollup-plugin-* modules.</div><div dir="auto"><br></div><div dir="auto">While trying to build these with node-babel7, as a part of babel7 transitions, I noticed that these build profiles lead to</div><div dir="auto">lintian error: "Invalid-profile-name-in-source-relation"</div><div dir="auto"><br></div><div dir="auto">On investigating further, I found out that "custom" build profiles should have name of the form: </div><div dir="auto">"pkg.$sourcepackage.$anything"</div><div dir="auto">This is explicitly mentioned here[3].<br></div><div dir="auto"><br></div><div dir="auto">After discussing this on IRC, I can think of making Babel the default transpiler and add build option for Bublé with a !(not).</div><div dir="auto">So this gets picked if passed with DEB_BUILD_PROFILES.</div><div dir="auto"><br></div><div dir="auto">This for instance is the change I wish to suggest:</div><div dir="auto"><br></div><div dir="auto"><pre><div dir="auto"><pre>node-rollup-plugin-buble (>= 4.4~) <!pkg.node-rollup-plugin-replace.buble></pre><pre>node-babel7 <pkg.node-rollup-plugin-replace.babel>,</pre></div><div dir="auto"></div></pre></div></div></blockquote></div></div><div dir="auto">Oops! Correction: </div><div dir="auto"><br></div><div dir="auto"><div dir="auto"><pre>node-rollup-plugin-buble (>= 4.4~) <pkg.node-rollup-plugin-replace.buble></pre><pre>node-babel7 <!pkg.node-rollup-plugin-replace.buble>,</pre></div><div dir="auto"><br style="font-family:sans-serif"></div></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"><div dir="auto"><div dir="auto"><pre><div dir="auto"><br style="font-family:sans-serif;white-space:normal"></div></pre></div><div dir="auto">Will that be sensible and correct to do?</div><div dir="auto">I would want more "acks" and suggestions on this one.</div><div dir="auto"><br></div><div dir="auto">[1]: <a href="https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L13" target="_blank" rel="noreferrer">https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L13</a></div><div dir="auto">[2]: <a href="https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L15" target="_blank" rel="noreferrer">https://salsa.debian.org/js-team/node-rollup-plugin-replace/-/blob/master/debian/control#L15</a></div><div dir="auto">[3]: <a href="https://lintian.debian.org/tags/invalid-profile-name-in-source-relation.html" target="_blank" rel="noreferrer">https://lintian.debian.org/tags/invalid-profile-name-in-source-relation.html</a></div><div dir="auto"><br></div><div dir="auto">Thanks and regards,</div><div dir="auto">Nilesh </div></div>
</blockquote></div></div></div>