Accepting request 155457 from Base:System
- Improve supplementary script translation-update-upstream-to-translation-update.sh to fit well for SLE, openSUSE and SLE service packs. Note for 12.3: This change just provides up-to-date supplementary script for generating of translation-update-upstream-to-translation-update, which I want to submit to 12.3 as well. It will have no impact to binary RPM, just will provide actual source RPM. OBS-URL: https://build.opensuse.org/request/show/155457 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/translation-update-upstream?expand=0&rev=33
This commit is contained in:
commit
c2deec5922
@ -45,8 +45,12 @@ cp -a ../../po-mandatory-full po-mandatory
|
||||
cp -a ../../po-full po
|
||||
cd ../..
|
||||
|
||||
osc ${OSC_APIURL:+--apiurl=$OSC_APIURL} ls "${OSC_REPOSITORIES[1]}" >${0%.sh}-rebuilt.lst
|
||||
osc ${OSC_APIURL:+--apiurl=$OSC_APIURL} ls "${OSC_REPOSITORIES[0]}" >${0%.sh}-outdated.lst
|
||||
osc ${OSC_APIURL:+--apiurl=$OSC_APIURL} ls "${OSC_REPOSITORIES[OSC_MAIN_INDEX]}" >${0%.sh}-rebuilt.lst
|
||||
if test -n "$OSC_PROPOSED_INDEX" ; then
|
||||
osc ${OSC_APIURL:+--apiurl=$OSC_APIURL} ls "${OSC_REPOSITORIES[OSC_PROPOSED_INDEX]}" >${0%.sh}-outdated.lst
|
||||
else
|
||||
echo -n '' >${0%.sh}-outdated.lst
|
||||
fi
|
||||
|
||||
SERIAL=0
|
||||
for TLST in *.tlst ; do
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 20:30:28 CET 2013 - sbrabec@suse.cz
|
||||
|
||||
- Improve supplementary script
|
||||
translation-update-upstream-to-translation-update.sh to fit well
|
||||
for SLE, openSUSE and SLE service packs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 16:51:59 CET 2013 - sbrabec@suse.cz
|
||||
|
||||
|
@ -4,5 +4,11 @@
|
||||
# osc repositories with packages (space separated list in parentheses, first takes precedence)
|
||||
OSC_REPOSITORIES=( openSUSE:12.3 openSUSE:Factory )
|
||||
|
||||
# OSC_REPOSITORIES array index of the main (rebuilt with current translation-update-upstream) repository (starts with 0).
|
||||
OSC_MAIN_INDEX=0
|
||||
|
||||
# OSC_REPOSITORIES array index of the repository with proposed translation updates that don't appear in the main product (starts with 0). Keep empty if there is no such repository.
|
||||
OSC_PROPOSED_INDEX=
|
||||
|
||||
# osc server, empty for using of the osc default
|
||||
OSC_APIURL=
|
||||
|
@ -100,7 +100,7 @@ esac
|
||||
rm -rf UPSTREAM
|
||||
mkdir UPSTREAM
|
||||
if ! test -d STAMPS ; then
|
||||
mkdir -p pot pot-tuu pot-diff
|
||||
mkdir -p pot pot-tuu pot-diff po-full po-mandatory-full
|
||||
mkdir OSC PACKAGES UPDATE STAMPS
|
||||
rm -f upstream-collect.log
|
||||
rm -f upstream-collect.domain-map.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user