We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 868c511 commit 712a95fCopy full SHA for 712a95f
1 file changed
middleware/main.py
@@ -329,8 +329,10 @@ async def main():
329
transform_publisso_to_publisso_schemaorg()
330
if sitemap["name"] == "openagrar":
331
extract_thunen_from_openagrar_metadata()
332
- if git_repo and not path.name.endswith("_native.json"):
333
- # if a git repo is set, we commit all files except those ending in _native.json
+ commit = sitemap.get("commit", True)
+ if git_repo and commit:
334
+ # if a git repo is set, commit all files except those that are explicitly
335
+ # excluded
336
commit_to_git(scraper_config.url, git_repo, path, starttime)
337
338
if git_repo:
0 commit comments