Commit 373fd704 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Moved more parsers to github.

parent bc0c6c36
Pipeline #95605 passed with stages
in 19 minutes and 48 seconds
...@@ -4,24 +4,24 @@ ...@@ -4,24 +4,24 @@
branch = nomad-fair branch = nomad-fair
[submodule "dependencies/parsers/vasp"] [submodule "dependencies/parsers/vasp"]
path = dependencies/parsers/vasp path = dependencies/parsers/vasp
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-vasp.git url = https://github.com/nomad-coe/nomad-parser-vasp.git
branch = nomad-fair branch = master
[submodule "dependencies/parsers/exciting"] [submodule "dependencies/parsers/exciting"]
path = dependencies/parsers/exciting path = dependencies/parsers/exciting
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-exciting-fairdi.git url = https://github.com/nomad-coe/nomad-parser-exciting.git
branch = nomad-fair branch = master
[submodule "dependencies/parsers/fhi-aims"] [submodule "dependencies/parsers/fhi-aims"]
path = dependencies/parsers/fhi-aims path = dependencies/parsers/fhi-aims
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-fhi-aims.git url = https://github.com/nomad-coe/nomad-parser-fhi-aims.git
branch = nomad-fair branch = master
[submodule "dependencies/parsers/cp2k"] [submodule "dependencies/parsers/cp2k"]
path = dependencies/parsers/cp2k path = dependencies/parsers/cp2k
url = https://github.com/nomad-coe/nomad-parser-cp2k.git url = https://github.com/nomad-coe/nomad-parser-cp2k.git
branch = master branch = master
[submodule "dependencies/parsers/crystal"] [submodule "dependencies/parsers/crystal"]
path = dependencies/parsers/crystal path = dependencies/parsers/crystal
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-crystal.git url = https://github.com/nomad-coe/nomad-parser-crystal.git
branch = nomad-fair branch = master
[submodule "dependencies/parsers/cpmd"] [submodule "dependencies/parsers/cpmd"]
path = dependencies/parsers/cpmd path = dependencies/parsers/cpmd
url = https://github.com/nomad-coe/nomad-parser-cpmd.git url = https://github.com/nomad-coe/nomad-parser-cpmd.git
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
branch = nomad-fair branch = nomad-fair
[submodule "dependencies/parsers/abinit"] [submodule "dependencies/parsers/abinit"]
path = dependencies/parsers/abinit path = dependencies/parsers/abinit
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-abinit.git url = https://github.com/nomad-coe/nomad-parser-abinit.git
branch = nomad-fair branch = master
[submodule "dependencies/parsers/orca"] [submodule "dependencies/parsers/orca"]
path = dependencies/parsers/orca path = dependencies/parsers/orca
url = https://github.com/nomad-coe/nomad-parser-orca.git url = https://github.com/nomad-coe/nomad-parser-orca.git
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
branch = master branch = master
[submodule "dependencies/parsers/elastic"] [submodule "dependencies/parsers/elastic"]
path = dependencies/parsers/elastic path = dependencies/parsers/elastic
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-elastic.git url = https://github.com/nomad-coe/nomad-parser-elastic.git
branch = nomad-fair branch = master
[submodule "dependencies/parsers/gamess"] [submodule "dependencies/parsers/gamess"]
path = dependencies/parsers/gamess path = dependencies/parsers/gamess
url = https://github.com/nomad-coe/nomad-parser-gamess.git url = https://github.com/nomad-coe/nomad-parser-gamess.git
...@@ -175,14 +175,16 @@ ...@@ -175,14 +175,16 @@
branch = master branch = master
[submodule "dependencies/parsers/gromacs"] [submodule "dependencies/parsers/gromacs"]
path = dependencies/parsers/gromacs path = dependencies/parsers/gromacs
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-gromacs.git url = https://github.com/nomad-coe/nomad-parser-gromacs.git
branch = master
[submodule "dependencies/parsers/gromos"] [submodule "dependencies/parsers/gromos"]
path = dependencies/parsers/gromos path = dependencies/parsers/gromos
url = https://github.com/nomad-coe/nomad-parser-gromos.git url = https://github.com/nomad-coe/nomad-parser-gromos.git
branch = master branch = master
[submodule "dependencies/parsers/lammps"] [submodule "dependencies/parsers/lammps"]
path = dependencies/parsers/lammps path = dependencies/parsers/lammps
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-lammps.git url = https://github.com/nomad-coe/nomad-parser-lammps.git
branch = master
[submodule "dependencies/parsers/openkim"] [submodule "dependencies/parsers/openkim"]
path = dependencies/parsers/openkim path = dependencies/parsers/openkim
url = https://github.com/nomad-coe/nomad-parser-openkim.git url = https://github.com/nomad-coe/nomad-parser-openkim.git
......
Subproject commit 52ac697cac040c7d37e960a5b529f8bc00c49f39 Subproject commit b6b9715460a414af4af433bc44a832c97319080f
Subproject commit 8b0945be756a705daf48f225f7c821f2eecc631a Subproject commit 6dfe32362b392808399fb9eba1853d522b8956bf
Subproject commit 6c8d32cd0107b0cfda9890c82240d5309c568e1f Subproject commit d43d7cb50682679728f7280be309976feb4353be
Subproject commit 18a179b508a89cfe2074d634e70448c6c5d27f2b Subproject commit 44d5861d0503976714ce1a1e09bac2aa3495ddf9
Subproject commit 956c915fe6e789103a6f793fd81d817283c93d0d Subproject commit 139ab4a5e288542f4343db3419597fdeddbde3f4
Subproject commit 2325478e13a622a04642519d9a69f0da5eaa5e65 Subproject commit bf2182de246d0b63866e8a61b94392afb8b78073
Subproject commit 261655c3aa762ba6b2066c32e51303db48d5f4d7 Subproject commit 6ff8642f195b4eab1f6284d51f455348763602b6
Subproject commit b6b2b661b29e363c41428a27ede19dcde77f63c9 Subproject commit 6ebe206cb99f5bdf008f81f7bc8e4e434414460d
...@@ -74,7 +74,7 @@ def move_submodule_to_github(path: str): ...@@ -74,7 +74,7 @@ def move_submodule_to_github(path: str):
origin = re.split(r'\t| ', origin)[1] origin = re.split(r'\t| ', origin)[1]
if 'github.com/nomad-coe' in origin: if 'github.com/nomad-coe' in origin:
print(f'Skip {path}. It already has GitHUB origin {origin}.') # print(f'Skip {path}. It already has GitHUB origin {origin}.')
return return
print(f'Moving {path} now.') print(f'Moving {path} now.')
...@@ -171,13 +171,14 @@ def move_submodule_to_github(path: str): ...@@ -171,13 +171,14 @@ def move_submodule_to_github(path: str):
def run_move_submodules_to_github(): def run_move_submodules_to_github():
working_dir = os.curdir working_dir = os.path.abspath(os.curdir)
parser_submodules = sys.argv[1:] parser_submodules = sys.argv[1:]
# if len(parser_submodules) == 0: if len(parser_submodules) == 0:
# parser_submodules = collect_submodules(filter=r'parsers') parser_submodules = [path for path, _ in collect_submodules(filter=r'parsers')]
print(parser_submodules)
for submodule in parser_submodules: for submodule in parser_submodules:
path = submodule path = submodule
os.chdir(path) os.chdir(path)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment