[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improved NPM importer with blacklist (Was: Re: NPM importer)

From: swedebugia
Subject: Re: Improved NPM importer with blacklist (Was: Re: NPM importer)
Date: Sat, 1 Dec 2018 00:27:57 +0100


I programmed the whole day and learned a lot. :D

On 2018-11-30 17:13, swedebugia wrote:


* make npm-recursive-import work by not fetching blacklisted packages

See the attached patches :)

* implement keyword blacklisting based on the descriptions

* match not just the whole string of blacklisted packages:
   e.g. match also "rollup-plugin" when "rollup" is in the blacklist.

Done. See patch

* get the tarballs from npm-registry instead as they are never missing
   (githubs sometimes are) and likely reproducible.

Done, but not tested yet.

Also added a npm-uri (similar to pypi-uri) see patch.

Happy hacking!

Cheers Swedebugia

Attachment: 0001-guix-Add-a-npm-uri-helper-method.patch
Description: Text Data

Attachment: 0002-guix-Add-blacklisting-to-recursive-importer.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]