anchor.diff:  %% @end
   %%-------------------------------------------------------------------------
   % Lookup in dets file if .deb known  (otherwise unstable is returned)
  -% Be aware if you do not use "unstable" in archives config key !
  +% Be aware if you do not use "unstable" in Suites config key !
   what_archive(Repo, Deb) ->  Name = open_dets(Repo),
                         % Search Deb file as key and return archive value, otherwise "unstable"
                         case dets:lookup(Name, Deb) of
  
positive.code: %% @doc Get the root directory of a repo (one level more than document_root)
  %% @end
  %%-------------------------------------------------------------------------
  get_rootdir() -> % Use Debris Private Dir by default
                   %application:load(debris),
                   %RootDir1 = case code:priv_dir(debris) of
                   %             {error, bad_name} -> "." ;
                   %             P -> ?JOIN(P, "www")
                   %          end,
                   % Get rootdir from config
                   %case application:get_env(debris, document_root) of
                   %   {ok, RootDir2} -> add_repo(RootDir2) ;
                   %   undefined      -> add_repo(RootDir1)
                   %end
                   add_repo(get_docroot()).
  
  %%-------------------------------------------------------------------------
  %% @doc 
  
negative.code:             Target  = ?JOIN(RootDir, "index.html"),
              Repo    = filename:basename(RootDir),
              Module  = list_to_atom(Repo ++ "_index_html"),
              %Suites  = application:get_env(debris, suites, ?DEFAULT_SUITES),
              %Compos  = application:get_env(debris, components, ["main"]),
              Suites  = get_conf(Repo, suites, ?DEFAULT_SUITES),
              Compos  = get_conf(Repo, components, ["main"]),
              {ok, Module} = erlydtl:compile_file(Source, Module),
              Vars = get_template_vars() ++ [ {repository, Repo}
                                             ,{pubkey, Repo ++ ".asc"}
  