openSUSE / download.o.o

download.opensuse.org infrastructure files (mainly Yast repos)
1 stars 13 forks source link

Add repos for Leap 42.2 #18

Closed okurz closed 8 years ago

okurz commented 8 years ago

Caution: I don't have any idea what I am doing. Just bluntly applying

for i in $(ls *42.1*) ; do sed -e 's/42.1/42.2/g' -e 's/Leap_421/Leap_422/g'
    $i > ${i/42.1/42.2} ; done

which will maybe fix https://openqa.opensuse.org/tests/225803#step/upgrade_select/9 and alike.

okurz commented 8 years ago

how can I know which repos to add and which not? I checked with

for i in $(sed -n 's/^.*url>\(.*\)<\/url>/\1/p' YaST/Repos/_openSUSE_Leap_42.2_Additional.xml YaST/Repos/_openSUSE_Leap_42.2_Additional.xml.in YaST/Repos/_openSUSE_Leap_42.2_Default.xml YaST/Repos/_openSUSE_Leap_42.2_Default.xml.in YaST/Repos/openSUSE_Leap_42.2_Servers.xml YaST/Repos/openSUSE_Leap_42.2_Servers.xml.in) ; do echo -n "$i: " && curl --silent $i | grep 'Error 404' ; done

which is telling me there are some repos but many also don't exist.