# prepare related global variables
workspace = os.getenv('WORKSPACE')
-basic_url= os.getenv('URL_PUBLIC_REPO_BASE') + '/snapshot/tizen/'
+basic_url= os.getenv('URL_PUBLIC_REPO_BASE') + '/snapshots/tizen/'
gbs_meta_default_profile = os.getenv('GBS_META_DEFAULT_PROFILE')
gbs_meta_tizen_base_prj = os.getenv('GBS_META_TIZEN_BASE_PRJ')
gbs_meta_support_tizen_ver = os.getenv('GBS_META_SUPPORT_TIZEN_VER')
for ref_profile in ref_list:
profile = ref_profile['profile']
t_ver = ref_profile['t_ver']
+ ref_snapshot_url = ref_profile['ref_snapshot_url']
gbs_conf_text += '\n############# '+ t_ver+profile+' #############\n'
for repository in ref_profile['repository']:
gbs_conf_text += '[repo.'+t_ver+profile+'_'+repository+']\n'
- gbs_conf_text += 'url = '+basic_url+t_ver+profile+'/latest/repos/'+repository+'/packages/\n'
+ gbs_conf_text += 'url = '+ref_snapshot_url+'repos/'+repository+'/packages/\n'
gbs_conf_text += '[repo.'+t_ver+profile+'_'+repository+'_debug]\n'
- gbs_conf_text += 'url = '+basic_url+t_ver+profile+'/latest/repos/'+repository+'/debug/\n\n'
+ gbs_conf_text += 'url = '+ref_snapshot_url+'repos/'+repository+'/debug/\n\n'
#write gbs_conf_text to default gbs_conf_file, which is scm/meta/gbs-config/gbs.conf
print '==================================================\n=========== default gbs.conf file==========\n==================================================\n'