anchor.diff:  %% @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()).
  +get_rootdir() -> add_repo(get_docroot()).
   
   %%-------------------------------------------------------------------------
   %% @doc 
  
positive.code:                                                 ok = file:write_file(Gz, Compressed),
                                                  ok = file:rename(G, ?JOIN(filename:dirname(G), "Packages"))
                                        end, News),
                          % Update Release file in Archives
                          Archives = application:get_env(debris, archives, ?DEFAULT_ARCHIVES),
                          lists:foreach(fun(D) ->  create_archive_release_file(RootDir, D) end,  Archives),
                          ok.
                          
  %%-------------------------------------------------------------------------
  
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"}
  