Commit 633d27a10fe61caa76c24d33a8c84c7f890a1ff8

Thomas de Grivel 2024-07-19T15:43:46

inspect more git_put_release

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index 58079cd..379ec47 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -750,6 +750,7 @@ defmodule KmxgitWeb.RepositoryController do
         IO.inspect("git_put_release: Git.files []")
         git
       {:ok, files} ->
+        IO.inspect("git_put_release: Git.files #{files}")
         release = files
         |> Enum.map(fn f = %{url: url} ->
           %{f | url: Routes.repository_path(conn, :show, Repository.owner_slug(repo), Repository.splat(repo) ++ ["release", "_blob", "master" | String.split(url, "/")])}