You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# location of targets file for processing gbpdistro filesREP3_TARGETS_URL='https://raw.githubusercontent.com/ros/rosdistro/master/releases/targets.yaml'
...
iftargets_urlisNone:
targets_url=REP3_TARGETS_URLtry:
f=urlopen_gzip(targets_url, timeout=DOWNLOAD_TIMEOUT)
and there is no way to change it when githubusercontent.com is not accessible.
This is not the same case as to FUERTE_GBPDISTRO_URL. It seems that FUERTE_GBPDISTRO_URL is also hardcoded but it's actually not. FUERTE_GBPDISTRO_URL is only used in testing code.
# location of an example gbpdistro file for reference and testing
FUERTE_GBPDISTRO_URL = 'https://raw.githubusercontent.com/ros/rosdistro/' \
'master/releases/fuerte.yaml'
...
rosdep_data = download_gbpdistro_as_rosdep_data(source.url)
In fact source.url can be changed by editing /etc/ros/rosdep/sources.list.d/20-default.list
I'd like to create a PR and use an env value to change the default value of targets_url, which is similar to ROSDISTRO_INDEX_URL in rosdistro.
Any comment?
The text was updated successfully, but these errors were encountered:
Hi,
Currently
REP3_TARGETS_URL
is hardcoded, asand there is no way to change it when
githubusercontent.com
is not accessible.This is not the same case as to
FUERTE_GBPDISTRO_URL
. It seems thatFUERTE_GBPDISTRO_URL
is also hardcoded but it's actually not.FUERTE_GBPDISTRO_URL
is only used in testing code.In fact
source.url
can be changed by editing/etc/ros/rosdep/sources.list.d/20-default.list
I'd like to create a PR and use an env value to change the default value of
targets_url
, which is similar toROSDISTRO_INDEX_URL
inrosdistro
.Any comment?
The text was updated successfully, but these errors were encountered: