From 7d9473abf9eaa33d482dabbe6f0c0261876664b2 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 13 Feb 2020 16:14:54 +0100
Subject: [PATCH] Add bob.db.{casia_fasd,casiasurf,ldhf,siw,swan}

---
 README.rst           |  2 ++
 conda/meta.yaml      |  8 +++++++-
 doc/index.rst        | 10 ++++++++++
 doc/readme_index.rst |  5 +++++
 packages.txt         |  5 +++++
 5 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/README.rst b/README.rst
index da5902d..a902091 100644
--- a/README.rst
+++ b/README.rst
@@ -13,6 +13,8 @@ To add a new package:
 
 * Make sure the package is **public** first. Do not add private packages here.
 * Make sure the package is in https://gitlab.idiap.ch/bob/bob first.
+* The list of packages here should be in sync with `bob/bob`.
+* **Remove** packages which are here but no longer are in `bob/bob`.
 * Add it in ``conda/meta.yaml`` and ``packages.txt``.
 * Add it in ``doc/index.rst`` (you need to add it in several places in this file).
 * Add it in ``doc/readme_index.rst``.
diff --git a/conda/meta.yaml b/conda/meta.yaml
index b2b227b..1df25fb 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -12,7 +12,8 @@ requirements:
   run:
     - python
     - setuptools
-    # this should be the same as packages.txt
+    # This list should be the same as packages.txt.
+    # This list should also be the same as in bob/bob conda recipe + bob and bob.devtools
     - bob
     - bob.ap
     - bob.bio.base
@@ -36,6 +37,8 @@ requirements:
     - bob.db.base
     - bob.db.biosecure
     - bob.db.biosecurid.face
+    - bob.db.casia_fasd
+    - bob.db.casiasurf
     - bob.db.casme2
     - bob.db.caspeal
     - bob.db.cbsr_nir_vis_2
@@ -57,6 +60,7 @@ requirements:
     - bob.db.iostar
     - bob.db.iris
     - bob.db.kboc16
+    - bob.db.ldhf
     - bob.db.lfw
     - bob.db.livdet2013
     - bob.db.maskattack
@@ -75,7 +79,9 @@ requirements:
     - bob.db.replaymobile
     - bob.db.rimoner3
     - bob.db.scface
+    - bob.db.siw
     - bob.db.stare
+    - bob.db.swan
     - bob.db.utfvp
     - bob.db.uvad
     - bob.db.verafinger
diff --git a/doc/index.rst b/doc/index.rst
index 61e829e..3f997c2 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -154,6 +154,8 @@ Interfaces
 * :ref:`bob.db.banca`
 * :ref:`bob.db.biosecure`
 * :ref:`bob.db.biosecurid.face`
+* :ref:`bob.db.casia_fasd`
+* :ref:`bob.db.casiasurf`
 * :ref:`bob.db.casme2`
 * :ref:`bob.db.caspeal`
 * :ref:`bob.db.cbsr_nir_vis_2`
@@ -175,6 +177,7 @@ Interfaces
 * :ref:`bob.db.iostar`
 * :ref:`bob.db.iris`
 * :ref:`bob.db.kboc16`
+* :ref:`bob.db.ldhf`
 * :ref:`bob.db.lfw`
 * :ref:`bob.db.livdet2013`
 * :ref:`bob.db.maskattack`
@@ -193,7 +196,9 @@ Interfaces
 * :ref:`bob.db.replaymobile`
 * :ref:`bob.db.rimoner3`
 * :ref:`bob.db.scface`
+* :ref:`bob.db.siw`
 * :ref:`bob.db.stare`
+* :ref:`bob.db.swan`
 * :ref:`bob.db.utfvp`
 * :ref:`bob.db.uvad`
 * :ref:`bob.db.verafinger`
@@ -235,6 +240,8 @@ Index of all Packages
    bob.db.base <bob/bob.db.base/doc/index.rst>
    bob.db.biosecure <bob/bob.db.biosecure/doc/index.rst>
    bob.db.biosecurid.face <bob/bob.db.biosecurid.face/doc/index.rst>
+   bob.db.casia_fasd <bob/bob.db.casia_fasd/doc/index.rst>
+   bob.db.casiasurf <bob/bob.db.casiasurf/doc/index.rst>
    bob.db.casme2 <bob/bob.db.casme2/doc/index.rst>
    bob.db.caspeal <bob/bob.db.caspeal/doc/index.rst>
    bob.db.cbsr_nir_vis_2 <bob/bob.db.cbsr_nir_vis_2/doc/index.rst>
@@ -256,6 +263,7 @@ Index of all Packages
    bob.db.iostar <bob/bob.db.iostar/doc/index.rst>
    bob.db.iris <bob/bob.db.iris/doc/index.rst>
    bob.db.kboc16 <bob/bob.db.kboc16/doc/index.rst>
+   bob.db.ldhf <bob/bob.db.ldhf/doc/index.rst>
    bob.db.lfw <bob/bob.db.lfw/doc/index.rst>
    bob.db.livdet2013 <bob/bob.db.livdet2013/doc/index.rst>
    bob.db.maskattack <bob/bob.db.maskattack/doc/index.rst>
@@ -274,7 +282,9 @@ Index of all Packages
    bob.db.replaymobile <bob/bob.db.replaymobile/doc/index.rst>
    bob.db.rimoner3 <bob/bob.db.rimoner3/doc/index.rst>
    bob.db.scface <bob/bob.db.scface/doc/index.rst>
+   bob.db.siw <bob/bob.db.siw/doc/index.rst>
    bob.db.stare <bob/bob.db.stare/doc/index.rst>
+   bob.db.swan <bob/bob.db.swan/doc/index.rst>
    bob.db.utfvp <bob/bob.db.utfvp/doc/index.rst>
    bob.db.uvad <bob/bob.db.uvad/doc/index.rst>
    bob.db.verafinger <bob/bob.db.verafinger/doc/index.rst>
diff --git a/doc/readme_index.rst b/doc/readme_index.rst
index bd37d45..4a239ad 100644
--- a/doc/readme_index.rst
+++ b/doc/readme_index.rst
@@ -30,6 +30,8 @@ README of all Packages
    bob.db.base <bob/bob.db.base/README.rst>
    bob.db.biosecure <bob/bob.db.biosecure/README.rst>
    bob.db.biosecurid.face <bob/bob.db.biosecurid.face/README.rst>
+   bob.db.casia_fasd <bob/bob.db.casia_fasd/README.rst>
+   bob.db.casiasurf <bob/bob.db.casiasurf/README.rst>
    bob.db.casme2 <bob/bob.db.casme2/README.rst>
    bob.db.caspeal <bob/bob.db.caspeal/README.rst>
    bob.db.cbsr_nir_vis_2 <bob/bob.db.cbsr_nir_vis_2/README.rst>
@@ -51,6 +53,7 @@ README of all Packages
    bob.db.iostar <bob/bob.db.iostar/README.rst>
    bob.db.iris <bob/bob.db.iris/README.rst>
    bob.db.kboc16 <bob/bob.db.kboc16/README.rst>
+   bob.db.ldhf <bob/bob.db.ldhf/README.rst>
    bob.db.lfw <bob/bob.db.lfw/README.rst>
    bob.db.livdet2013 <bob/bob.db.livdet2013/README.rst>
    bob.db.maskattack <bob/bob.db.maskattack/README.rst>
@@ -69,7 +72,9 @@ README of all Packages
    bob.db.replaymobile <bob/bob.db.replaymobile/README.rst>
    bob.db.rimoner3 <bob/bob.db.rimoner3/README.rst>
    bob.db.scface <bob/bob.db.scface/README.rst>
+   bob.db.siw <bob/bob.db.siw/README.rst>
    bob.db.stare <bob/bob.db.stare/README.rst>
+   bob.db.swan <bob/bob.db.swan/README.rst>
    bob.db.utfvp <bob/bob.db.utfvp/README.rst>
    bob.db.uvad <bob/bob.db.uvad/README.rst>
    bob.db.verafinger <bob/bob.db.verafinger/README.rst>
diff --git a/packages.txt b/packages.txt
index dd10ef6..4030c1c 100644
--- a/packages.txt
+++ b/packages.txt
@@ -21,6 +21,8 @@ bob/bob.db.banca
 bob/bob.db.base
 bob/bob.db.biosecure
 bob/bob.db.biosecurid.face
+bob/bob.db.casia_fasd
+bob/bob.db.casiasurf
 bob/bob.db.casme2
 bob/bob.db.caspeal
 bob/bob.db.cbsr_nir_vis_2
@@ -42,6 +44,7 @@ bob/bob.db.ijbc
 bob/bob.db.iostar
 bob/bob.db.iris
 bob/bob.db.kboc16
+bob/bob.db.ldhf
 bob/bob.db.lfw
 bob/bob.db.livdet2013
 bob/bob.db.maskattack
@@ -60,7 +63,9 @@ bob/bob.db.replay
 bob/bob.db.replaymobile
 bob/bob.db.rimoner3
 bob/bob.db.scface
+bob/bob.db.siw
 bob/bob.db.stare
+bob/bob.db.swan
 bob/bob.db.utfvp
 bob/bob.db.uvad
 bob/bob.db.verafinger
-- 
GitLab