From 5207b56e947133151f46fb9d66656995ca30ba60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 24 Nov 2019 15:12:04 +0100 Subject: [PATCH 1/2] tllist: move submoodule from 'subprojects' -> 'external' --- .gitmodules | 4 ++-- {subprojects => external}/tllist | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {subprojects => external}/tllist (100%) diff --git a/.gitmodules b/.gitmodules index 1dbfd77..ca00cd8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,6 +2,6 @@ path = external/wlr-protocols url = https://github.com/swaywm/wlr-protocols.git branch = master -[submodule "subprojects/tllist"] - path = subprojects/tllist +[submodule "external/tllist"] + path = external/tllist url = https://codeberg.org/dnkl/tllist.git diff --git a/subprojects/tllist b/external/tllist similarity index 100% rename from subprojects/tllist rename to external/tllist From a26f00c249c7896da9006bb3c8805d4d5347517e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 24 Nov 2019 15:13:01 +0100 Subject: [PATCH 2/2] tllist: subprojects/tllist is now a static copy of external/tllist Having git submodules as source makes making releases really really hard, since submodules are not included when downloading a tarball from the git repository host. The idea now is to keep a submodule of tllist under 'external', and a static copy under 'subprojects'. This means builds will use the static copy, while having easy access to the git submodule makes it easy to update the static copy (git submodule update --remote + cp -r) --- subprojects/tllist | 1 + 1 file changed, 1 insertion(+) create mode 160000 subprojects/tllist diff --git a/subprojects/tllist b/subprojects/tllist new file mode 160000 index 0000000..d61be2b --- /dev/null +++ b/subprojects/tllist @@ -0,0 +1 @@ +Subproject commit d61be2b6238617d9bfd80aeb1ba0cef13d3a6aba