You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2014/07/10 11:11:14 UTC

svn commit: r1609427 - in /openoffice/devtools/genUpdateFeed: ./ AdditionalTextForMacOSX.txt LanguageCodeMap.txt ProductInfos.txt feed-entry-template.Update feed-prefix.Update generate-update-feed.sh

Author: orw
Date: Thu Jul 10 09:11:14 2014
New Revision: 1609427

URL: http://svn.apache.org/r1609427
Log:
bash script inclusive needed meta data to generate Update Feeds


Added:
    openoffice/devtools/genUpdateFeed/
    openoffice/devtools/genUpdateFeed/AdditionalTextForMacOSX.txt
    openoffice/devtools/genUpdateFeed/LanguageCodeMap.txt
    openoffice/devtools/genUpdateFeed/ProductInfos.txt
    openoffice/devtools/genUpdateFeed/feed-entry-template.Update   (with props)
    openoffice/devtools/genUpdateFeed/feed-prefix.Update   (with props)
    openoffice/devtools/genUpdateFeed/generate-update-feed.sh   (with props)

Added: openoffice/devtools/genUpdateFeed/AdditionalTextForMacOSX.txt
URL: http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/AdditionalTextForMacOSX.txt?rev=1609427&view=auto
==============================================================================
--- openoffice/devtools/genUpdateFeed/AdditionalTextForMacOSX.txt (added)
+++ openoffice/devtools/genUpdateFeed/AdditionalTextForMacOSX.txt Thu Jul 10 09:11:14 2014
@@ -0,0 +1,45 @@
+# Additional text for installed OpenOffice instance on Mac OS X
+#
+
+en-US,Only for Mac OS X versions 10.7 or newer
+ar,فقط لإصدارات نظام التشغيل Mac OS X 10.7 أو أحدث
+ast,Only for Mac OS X versions 10.7 or newer
+bg,Само за Mac OS X 10.7 или по-нова версия
+ca,Only for Mac OS X versions 10.7 or newer
+ca-XV,Only for Mac OS X versions 10.7 or newer
+cs,Pouze pro Mac OS verze 10.7 a novější
+da,Kun for Mac OS X version 10.7 eller nyere
+de,Nur für Mac OS X-Versionen 10.7 oder neuer
+el,Μόνο για Mac OS X εκδόσεις 10.7 ή νεότερο
+en-GB,Only for Mac OS X versions 10.7 or newer
+es,Sólo para versiones de Mac OS X 10.7 o más reciente
+eu,Mac OS X bertsioak soilik 10.7 edo berriagoa
+fi,Vain Mac OS X-versiot 10.7 tai uudempi
+fr,Seulement pour les versions Mac OS X 10.7 ou plus récent
+gd,Only for Mac OS X versions 10.7 or newer
+gl,Só para as versións de Mac OS X 10.7 ou superior
+he,רק עבור גרסאות Mac OS X 10.7 או חדש יותר
+hi,मैक ओएस एक्स संस्करणों के लिए 10.7 या नए
+hu,Csak a Mac OS X 10.7 vagy újabb verzió
+it,Solo per Mac OS X 10.7 o superiore
+ja,唯一のMac OS Xバージョン10.7以降
+km,សម្រាប់តែកំណែ Mac OS X 10.7 ឬថ្មីជាង
+ko,오직 맥 OS X 버전 10.7 이상 버전
+lt,Tik Mac OS X versijos 10.7 arba naujesnė
+nb,Bare for Mac OS X versjon 10.7 eller nyere
+nl,Alleen voor Mac OS X-versies 10.7 of nieuwer
+pl,Tylko dla wersji Mac OS X 10.7 lub nowszy
+pt,Somente para as versões do Mac OS X 10.7 ou mais recente
+pt-BR,Somente para as versões do Mac OS X 10.7 ou mais recente
+ru,Только для Mac OS X версий 10.7 или новее
+sk,Iba pre Mac OS verzie 10.7 a novšie
+sl,Samo za Mac OS X 10.7 ali novejši
+sr,Само за Мац ОС Кс 10.7 или новији верзије
+sv,Endast för Mac OS X-versioner 10.7 eller nyare
+ta,ஒரே Mac OS X, பதிப்புகள் 10.7 அல்லது புதிய
+th,เฉพาะสำหรับ Mac OS X รุ่น 10.7 หรือใหม่กว่า
+tr,Sadece Mac OS X sürümleri için 10.7 veya daha yeni
+vi,Chỉ cho các phiên bản Mac OS X 10.7 hoặc mới hơn
+zh-CN,仅适用于Mac OS X版本10.7或更高版本
+zh-TW,僅適用於Mac OS X版本10.7或更高版本
+

Added: openoffice/devtools/genUpdateFeed/LanguageCodeMap.txt
URL: http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/LanguageCodeMap.txt?rev=1609427&view=auto
==============================================================================
--- openoffice/devtools/genUpdateFeed/LanguageCodeMap.txt (added)
+++ openoffice/devtools/genUpdateFeed/LanguageCodeMap.txt Thu Jul 10 09:11:14 2014
@@ -0,0 +1,51 @@
+# Map of language codes
+#
+# Format:
+# LANGUAGECODE,LANGUAGE,DOWNLOADURL
+#
+# Legend:
+# LANGUAGECODE  Language code of an released language
+# LANGUAGE      Human-readable language name
+# DOWNLOADURL   optional URL the user is guided to for corresponding package in the named language
+
+en-US,English (US)
+ar,Arabic
+ast,Asturian
+bg,Bulgarian
+ca,Catalan
+ca-XV,Catalan (Valencia AVL)
+cs,Czech,http://www.openoffice.org/cs/download
+da,Danish
+de,German,http://www.openoffice.org/de
+el,Greek
+en-GB,English (British)
+es,Spanish,http://www.openoffice.org/es/descargar
+eu,Basque
+fi,Finnish
+fr,French,http://www.openoffice.org/fr/Telecharger
+gd,Gaelic (Scottish)
+gl,Galician
+he,Hebrew
+hi,Hindi
+hu,Hungarian
+it,Italian,http://www.openoffice.org/it/download
+ja,Japanese,http://www.openoffice.org/ja/download
+km,Khmer
+ko,Korean
+lt,Lituanian
+nb,Norwegian (Bokmål)
+nl,Dutch,http://www.openoffice.org/nl/downloaden.html
+pl,Polish
+pt,Portuguese (European),http://www.openoffice.org/pt
+pt-BR,Portuguese (Brazilian)
+ru,Russian
+sk,Slovak,http://www.openoffice.org/sk/download
+sl,Slovenian
+sr,Serbian (Cyrillic)
+sv,Swedish
+ta,Tamil
+th,Thai
+tr,Turkish,http://www.openoffice.org/tr
+vi,Vietnamese
+zh-CN,Chinese (simplified),http://www.openoffice.org/zh-cn
+zh-TW,Chinese (traditional),http://www.openoffice.org/zh-tw

Added: openoffice/devtools/genUpdateFeed/ProductInfos.txt
URL: http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/ProductInfos.txt?rev=1609427&view=auto
==============================================================================
--- openoffice/devtools/genUpdateFeed/ProductInfos.txt (added)
+++ openoffice/devtools/genUpdateFeed/ProductInfos.txt Thu Jul 10 09:11:14 2014
@@ -0,0 +1,38 @@
+# Information about the released AOO versions
+#
+# Format:
+# VERSION PRODUCTNAME BUILDID DOWNLOADURL LANGUAGECODE LANGUAGECODE ...
+#
+# Legend:
+# VERSION       Version number of the product
+# PRODUCTNAME   Product name as given in the version.ini resp. versionrc file of the installation
+# BUILDID       BuildId  also given in the version.ini resp. versionrc file of the installation
+# DOWNLOADURL   Default URL the user is guided to for corresponding packages
+# LANGUAGECODE  Language code of an released language
+
+3.4.0 OpenOffice.org_3 9590 http://www.openoffice.org/download/other-341.html en-US ar cs es gl hu it ja nl pt-BR ru zh-CN zh-TW
+
+
+3.4.1 OpenOffice.org_3 9593 http://www.openoffice.org/download/other-341.html en-US ar ast cs da de en-GB es eu fi fr gd gl hu it ja km ko nb nl pl pt-BR ru sk sl sv zh-CN zh-TW
+
+
+4.0.0 OpenOffice_4 9702 http://www.openoffice.org/download en-US ast cs de el en-GB es fi fr gd gl hu it ja ko nl pt pt-BR ru sk sl ta zh-CN
+
+
+4.0.1 OpenOffice_4 9714 http://www.openoffice.org/download en-US ast cs de el en-GB es eu fi fr gd gl hu it ja km ko lt nl pl pt pt-BR ru sk sl sr sv ta tr vi zh-CN zh-TW
+
+
+4.1.0 OpenOffice_4 9764 http://www.openoffice.org/download en-US ast bg cs da de el en-GB es eu fi fr gd gl he hi hu it ja km ko lt nb nl pl pt pt-BR ru sk sl sr sv ta th tr vi zh-CN zh-TW
+
+# temporary entry for 4.1.1 - BUILDID has to be corrected; list of LANGUAGECODEs has to be corrected
+4.1.1 OpenOffice_4 9772 http://www.openoffice.org/download en-US ast bg ca ca-XV cs da de el en-GB es eu fi fr gd gl he hi hu it ja km ko lt nb nl pl pt pt-BR ru sk sl sr sv ta th tr vi zh-CN zh-TW
+
+
+
+# Product names for former OpenOffice versions
+3.2.0 OpenOffice.org_3
+3.2.1 OpenOffice.org_3
+3.3.0 OpenOffice.org_3
+
+
+# end of file

Added: openoffice/devtools/genUpdateFeed/feed-entry-template.Update
URL: http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/feed-entry-template.Update?rev=1609427&view=auto
==============================================================================
--- openoffice/devtools/genUpdateFeed/feed-entry-template.Update (added)
+++ openoffice/devtools/genUpdateFeed/feed-entry-template.Update Thu Jul 10 09:11:14 2014
@@ -0,0 +1,16 @@
+    <!-- %LANGUAGE% - %PLATFORMNAME% -->
+    <entry>
+        <title>Update available</title>
+        <category term="%PRODUCTNAME%_%LANGUAGECODE%" label="Apache OpenOffice update"/>
+        <summary>%ADDITIONALTEXT%</summary>
+        <content type="application/xml">
+            <inst:description xmlns:inst="http://installation.openoffice.org/description">
+                <inst:id>%PRODUCTNAME%_%LANGUAGECODE%</inst:id>
+                <inst:version>%NEWVERSION%</inst:version>
+                <inst:buildid>%NEWBUILDID%</inst:buildid>
+                <inst:os>%PLATFORM%</inst:os>
+                <inst:arch>%ARCHITECTURECODE%</inst:arch>
+                <inst:update type="text/html" src="%DOWNLOADURL%?utm_source=%DOWNLOADCODE%_%LANGUAGECODE%&amp;utm_medium=Client&amp;utm_campaign=Upgrade"/>
+            </inst:description>
+        </content>
+    </entry>

Propchange: openoffice/devtools/genUpdateFeed/feed-entry-template.Update
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: openoffice/devtools/genUpdateFeed/feed-prefix.Update
URL: http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/feed-prefix.Update?rev=1609427&view=auto
==============================================================================
--- openoffice/devtools/genUpdateFeed/feed-prefix.Update (added)
+++ openoffice/devtools/genUpdateFeed/feed-prefix.Update Thu Jul 10 09:11:14 2014
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
+    <title>Update Feed for %INSTALLED% instances</title>
+    <updated>%UPDATED%</updated>
+    <author>
+        <name>Apache OpenOffice project</name>
+        <uri>http://openoffice.org</uri>
+    </author>
+

Propchange: openoffice/devtools/genUpdateFeed/feed-prefix.Update
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: openoffice/devtools/genUpdateFeed/generate-update-feed.sh
URL: http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/generate-update-feed.sh?rev=1609427&view=auto
==============================================================================
--- openoffice/devtools/genUpdateFeed/generate-update-feed.sh (added)
+++ openoffice/devtools/genUpdateFeed/generate-update-feed.sh Thu Jul 10 09:11:14 2014
@@ -0,0 +1,241 @@
+#!/bin/bash
+#
+# bash script to generate the Update Feeds requested by installed AOO/OOo instance via HTTP/HTTPS
+# to check, if a new AOO version is available for the requesting AOO/OOo instance
+#
+# Needed meta data:
+# - information about released AOO/OOo versions - found in file "ProductInfos.txt"
+# - information about the languages for which an AOO release exists - found in file "LanguageCodeMap.txt"
+# - XML template for a feed entry - found in file "feed-entry-template.Update"
+# - XML prefix of the Update Feed - found in file "feed-prefix.Update"
+# - translations for string "Only for Mac OS X versions 10.7 or newer" - found in file "AdditionalTextForMacOSX.txt"
+#
+
+
+# check arguements
+if [ ${#@} -ne 2 ]; then
+    echo Generate Update Feed for installed AOO/OOo instances
+    echo Usage: $0 [version accessing the Product Update Feed] [new version]
+    echo Output file: check.Update.[version accessing the Product Update Feed]-[new version]
+    exit
+fi
+
+
+INSTALLEDVERSION=$1
+RELEASE=$2
+echo Generate Update Feed for installed $INSTALLEDVERSION OpenOffice instances to upgrade to $RELEASE
+echo
+
+
+# read product information about release AOO/OOo versions
+echo -n Reading information about released AOO/OOo versions...
+PRODUCTINFO="ProductInfos.txt"
+if [ ! -e $PRODUCTINFO ];
+then
+    echo File $PRODUCTINFO is missing;
+    exit;
+fi
+
+declare -A productname;
+declare -A productbuildid;
+declare -A productdownloadurl;
+declare -A langlatestrelease;
+while read productinfoline
+do
+    # skip empty lines and comments
+    if [[ -n $productinfoline ]] && [[ ${productinfoline:0:1} != "#" ]]; then
+        idx=0;
+        declare version
+        for data in $productinfoline;
+        do
+            if [ $idx -eq 0 ]; then
+                version=$data
+                # skip product versions released after the given $RELEASE
+                if [[ $version > $RELEASE ]]; then
+                    break
+                fi
+            elif [ $idx -eq 1 ]; then
+                productname[$version]=$data
+            elif [ $idx -eq 2 ]; then
+                productbuildid[$version]=$data
+            elif [ $idx -eq 3 ]; then
+                productdownloadurl[$version]=$data
+            else
+                langlatestrelease[$data]=$version
+            fi
+            let idx++;
+        done
+    fi
+done < $PRODUCTINFO
+sortedlanglist=( $(echo ${!langlatestrelease[*]} | tr ' ' '\n' | sort | tr '\n' ' ') )
+echo done
+
+
+# read language code map
+echo -n Reading information about languages...
+LANGMAP="LanguageCodeMap.txt"
+if [ ! -e $LANGMAP ];
+then
+    echo File $LANGMAP is missing;
+    exit;
+fi
+
+declare -A langname
+declare -A langdownloadurl
+while read langcodemapline
+do
+    # skip empty lines and comments
+    if [[ -n $langcodemapline ]] && [[ ${langcodemapline:0:1} != "#" ]]; then
+        idx=0;
+        declare langcode
+        oldIFS=$IFS
+        IFS=,
+        for data in $langcodemapline; do
+            if [ $idx -eq 0 ]; then
+                langcode=$data
+            elif [ $idx -eq 1 ]; then
+                langname[$langcode]=$data
+            elif [ $idx -eq 2 ]; then
+                langdownloadurl[$langcode]=$data
+            fi
+            let idx++;
+        done
+        IFS=$oldIFS
+    fi
+done < $LANGMAP
+echo done
+
+# read additional text for Mac OS X
+echo -n Reading translations for string [Only for Mac OS X versions 10.7 or newer]...
+ADDTEXTMACOSX="AdditionalTextForMacOSX.txt"
+if [ ! -e $ADDTEXTMACOSX ];
+then
+    echo File $ADDTEXTMACOSX is missing;
+    exit;
+fi
+
+declare -A addtextformac
+while read addtextformacline
+do
+    # skip empty lines and comments
+    if [[ -n $addtextformacline ]] && [[ ${addtextformacline:0:1} != "#" ]]; then
+        idx=0;
+        declare langcode
+        oldIFS=$IFS
+        IFS=,
+        for data in $addtextformacline; do
+            if [ $idx -eq 0 ]; then
+                langcode=$data
+            elif [ $idx -eq 1 ]; then
+                addtextformac[$langcode]=$data
+            fi
+            let idx++;
+        done
+        IFS=$oldIFS
+    fi
+done < $ADDTEXTMACOSX
+echo done
+
+# generate Update Feed
+echo
+echo start generation of Update Feed
+
+FEED="check.Update."$INSTALLEDVERSION"-"$RELEASE
+
+if [ ! -e output ];
+then
+    mkdir output
+fi
+echo -n Update Feed $FEED will be found in " "
+cd output
+
+declare platforms=(Windows MacOSX Linux Linux)
+declare architectures
+declare platformnames
+if [[ $INSTALLEDVERSION > "4.0.1" ]]; then
+    architectures=(x86 X86_64 x86 X86_64)
+    platformnames=('Windows' 'Mac OS X 64bit' 'Linux 32bit' 'Linux 64bit')
+else
+    architectures=(x86 x86 x86 X86_64)
+    platformnames=('Windows' 'Mac OS X' 'Linux 32bit' 'Linux 64bit')
+fi
+
+FEED="check.Update."$INSTALLEDVERSION"-"$RELEASE
+if [ -e $FEED ]; then
+    rm $FEED
+fi
+cat ../feed-prefix.Update | sed "s:%INSTALLED%:$INSTALLEDVERSION:g" | sed "s|%UPDATED%|$(date -u) UTC|g" > $FEED
+
+TEMPLATE="../feed-entry-template.Update"
+if [ ! -e $TEMPLATE ]; then
+    echo File $TEMPLATE is missing;
+    exit;
+fi
+WORKTEMPLATE="working-template"
+WORKING="working"
+
+# loop on the languages
+for langidx in ${!sortedlanglist[*]}
+do
+    echo -n feed entries for language ${sortedlanglist[$langidx]} - ${langname[${sortedlanglist[$langidx]}]}
+
+    if [[ ${langlatestrelease[${sortedlanglist[$langidx]}]} < $INSTALLEDVERSION ]]; then
+        echo ..skipped as it its latest release was ${langlatestrelease[${sortedlanglist[$langidx]}]}
+        continue
+    fi
+
+    cp $TEMPLATE $WORKTEMPLATE
+    sed "s/%LANGUAGE%/${langname[${sortedlanglist[$langidx]}]}/g" -i $WORKTEMPLATE
+    sed "s/%LANGUAGECODE%/${sortedlanglist[$langidx]}/g" -i $WORKTEMPLATE
+    sed "s/%PRODUCTNAME%/${productname[$INSTALLEDVERSION]}/g" -i $WORKTEMPLATE
+
+    echo -n .
+
+    declare newversion=${langlatestrelease[${sortedlanglist[$langidx]}]}
+    declare newbuildid=${productbuildid[$newversion]}
+    declare downloadurl
+    if [[ $newversion == $RELEASE ]] && [[ -n ${langdownloadurl[${sortedlanglist[$langidx]}]} ]]; then
+        downloadurl=${langdownloadurl[${sortedlanglist[$langidx]}]}
+    else
+        downloadurl=${productdownloadurl[${langlatestrelease[${sortedlanglist[$langidx]}]}]}
+    fi
+    if [[ $INSTALLEDVERSION < "4.0.0" ]]; then
+        newversion="- Apache OpenOffice "$newversion
+    fi
+    sed "s/%NEWVERSION%/$newversion/g" -i $WORKTEMPLATE
+    sed "s/%NEWBUILDID%/$newbuildid/g" -i $WORKTEMPLATE
+    sed "s|%DOWNLOADURL%|$downloadurl|g" -i $WORKTEMPLATE
+
+    downloadcode=$(echo $INSTALLEDVERSION | tr '.' '_')
+    if [[ $INSTALLEDVERSION == "3.4.0" ]] || [[ $INSTALLEDVERSION > "3.4.0" ]]; then
+        downloadcode=AOO$downloadcode
+    else
+        downloadcode=OOo$downloadcode
+    fi
+    sed "s/%DOWNLOADCODE%/$downloadcode/g" -i $WORKTEMPLATE
+
+    echo -n .
+
+    declare addtext
+    for i in {0..3}
+    do
+        cp $WORKTEMPLATE $WORKING
+        sed "s/%PLATFORMNAME%/${platformnames[$i]}/g" -i $WORKING
+        sed "s/%PLATFORM%/${platforms[$i]}/g" -i $WORKING
+        sed "s/%ARCHITECTURECODE%/${architectures[$i]}/g" -i $WORKING
+        addtext=""
+        if [[ ${platforms[$i]} == "MacOSX" ]] && [[ $RELEASE > "4.0.1" ]] && [[ ${langlatestrelease[${sortedlanglist[$langidx]}]} == $RELEASE ]]; then
+            addtext=${addtextformac[${sortedlanglist[$langidx]}]}
+        fi
+        sed "s/%ADDITIONALTEXT%/$addtext/g" -i $WORKING
+        cat $WORKING >> $FEED
+        rm $WORKING
+        echo -n .
+    done
+    echo
+    rm $WORKTEMPLATE
+    echo >> $FEED
+    echo >> $FEED
+done
+echo "</feed>" >> $FEED
+# end of file

Propchange: openoffice/devtools/genUpdateFeed/generate-update-feed.sh
------------------------------------------------------------------------------
    svn:executable = *



Re: [RELEASE, TOOLS] bash script to generate Update Feed

Posted by Andrea Pescetti <pe...@apache.org>.
On 04/09/2014 Oliver-Rainer Wittmann wrote:
> On 29.08.2014 22:54, Andrea Pescetti wrote:
>> OK, so shall we put something at
>> http://installation.openoffice.org/description
>> so that it contains some useful information? ...
> Yes, this makes sense.

Done.

Andrea

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [RELEASE, TOOLS] bash script to generate Update Feed

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 29.08.2014 22:54, Andrea Pescetti wrote:
> On 22/08/2014 Oliver-Rainer Wittmann wrote:
>> I figured out that the Update Service code expects this URI as the XML
>> namespace URI for the Update Feed entries.
>
> OK, so shall we put something at
> http://installation.openoffice.org/description
> so that it contains some useful information? Something like
>    ---
> This is the XML namespace URI for the Update Feed entries for Apache
> OpenOffice. You can find all details about the expected syntax at
> https://wiki.openoffice.org/wiki/Update_Service
>    ---
> (and of course if source code expected it, reverting my change was just
> right).
>

Yes, this makes sense.

Best regards, Oliver.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [RELEASE, TOOLS] bash script to generate Update Feed

Posted by Andrea Pescetti <pe...@apache.org>.
On 22/08/2014 Oliver-Rainer Wittmann wrote:
> I figured out that the Update Service code expects this URI as the XML
> namespace URI for the Update Feed entries.

OK, so shall we put something at
http://installation.openoffice.org/description
so that it contains some useful information? Something like
   ---
This is the XML namespace URI for the Update Feed entries for Apache 
OpenOffice. You can find all details about the expected syntax at
https://wiki.openoffice.org/wiki/Update_Service
   ---
(and of course if source code expected it, reverting my change was just 
right).

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [RELEASE, TOOLS] bash script to generate Update Feed

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 22.08.2014 10:23, Oliver-Rainer Wittmann wrote:
> Hi,
>
> On 20.07.2014 10:45, Andrea Pescetti wrote:
>> On 14/07/2014 Oliver-Rainer Wittmann wrote:
>>> On 13.07.2014 16:36, Andrea Pescetti wrote:
>>>> http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/feed-entry-template.Update?view=markup
>>>>
>>>>
>>>> has an xmlns attribute that is a non-existing URI. ...
>>>> would it be worth/harmless to change it
>>>> to https://wiki.openoffice.org/wiki/Update_Service if that's the
>>>> "canonical" URI describing the format we expect?
>>>
>>> +1 for the proposed change - just go ahead and change the entry template
>>
>> Done in http://svn.apache.org/r1612057
>>
>
> I just noticed that the Update Service code somehow relies on the
> non-existing URI.
> Thus, I will revert this change.
>

I figured out that the Update Service code expects this URI as the XML 
namespace URI for the Update Feed entries.

Best regards, Oliver.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [RELEASE, TOOLS] bash script to generate Update Feed

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 20.07.2014 10:45, Andrea Pescetti wrote:
> On 14/07/2014 Oliver-Rainer Wittmann wrote:
>> On 13.07.2014 16:36, Andrea Pescetti wrote:
>>> http://svn.apache.org/viewvc/openoffice/devtools/genUpdateFeed/feed-entry-template.Update?view=markup
>>>
>>> has an xmlns attribute that is a non-existing URI. ...
>>> would it be worth/harmless to change it
>>> to https://wiki.openoffice.org/wiki/Update_Service if that's the
>>> "canonical" URI describing the format we expect?
>>
>> +1 for the proposed change - just go ahead and change the entry template
>
> Done in http://svn.apache.org/r1612057
>

I just noticed that the Update Service code somehow relies on the 
non-existing URI.
Thus, I will revert this change.

Best regards, Oliver.

> Andrea
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org