Files
galaxy/scripts
mvdbeek b55ae26068 Add toolshed metadata fixing script
Updates repository_metadata.tools with new and correct file locations.
The test toolshed moved around `file_path` multiple times since its
inception, and old revisions might point at old location. This is a
simple script that fixes the locations. It has a dry run mode that I've
run successfully:

```
----------------------------------------------------------------------
Dry run complete - no changes made to database
======================================================================
SUMMARY
======================================================================
Total RepositoryMetadata records processed: 25414
RepositoryMetadata with tools: 22497
Total tools examined: 40470
Tools with correct paths (unchanged): 3898
Tools with paths updated: 36572
  - Tool file exists on disk: 33297
  - Tool file missing (removed in later changeset): 3275
Tools with path construction errors: 0
======================================================================
```
it also write out json files for each repository as backups should
this be needed.

Closes https://github.com/galaxyproject/galaxy/issues/21454
2025-12-15 12:09:23 +01:00
..
2025-03-15 17:12:02 +00:00
2022-02-03 07:42:20 -05:00
2025-02-21 15:46:14 +00:00
2024-11-24 21:35:23 +00:00
2025-03-15 17:12:02 +00:00
2022-02-03 07:42:20 -05:00
2022-02-03 07:42:20 -05:00
2010-11-15 15:04:59 -05:00
2024-11-24 21:35:23 +00:00
2025-07-31 11:17:22 +01:00
2024-11-24 21:35:23 +00:00
2025-02-25 19:20:46 +00:00
2025-10-29 18:45:26 +00:00
2022-09-28 15:45:00 -04:00
2024-11-24 21:35:23 +00:00
2024-11-24 21:35:23 +00:00
2022-02-03 07:42:20 -05:00
2025-06-16 14:12:30 +02:00
2022-02-03 07:42:20 -05:00
2022-02-03 07:42:20 -05:00
2025-10-29 18:45:26 +00:00
2025-05-09 10:53:43 +02:00
2024-11-24 21:35:23 +00:00
2022-02-03 07:42:20 -05:00
2022-06-02 14:53:55 -04:00