I checked the repo in collab-maint. I think it's not ideal to remove the vendor js/css in source tree. We should remove it during building. On ideal approach is to use dh-linktree to link these libraries, taking wordpress for example, https://anonscm.debian.org/git/collab-maint/wordpress.git/tree/debian/wordpress.linktrees
Besides, I'm trying to make upstream to put the vendor libraries to one folder, which can be more convenient for packaging in Debian. https://pagure.io/pagure/pull-request/2287 Best regards, Shengjing Zhu On Fri, May 19, 2017 at 05:53:33PM +0800, Boyuan Yang wrote: > Thanks a lot. If all three options are acceptable then we are already in a > good position: check out the master branch on Alioth repo [1] and we already > have a working build script now, (with option 3 above). I call it a "+ds1" > version since actually no file in the repo is of non-DFSG. Luckily, upstream > provides all non-minified javascripts files together with minified ones. > > I checked debian/copyright for the first round and completed it. Remaining > problems: > > * emojione v1 as bundled in pagure is free/libre library (MIT/CC-BY-SA-4.0) > but later versions (e.g., v3) restricted its use (non-commercial or pay for > license). That might be a trouble if we are to package it separately. > * Embedded fonts-hack-web and fonts-hack-ttf not stripped off (yet). Perhaps > it's fine if we use upstream bundled fonts? > * libjs-codemirror in the Debian repository is outdated. We might need a > newer > version to make sure pagure works correctly. > * Several other js libraries not in Debian, as stated by Shengjing Zhu before. > > For other problems and a TODO list, see git commit a83dd06ccc and debian/TODO > file. > > [1] https://anonscm.debian.org/git/collab-maint/pagure.git/log/ > > -- > Boyuan Yang
signature.asc
Description: PGP signature