We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 156485e commit f8d6da0Copy full SHA for f8d6da0
scripts/sync_db.py
@@ -127,6 +127,15 @@ def run():
127
except Exception:
128
parsed_date = None
129
130
+ # Manually flag an entry as Open Source if it has an explicit license
131
+ # set or if it has a valid git repository
132
+ if "Open Source" not in data["tags"]:
133
+ if "repository" in data:
134
+ if data["repository"] != "":
135
+ data["tags"].append("Open Source")
136
+ if "gameLicense" in data:
137
138
+
139
# Returns an (entry, bool) tuple. Here we don't need the object that was
140
# either updated or created, we only want to know if it was created or not
141
_, created = Entry.objects.update_or_create(
0 commit comments