Hi, community!
Is there any way to get a download URL for a specific RV version? For Example I want to have the “2021.0.1” Version
Downloading the “Current” or “Previous” version is not the way I want to deploy this software ![]()
Ok, after looong trial and error I’ve found few URLs, which work for me. Huge help was this thread.
There are actually 2 URLS - one for the current releases, and one for previous ones. As far as I can understand - 2022 == current, 2021 == previous. Here are my URLs (for windows):
- https://sg-software.ems.autodesk.com/deploy/rv/Previous_Release/rv-win64-x86-64-{version}.zip
- https://sg-software.ems.autodesk.com/deploy/rv/Current_Release/rv-win64-x86-64-{version}.zip
I hope it this could help someone ![]()
In case there are another nerds trying to deploy RV via REZ here is my rezbuild python3 script which downloads and extracts the archive (as mentioned above - it’s for Windows folks
):
import ssl
import urllib.request
import shutil
import sys
from os import environ
from os.path import join
from zipfile import ZipFile
def build(source_path, build_path, install_path, targets):
# Package version
_version = environ["REZ_BUILD_PROJECT_VERSION"]
# Download URL
src_url = f'https://sg-software.ems.autodesk.com/deploy/rv/' \
f'Current_Release/rv-win64-x86-64-{_version}.zip'
# Download target zip file
src_zip = join(build_path, 'src.zip')
# Extracted folder
zip_extracted = join(build_path, f'rv-win64-x86-64-{_version}')
# Workaround to ensure downloading via HTTPS
ssl._create_default_https_context = ssl._create_unverified_context
# Download source file
print(f'[+] Downloading: {src_url}')
urllib.request.urlretrieve(src_url, src_zip)
# Extract files
with ZipFile(src_zip, 'r') as archive:
print(f'[+] Extracting: {src_zip}')
archive.extractall(build_path)
if 'install' in targets:
# Copy source
print(f'[+] Copy source files from: {zip_extracted}')
shutil.copytree(zip_extracted, join(install_path, 'src'))
if __name__ == '__main__':
build(source_path=environ['REZ_BUILD_SOURCE_PATH'],
build_path=environ['REZ_BUILD_PATH'],
install_path=environ['REZ_BUILD_INSTALL_PATH'],
targets=sys.argv[1:])
Looks like the base URLs have changed, they used to be:
https://sg-shotgunsoftware.s3-accelerate.amazonaws.com/deploy/rv/Current_Release/
https://sg-shotgunsoftware.s3-accelerate.amazonaws.com/deploy/rv/Previous_Release/
which apparently still work, but the URLs under the autodesk.com domain seem potentially more robust.
I still wish:
- there wasn’t an arbitrary distinction between Current_Release and Previous_Release exposed in the download path, which requires additional logic in a download script to figure out (reliably?) the path to use to download a specific release
- there was a way to programmatically figure out the latest release / available releases that doesn’t involve screen scraping the downloads page at ShotGrid | RV Download
- there was an RSS feed announcing all M&E product releases to trigger auto download of new versions
Thanks!
JF
I think this cryptic download URLs are on purpose. As many things at Autodesk - to make our lifes horrible
There is nothing else which would explain those URLs in my opinion ![]()