diff --git a/scripts/index.py b/scripts/index.py index c15d052eb..7d98eb081 100644 --- a/scripts/index.py +++ b/scripts/index.py @@ -518,8 +518,11 @@ def str2bool(v): db_version = remove_duplicate_indexed_files( es, args.select_index ) + # Index microchip device family packs - index_microchip_packs(es, args.select_index) + if 'live' not in args.select_index: + # TODO - uncomment once LIVE test is confirmed to work + index_microchip_packs(es, args.select_index) # Now index the new release index_release_to_elasticsearch( diff --git a/scripts/reupload_databases.py b/scripts/reupload_databases.py index 25c051d4a..1ab03d017 100644 --- a/scripts/reupload_databases.py +++ b/scripts/reupload_databases.py @@ -1027,7 +1027,7 @@ async def main( ## Step 11 add microchip info to programmers table custom_link = 'https://packs.download.microchip.com/index.idx' - if not mcus_only: + if not mcus_only and 'Test' == index: # Download the index file xml_content = MCHP.download_index_file(custom_link) converted_data, item_list_unused = MCHP.convert_idx_to_json(xml_content)