added description of template to readme, some cvs to git conversions
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
update.py
|
||||
---------
|
||||
|
||||
Clones and/or pulls many git repositories from the open source games entries, so that one has an archive of them.
|
||||
|
||||
Currently requires at least 55 GB space!
|
||||
Currently requires at least 100 GB space!
|
||||
|
||||
Run update.py to update the archive. URLs are stored in archives.json.
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"git": [
|
||||
"http://git.artsoft.org/rocksndiamonds.git",
|
||||
"http://git.maxr.org/maxr/maxr.git",
|
||||
"http://git.pond.sub.org/empserver",
|
||||
"http://repo.or.cz/openal-soft.git",
|
||||
"https://anongit.freedesktop.org/git/pkg-config.git",
|
||||
@ -90,6 +91,8 @@
|
||||
"https://github.com/NetHack/NetHack.git",
|
||||
"https://github.com/Nop90-Switch/Meritous-Switch.git",
|
||||
"https://github.com/OGRECave/ogre.git",
|
||||
"https://github.com/OneSleepyDev/boswars_osd.git",
|
||||
"https://github.com/OneSleepyDev/boswars_osd_archive.git",
|
||||
"https://github.com/OpenApoc/OpenApoc.git",
|
||||
"https://github.com/OpenDUNE/OpenDUNE.git",
|
||||
"https://github.com/OpenMW/openmw.git",
|
||||
@ -142,7 +145,6 @@
|
||||
"https://github.com/Zetawar/zetawar.git",
|
||||
"https://github.com/Zukero/andors-trail.git",
|
||||
"https://github.com/aburch/simutrans.git",
|
||||
"https://github.com/acahir/moria.git",
|
||||
"https://github.com/akarnokd/open-ig.git",
|
||||
"https://github.com/alphaonex86/CatchChallenger.git",
|
||||
"https://github.com/anael-seghezzi/Maratis-4.git",
|
||||
@ -169,6 +171,7 @@
|
||||
"https://github.com/delight-im/OpenSoccer.git",
|
||||
"https://github.com/dmecke/OpenSoccerStar.git",
|
||||
"https://github.com/doxygen/doxygen.git",
|
||||
"https://github.com/dungeons-of-moria/umoria.git",
|
||||
"https://github.com/ec429/harris.git",
|
||||
"https://github.com/egoboo/egoboo.git",
|
||||
"https://github.com/endless-sky/endless-sky.git",
|
||||
@ -308,6 +311,7 @@
|
||||
"https://gitlab.com/Trilarion/civilwar.git",
|
||||
"https://gitlab.com/Trilarion/coltoo.git",
|
||||
"https://gitlab.com/Trilarion/conquests.git",
|
||||
"https://gitlab.com/Trilarion/crimson.git",
|
||||
"https://gitlab.com/Trilarion/devana.git",
|
||||
"https://gitlab.com/Trilarion/digitalalovestory.git",
|
||||
"https://gitlab.com/Trilarion/dragon-history.git",
|
||||
@ -344,6 +348,7 @@
|
||||
"https://gitlab.com/Trilarion/wargamer.git",
|
||||
"https://gitlab.com/Trilarion/watomic.git",
|
||||
"https://gitlab.com/Trilarion/worldofheroes.git",
|
||||
"https://gitlab.com/Trilarion/xarchon.git",
|
||||
"https://gitlab.com/Trilarion/xconq.git",
|
||||
"https://gitlab.com/Trilarion/zangband.git",
|
||||
"https://gitlab.com/evol/evol-all.git",
|
||||
|
@ -654,17 +654,17 @@ def update_primary_code_repositories():
|
||||
|
||||
if not consumed:
|
||||
unconsumed_entries.append([info['title'], info[field]])
|
||||
#if info['code repository']:
|
||||
# print('Entry "{}" unconsumed repo: {}'.format(info['title'], info[field]))
|
||||
if not info['code repository']:
|
||||
if info['code repository']:
|
||||
print('Entry "{}" unconsumed repo: {}'.format(info['title'], info[field]))
|
||||
#if not info['code repository']:
|
||||
# print('Entry "{}" unconsumed repo: {}'.format(info['title'], info[field]))
|
||||
|
||||
# sort them alphabetically (and remove duplicates)
|
||||
for k, v in primary_repos.items():
|
||||
primary_repos[k] = sorted(set(v))
|
||||
|
||||
# write them to tools/git
|
||||
json_path = os.path.join(games_path, os.path.pardir, 'tools', 'archive', 'archives.json')
|
||||
json_path = os.path.join(games_path, os.path.pardir, 'tools', 'archives.json')
|
||||
text = json.dumps(primary_repos, indent=1)
|
||||
write_text(json_path, text)
|
||||
|
||||
|
Reference in New Issue
Block a user