Spaces:
Sleeping
Sleeping
Nicky Nicolson
commited on
Commit
•
6fd9aaa
1
Parent(s):
e6d4f1a
Use git submodules
Browse files- .gitmodules +3 -0
- Dockerfile +3 -2
- ihdelta +1 -0
.gitmodules
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
[submodule "ihdelta"]
|
2 |
+
path = ihdelta
|
3 |
+
url = https://github.com/nickynicolson/ihdelta.git
|
Dockerfile
CHANGED
@@ -13,8 +13,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
13 |
# Clone ihdelta repo
|
14 |
RUN mkdir /data
|
15 |
RUN mkdir /data/ihdelta
|
16 |
-
RUN git
|
17 |
-
RUN git
|
|
|
18 |
|
19 |
RUN sqlite-utils tables /code/ihdelta.db --counts
|
20 |
RUN chmod 755 /code/ihdelta.db
|
|
|
13 |
# Clone ihdelta repo
|
14 |
RUN mkdir /data
|
15 |
RUN mkdir /data/ihdelta
|
16 |
+
RUN git submodule init
|
17 |
+
RUN git submodule update
|
18 |
+
RUN git-history file --start-after ${START_AFTER_COMMIT} --csv --dialect unix --repo ihdelta --id irn /code/ihdelta.db ihdelta/ih-institutions.csv
|
19 |
|
20 |
RUN sqlite-utils tables /code/ihdelta.db --counts
|
21 |
RUN chmod 755 /code/ihdelta.db
|
ihdelta
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 8bb57ad6015682434f34f9b7a2390452cdb738af
|