     (-> data
         (add-git-url repository-id))))
 
-
+;#### debug ###################################################################
+;(logging-config/set-logger! :level :debug)
+;(logging-config/set-logger! :level :info)
+;(debug/debug-ns *ns*)

              :repository_id repository-id
              :scripts (:scripts trial)
              :task_id (:task_id trial)
              :tree-attachments (:tree-attachments task-spec)
              :tree-attachments-path (tree-attachments-path tree-id)
              :trial-attachments (:trial-attachments task-spec)

        {:git_path (git-path repository-id)
         :git_url (git-url repository-id) }))


;### templates ################################################################

(defn- templates-data [task-spec]
  (if-let [templates (:templates task-spec)]
    (-> templates convert-to-array)
    []))

;### dispatch data ############################################################

