Skip to content

Commit

Permalink
Switch from submodule "vocabs" to "lbz-vocabs" (#2063)
Browse files Browse the repository at this point in the history
We now use a dedicated vobas rpo for RPB.

- ad git submodule "lbz-vocabs"
- improve README
- configure start script
  • Loading branch information
dr0i committed Aug 29, 2024
1 parent 6befacb commit 0962fe3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
[submodule "vocabs"]
path = vocabs
url = https://github.com/lobid/vocabs
[submodule "lbz-vocabs"]
path = lbz-vocabs
url = https://github.com/hbz/lbz-vocabs
branch = main
3 changes: 2 additions & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ You're done :)

h2. Tables as gitsubmodules

Some lookup tables are provided through gitsubmodules.
Some lookup tables are provided through gitsubmodules (s. @.gitmodules@).
To initialize the submodules do @git submodule update --init --remote@.
To add a submodule do @git submodule add $repoUrl@.
To make a @git pull@ also
update these tables you can e.g. do @git config --local submodule.recurse true@ once and @git submodule update --recursive --remote@ after every @git pull@ ! This is necessary
to be on the HEAD of the master of the submodules.
Expand Down
1 change: 1 addition & 0 deletions lbz-vocabs
Submodule lbz-vocabs added at e83ed5
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ public void run() {
fixVariables.put("rvk.tsv", "../../../../../../lookup-tables/data/rvk.tsv");
fixVariables.put("lobidOrganisationsMapping.tsv", "./maps/lobidOrganisationsMapping.tsv");
fixVariables.put("hbzowner2sigel.tsv", "./maps/hbzowner2sigel.tsv");
fixVariables.put("rpb2.ttl", "../../../../../../vocabs/rpb/rpb2.ttl");
fixVariables.put("rpb-spatial.ttl", "../../../../../../vocabs/rpb/rpb-spatial.ttl");
fixVariables.put("rpb.ttl", "../../../../../../vocabs/rpb/rpb.ttl");
fixVariables.put("rpb2.ttl", "../../../../../../lbz-vocabs/rpb/rpb2.ttl");
fixVariables.put("rpb-spatial.ttl", "../../../../../../lbz-vocabs/rpb/rpb-spatial.ttl");
fixVariables.put("rpb.ttl", "../../../../../../lbz-vocabs/rpb/rpb.ttl");
fixVariables.put("nwbib.ttl", "../../../../../../vocabs/nwbib/nwbib.ttl");
fixVariables.put("nwbib-spatial.ttl", "../../../../../../vocabs/nwbib/nwbib-spatial.ttl");
fixVariables.put("hbzId2zdbId.tsv", "./maps/hbzId2zdbId.tsv.gz");
Expand Down

0 comments on commit 0962fe3

Please sign in to comment.