From 83434becf0f9aec303cc8947d87a25040af2ff9d Mon Sep 17 00:00:00 2001 From: Arseniy Seroka Date: Mon, 23 Feb 2015 20:14:44 +0300 Subject: add information about git-based pkgs --- doc/coding-conventions.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/coding-conventions.xml') diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml index 61d373738f90..04adcdea1cb2 100644 --- a/doc/coding-conventions.xml +++ b/doc/coding-conventions.xml @@ -256,6 +256,12 @@ bound to the variable name e2fsprogs in a package named hello-svn by nix-env. + If package is fetched from git's commit then + the version part of the name must be the date of that + (fetched) commit. The date must be in "YYYY-MM-DD" format. + Also add "git" to the name - e.g., + "pkgname-git-2014-09-23". + Dashes in the package name should be preserved in new variable names, rather than converted to underscores (which was convention up to around 2013 and most names -- cgit 1.4.1