Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Managing dependencies the right way

Crisfole edited this page Feb 1, 2012 · 4 revisions

Hey! Watch where you put that thing

If you make use of 3rd party dependencies, in your contributions, make sure they are places in the /dependencies/name folder. Do not include any version numbers in the folder name for the dependencies, it doesn't make any sense and it's just going to be a nightmare to maintain. Also make sure you include all needed dependencies, there is nothing (ok, maybe a slight exaggeration) worse than having to be forced to chase around all over the web for downloads, just to be able to build source code you downloaded from some random project. Nancy should build, out of the box, once you've pulled down the source code.

Make sure you've read the Yoda gospels

Not only should all needed dependencies be included in the dependency folder, but make sure you read the license for the dependency you are about to include in Nancy. Make sure you are not violating anything in it! There are plenty of sites that explain the horde of different licenses out there.

We'd rather avoid getting a nice letter from a man in a suit because we are shipping their library x in a way that is not conforming to their choice of license. Nancy is distributed under an MIT license which makes it very open to how it is used, not everyone thinks their stuff should be used in such a liberal way and might not be compatible with MIT.

Clone this wiki locally