Skip to content

Commit

Permalink
Updated indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Jun 28, 2024
1 parent b6791d2 commit f3111c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai
metadata_content.append(fetch_json_data(metadata_download_url, token)[0])

for asset in release_details[0].get('assets', []):
# Do not index metadata
if asset['name'] == 'metadata.json':
continue

update_package = True
name_without_extension = os.path.splitext(os.path.basename(asset['name']))[0]

Expand Down

0 comments on commit f3111c3

Please sign in to comment.