Browse Source

scripted: Remove submodules for materialization

ppa-v0.9.2
Christian Decker 4 years ago
parent
commit
bc27ceb243
  1. 16
      .gitmodules
  2. 1
      external/gheap
  3. 1
      external/jsmn
  4. 1
      external/libbacktrace
  5. 1
      external/libsodium
  6. 1
      external/libwally-core
  7. 2
      materialize-submodules.py

16
.gitmodules

@ -1,16 +0,0 @@
[submodule "daemon/jsmn"]
path = external/jsmn
url = https://github.com/zserge/jsmn
[submodule "libsodium"]
path = external/libsodium
url = https://github.com/jedisct1/libsodium.git
[submodule "external/libbacktrace"]
path = external/libbacktrace
url = https://github.com/ianlancetaylor/libbacktrace.git
[submodule "external/libwally-core"]
path = external/libwally-core
url = https://github.com/ElementsProject/libwally-core.git
ignore = dirty
[submodule "external/gheap"]
path = external/gheap
url = https://github.com/valyala/gheap

1
external/gheap

@ -1 +0,0 @@
Subproject commit 67fc83bc953324f4759e52951921d730d7e65099

1
external/jsmn

@ -1 +0,0 @@
Subproject commit 18e9fe42cbfe21d65076f5c77ae2be379ad1270f

1
external/libbacktrace

@ -1 +0,0 @@
Subproject commit 5a99ff7fed66b8ea8f09c9805c138524a7035ece

1
external/libsodium

@ -1 +0,0 @@
Subproject commit 675149b9b8b66ff44152553fb3ebf9858128363d

1
external/libwally-core

@ -1 +0,0 @@
Subproject commit b8d7ea91049c3d5522768c77c8bfe4936cbabbd7

2
materialize-submodules.py

@ -42,9 +42,11 @@ commit("scripted: Remove submodules for materialization")
mv(".gitignore", ".gitignore.bak")
for module in submodules.values():
print(f"Cloning {module['url']} inot {module['path']}")
gclone(module["url"], module["path"])
d = os.getcwd()
os.chdir(module["path"])
git("clean", "-xfd")
git("checkout", module["hash"])
os.chdir(d)
rm(f"{module['path']}/.git")

Loading…
Cancel
Save