On Thursday, 27 April 2017 at 17:06:39 UTC, Andre Pany wrote:

Another big issue for me is using dub in a company. Big companies do not want to use the official dub repository due to security issues. They want to run their own dub repository with dub packages they have done code checks. That means also the git projects are mirrored in git repositories within the company. First step into this direction is to have the possibility to specify the dub repository address within the dub.json.

Is there a problem with just using the dub command line arguments for this?
# cat > /usr/local/bin/company-dub
#! /bin/sh
/usr/bin/env dub --skip-registry=standard --registry=YOUR_COMPANYS_REGISTRY

Reply via email to