From 25980ed01e505ff20d8678b3dc21682fdff79b52 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 28 Jul 2016 10:29:04 +0200 Subject: DOC: unstable packages names should append -unstable, not -git or -svn --- doc/coding-conventions.xml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml index e7166a64919b2..8105611f2bac3 100644 --- a/doc/coding-conventions.xml +++ b/doc/coding-conventions.xml @@ -251,16 +251,13 @@ bound to the variable name e2fsprogs in The version part of the name attribute must start with a digit (following a - dash) — e.g., "hello-0.3-pre-r3910" instead of - "hello-svn-r3910", as the latter would be seen as - a package named hello-svn by - nix-env. + dash) — e.g., "hello-0.3.1rc2". - If package is fetched from git's commit then + If a package is not a release but a commit from a repository, 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". + Also append "unstable" to the name - e.g., + "pkgname-unstable-2014-09-23". Dashes in the package name should be preserved in new variable names, rather than converted to underscores -- cgit 1.4.1