Closed nickdex closed 5 years ago
I think it is not creating proper watch file as it is gitlab.com
Any way to fix it? P.S. - I'm new to debian packaging, used npm2deb today for first time
@nickdex for now you proceed with manual downloading of the tarball, hopefully someone will fix npm2deb.
Or if you know python, you can try to fix npm2deb :)
fix is coming in #135
@pravi: coud you close this issue if OK now ?
@guimard no, this issue is not fixed yet as @gitlab/svgs use ssh clone url instead of https, so it falls back to npmregistry.
$ cat @gitlab/svgs/node-gitlab-svgs-1.54.0/debian/watch
version=4
# It is not recommended use npmregistry. Please investigate more.
# Origin url: ssh://git@gitlab.com/gitlab-org/gitlab-svgs
# Take a look at https://wiki.debian.org/debian/watch/
opts="searchmode=plain,pgpmode=none" \
https://registry.npmjs.org/@gitlab/svgs \
https://registry.npmjs.org/\@gitlab/svgs/-/svgs-(\d[\d\.]*)@ARCHIVE_EXT@
@pravi: this is another issue: fix bad URL. This suppose to have a map to replace ssh url by https one. Anyway, this is a bad behavior to have ssh url in node package => upstream issue
@guimard if it is easy to fix, we should fix it I think. https://www.npmjs.com/package/@gitlab/svgs page correctly converts it to https url so I think it is not an upstream issue but an accepted format in package.json
@pravi : OK, let's fix this
@pravi: try with #139
When executing
npm2deb create
generates all tars and folders. However in extracted folder files are missing. It only has downloads couple of files and dist directory.Repo - https://gitlab.com/gitlab-org/gitlab-svgs
Inside orig.tar file created by
npm2deb
Inside manually downloaded tar file