fixed entries

This commit is contained in:
Trilarion
2018-06-15 15:46:07 +02:00
parent 10070e5c3b
commit 77be2ca2c3
20 changed files with 82 additions and 53 deletions

View File

@ -7,6 +7,7 @@
"https://anongit.kde.org/katomic.git",
"https://bitbucket.org/czirkoszoltan/gdash.git",
"https://bitbucket.org/dalerank/caesaria.git",
"https://bitbucket.org/rbv/ohrrpgce-svn.git",
"https://git.code.sf.net/p/arianne/marauroa",
"https://git.code.sf.net/p/arianne/stendhal",
"https://git.code.sf.net/p/autorealm/code",
@ -50,6 +51,7 @@
"https://github.com/Argentum-Online/Argentum-Online.git",
"https://github.com/Atlantis-PBEM/Atlantis.git",
"https://github.com/Attnam/ivan.git",
"https://github.com/BGCX067/fallenspire-svn-to-git.git",
"https://github.com/BackupTheBerlios/netpanzer-svn.git",
"https://github.com/CamHenlin/Roguish.git",
"https://github.com/Circular-Studios/Dash.git",
@ -58,6 +60,7 @@
"https://github.com/DeltaEngine/DeltaEngine.git",
"https://github.com/EMC23/JiGS-PHP-RPG-engine.git",
"https://github.com/EasyRPG/Player.git",
"https://github.com/Echelon9/mechcommander2-open.git",
"https://github.com/EdwardWoodhouse/Turn-of-War.git",
"https://github.com/FreeRCT/FreeRCT.git",
"https://github.com/FreezingMoon/AncientBeast.git",
@ -71,6 +74,8 @@
"https://github.com/Illarion-eV/Illarion-Server.git",
"https://github.com/Kromster80/kam_remake.git",
"https://github.com/LWJGL/lwjgl3.git",
"https://github.com/LibreGamesArchive/galaxymageredux.git",
"https://github.com/LibreGamesArchive/silvertree.git",
"https://github.com/LionsPhil/mewl.git",
"https://github.com/Lozza999/scoreos.git",
"https://github.com/LynxAbraxas/ctp2.git",
@ -98,6 +103,7 @@
"https://github.com/SWY1985/CivOne.git",
"https://github.com/Scorched-Moon/client.git",
"https://github.com/Scorched-Moon/server.git",
"https://github.com/SpaceTraderGame/SpaceTrader-Windows.git",
"https://github.com/SupSuper/OpenXcom.git",
"https://github.com/TVTower/TVTower.git",
"https://github.com/TobiasBielefeld/Simple-Solitaire.git",
@ -147,6 +153,8 @@
"https://github.com/bote-team/bote.git",
"https://github.com/brandon-rhodes/python-adventure.git",
"https://github.com/calref/cboe.git",
"https://github.com/chubakur/wizards-magic.git",
"https://github.com/chubakur/wizards-magic2.git",
"https://github.com/ciplogic/fheroes2enh.git",
"https://github.com/clintbellanger/flare-engine.git",
"https://github.com/cocos2d/cocos2d-x.git",
@ -200,6 +208,7 @@
"https://github.com/jp8900308/other-life.git",
"https://github.com/jpmalkiewicz/decker.git",
"https://github.com/jsettlers/settlers-remake.git",
"https://github.com/juanjepl/polisgame.git",
"https://github.com/jwvhewitt/dmeternal.git",
"https://github.com/jwvhewitt/gearhead-1.git",
"https://github.com/jwvhewitt/gearhead-2.git",
@ -223,6 +232,8 @@
"https://github.com/nhydock/UlDunAd.git",
"https://github.com/nicupavel/openpanzer.git",
"https://github.com/nlarn/nlarn.git",
"https://github.com/openRPGteam/openrpg-backend.git",
"https://github.com/openRPGteam/openrpg-engine.git",
"https://github.com/openfl/openfl.git",
"https://github.com/openlegend/core-rules.git",
"https://github.com/openssl/openssl.git",
@ -234,11 +245,13 @@
"https://github.com/ozkriff/zoc.git",
"https://github.com/panda3d/panda3d.git",
"https://github.com/pioneerspacesim/pioneer.git",
"https://github.com/pjotrligthart/openmoo2-hg-mirror.git",
"https://github.com/prophile/xsera.git",
"https://github.com/pygame/pygame.git",
"https://github.com/q4a/scourge.git",
"https://github.com/qirien/personal-space.git",
"https://github.com/raduprv/Eternal-Lands.git",
"https://github.com/rayjohannessen/songofalbion.git",
"https://github.com/red-eclipse/base.git",
"https://github.com/sago007/annchienta.git",
"https://github.com/scummvm/scummvm.git",
@ -249,10 +262,13 @@
"https://github.com/spring/spring.git",
"https://github.com/superpowers/superpowers-core.git",
"https://github.com/supertuxkart/stk-code.git",
"https://github.com/suprafun/aiwars.git",
"https://github.com/swig/swig.git",
"https://github.com/tales/sourceoftales.git",
"https://github.com/tales/tales-client.git",
"https://github.com/tautvilas/epoh.git",
"https://github.com/thousandparsec/tpclient-pywx.git",
"https://github.com/thousandparsec/tpserver-cpp.git",
"https://github.com/topherredden/freestars.git",
"https://github.com/triplea-game/triplea.git",
"https://github.com/ufo2000/ufo2000.git",
@ -282,6 +298,7 @@
"https://gitorious.org/turious/turious.git"
],
"svn": [
"http://svn.uktrainsim.com/svn/openrails/trunk",
"https://svn.code.sf.net/p/ageofmagic/code/",
"https://svn.code.sf.net/p/atomiks/code/",
"https://svn.code.sf.net/p/begin2/code/",

View File

@ -124,6 +124,8 @@ def run(type, urls):
folders = [os.path.join(base_folder, x) for x in folders]
os.chdir(base_folder)
for folder, url in zip(folders, urls):
if url.startswith('https://git.code.sf.net/p/'):
continue
if not os.path.isdir(folder):
clone[type](url, folder)
@ -131,7 +133,8 @@ def run(type, urls):
for folder in folders:
print('update {}'.format(os.path.basename(folder)))
if not os.path.isdir(folder):
raise Exception('folder to update not existing')
print('folder not existing, wanted to update, will skip')
continue
update[type](folder)

View File

@ -100,7 +100,7 @@ def update_readme():
readme_text = read_text(readme_file)
# compile regex for identifying the building blocks
regex = re.compile(r"(# Open Source Games\n\n)(.*)(\nA collection.*)", re.DOTALL)
regex = re.compile(r"(.*?)(\[comment\]: # \(start.*?end of autogenerated content\))(.*)", re.DOTALL)
# apply regex
matches = regex.findall(readme_text)
@ -600,6 +600,12 @@ def svn_repo(repo):
"""
if repo.startswith('https://svn.code.sf.net/p/') and repo.endswith('/code/'):
return repo
if repo.startswith('http://svn.uktrainsim.com/svn/'):
return repo
if repo is 'https://rpg.hamsterrepublic.com/source/wip':
return repo
# not svn
return None
@ -675,6 +681,8 @@ def update_primary_code_repositories():
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']:
# print('Entry "{}" unconsumed repo: {}'.format(info['title'], info[field]))
# sort them alphabetically (and remove duplicates)
for k, v in primary_repos.items():
@ -695,7 +703,7 @@ if __name__ == "__main__":
infos = assemble_infos()
# recount and write to readme
# update_readme()
update_readme()
# generate list in toc files
update_category_tocs()