Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-27 Thread Dmitry Smirnov
On Friday, 27 July 2018 4:07:00 PM AEST Ximin Luo wrote: > I do still think dh_webext should add that logic to postinst rather than > everyone doing it in their own packages. Indeed that sounds like a good idea. > I'll discuss it with others at the BoF and make > that central documentation we

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-27 Thread Ximin Luo
Dmitry Smirnov: > Good news, it is possible to refresh Firefox extension cache > by touching "manifest.json" from postinst. > > Thank goodness we don't have to make a zip bundle. > > I've committed changes to "stylus" and "tree-style-tab" repositories. > > Are we in peace now, Ximin Luo? ;) >

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Dmitry Smirnov
On Thursday, 26 July 2018 1:31:00 PM AEST Ximin Luo wrote: > I'm not sure why you think it's "difficult" to create symlinks at build > time. Do you need to verify that the symlinks point to valid targets? Yes, that one of the problems. With systems like dh_link or dh_linktree, staged tree always

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Ximin Luo
Dmitry Smirnov: > On Thursday, 26 July 2018 3:58:00 AM AEST Ximin Luo wrote: >> to create these zips during build time rather than postinst time? > > There are some good reasons to zip on postinst rather than on build time. > > Unpacked addons is what Chromium needs (for those addons that

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Dmitry Smirnov
On Thursday, 26 July 2018 3:58:00 AM AEST Ximin Luo wrote: > to create these zips during build time rather than postinst time? There are some good reasons to zip on postinst rather than on build time. Unpacked addons is what Chromium needs (for those addons that support both browsers) and

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Dmitry Smirnov
On Thursday, 26 July 2018 3:58:00 AM AEST Ximin Luo wrote: > If Firefox's requirements have changed since I last used dh_webext, why not > improve dh_webext to create these zips during build time rather than > postinst time? > > The whole point of something like dh-XXX is to prevent duplication

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Ximin Luo
Dmitry Smirnov: > On Thursday, 26 July 2018 3:25:00 AM AEST Ximin Luo wrote: >> Hey Dmitry, did you try using "dh $@ --with webext" rather than manually >> symlinking and unzipping stuff in the postinst? >> >> I wrote some emails about it previously in this thread. > > Yes, I did try dh_webext

Re: [Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Ximin Luo
Dmitry Smirnov: > Dear Ximin Luo, > > Thank you for maintaining "tree-style-tab" which is one of the packages I can > not live without. > > I hope you don't mind that I've imported its repository to > > https://salsa.debian.org/webext-team/tree-style-tab > > and committed some changes to

[Pkg-mozext-maintainers] tree-style-tab conversion to WebExtensions

2018-07-25 Thread Dmitry Smirnov
Dear Ximin Luo, Thank you for maintaining "tree-style-tab" which is one of the packages I can not live without. I hope you don't mind that I've imported its repository to https://salsa.debian.org/webext-team/tree-style-tab and committed some changes to bring the package up to date,