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

Re: Please categorise your packages for the Debian Science metapackages



Hi,

On Thu, Jan 05, 2017 at 02:46:55AM +0000, lumin wrote:
> I'm holding 6 uncategorized d-science packages.
> 
> * caffe and caffe-contrib are categorized into machine-learning task.
>   See the patch attached.

Thanks for the patch.  Please note that for packages that are either
existing in Debian (like caffe-cpu and caffe-cuda) or at least have some
packaging in Debian Science Git or SVN (that's the reason why I insist
using {git|svn}.debian.org) there is no need to specify anything else
than just the package name.  The information is in UDD and will be taken
from there.  So I striped your patch to only contain

   Depends: caffe-cpu | caffe-cuda
 
> * the remaining 4 packages are core components of the torch7 framework,
>   and the torch7 metapackage (meta-torch-core-free) is still in experimental.
>   Torch7 is also a machine-learning framework.

OK, I did:

$ git diff HEAD^
diff --git a/tasks/machine-learning b/tasks/machine-learning
index e0d3456..8c52063 100644
--- a/tasks/machine-learning
+++ b/tasks/machine-learning
@@ -147,3 +147,5 @@ Suggests: libdlib-dev
 Depends: r-cran-mlbench
 
 Depends: caffe-cpu | caffe-cuda
+
+Depends: torch-core-free


Explanation: The package will show up on the relevant tasks page to
inform users that they will find the package in experimental.  When
creating Debian Science metapackages it will only get a

    Suggests: torch-core-free

since the metapackage creation process verifies whether a package is in
testing or not.  So there is no harm done in specifying this package in
the tasks files.  In other words:  Please add your packages early (be it
in VCS, new or experimental) to the tasks files.

 
>   lua-torch-cwrap
>   lua-torch-dok
>   lua-torch-paths
>   lua-torch-sundown
> 
>   The 4 source packages should be hidden.

I excluded these four packages in the helper script[1] which I'm using.

Thanks for your cooperation

     Andreas.


[1] https://anonscm.debian.org/cgit/blends/website.git/tree/misc/sql/0-uncategorised.sh

-- 
http://fam-tille.de


Reply to: