# To run the script
Make sure to install the latest Python API version `openspace-api 0.1.2`
The script is located in `OpenSpace/support/assetvalidation`, the main script takes a few command line arguments
`--dir` - specify the OpenSpace directory
`--filter` - optionally supply a regex string to filter which assets to validate
`--verbose` - flag to print debug info to log and also console (default off), if off only warnings and errors are logged
`--start` - flag to start OpenSpace as a subprocess (default on) if this is off it assumes OpenSpace is already running, useful if you want to run OpenSpace via Visual Studio for example.
`--at` - specify an index to start at a specific asset
run eg:
`python main.py --dir="C:/User/Desktop/OpenSpace" --filter="examples" --verbose=True --start=False --at=35`
Limits the number of URL synchronization downloads by time stamping files for X seconds fixes (#2586).
Also, show the amount of downloaded data as soon as the download is started fix (#2460)
* Adds time validity to UrlSynchronized files (#2586)
Updated affected asset files. Satellite asset files lasts for 24h by default now. Other assets are updated to work as before. Obs timestamp is computed using UTC time.
* Code cleanup
* Update httpsynchronization.cpp
* Applied suggestions from code review
* Update multi-line comment to `//`
* Remove accidental commas in .asset files
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Fixed PR comments + bug in .asset file
* Refactor code
* Reports downloaded data as early as possible, fixes (#2460)
* More files
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Update HttpSynchronization to keep track of files downloaded (#2587)
Reads ossync file on synchronization and download files that are missing
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Apply suggestions from code review
* Fixed merge conflict errors
* Fixed asset being rejected on successful sync
* Add enum for download fail/success, sleep between download retries.
Removed comments and todos
* Fixed PR comments
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Cleanup
* CMake cleanups
* Update current year
* Update copyright header
* Use script to return list of all modules
* Update credits, license and ghoul
* Remove torrent-based synchronization downloads
* Add download URL to error message if HTTPSynchronization download fails
* Add a grace factor to the distance conversion
* Don't use scientific notation when displaying distances
* Make height map fallback layer work again
* Add documentation to joystick button bindings
* Removed grouped property headers
* Add new version number constant generated by CMake
* Make Joystick deadzone work properly
* Change the startup date on Earth to today
* Fix key modifier handling
* Add debugging indices for TreeNodeDebugging
* Fix script schedule for OsirisRex
* Do not open Mission schedule automatically
* Upload default projection texture automatically
* General code cleanup
* Fix check_style_guide warnings
* Remove .clang-format
* MacOS compile fixes
* Clang analyzer fixes