Re: BSA + New Wiki = No Good
Rainer Bielefeld schrieb: Please submit a bug for this problem and put me to CC. Did already it: [Bug 56312] BUGZILLAASSISTANT: no updates from Wiki contents possible https://bugs.freedesktop.org/show_bug.cgi?id=56312 CU Rainer ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Many thanks to Christian. I pushed his patch. I have also updated the BSA on the website. - -- Greetings, Rob Snelders Op 19-10-12 15:22, Christian Lohmaier schreef: Hi *, On Fri, Oct 19, 2012 at 12:25 PM, Christian Lohmaier lohmaier+libreoff...@googlemail.com wrote: [...] The additional html tags in the wiki-output on the html tag makes the removal of the xmlns tag that is added by tidy fail. i.e. perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' does nothing, since it is not html .. xmlns=http://www.w3.org/1999/xhtml; .. but html ... xmlns=newline/ http://www.w3.org/1999/xhtml; so remove the xmlns declaration and just run the xslt commands manually or fix the regular expression or something like that. Or better - instead of trying to search and replace, also use xslt to process the xml: stripnamespace.xsl: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output indent=yes encoding=UTF-8 method=xml omit-xml-declaration=yes/ xsl:template match=* xsl:element name={name()} xsl:apply-templates select=node()|@*/ /xsl:element /xsl:template xsl:template match=@* xsl:copy/ /xsl:template /xsl:stylesheet --- a/bug/Makefile +++ b/bug/Makefile @@ -18,7 +18,8 @@ all: extract compose extract: mkdir -p build - curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null | perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' build/BugReport_Details.xhtml + curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null build/tidyout.xhtml || echo ignoring tidy error + xsltproc --encoding UTF-8 --novalid stripnamespace.xsl build/tidyout.xhtml build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid component_comments.xsl build/BugReport_Details.xhtml build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid subcomponents.xsl build/BugReport_Details.xhtml build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid components.xsl build/BugReport_Details.xhtml build/components.xhtml ciao Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQhxCrAAoJEGs78UIq7mKyMzYH/A7bML7aLdBVpD+aAaqD2+oS KqfVcIYOGGoi/aonurGjmaHLi7kLmqiMCvY4DwvQR5psJ++xHokA5VfD7KZpQmGr QPDpAquOSkVUFpnBGuJaNhPFjMMKKO6i8UT0smsPkadYDKGmZNtUrSYLO1J9fFqK tvarh6SUzzBxEKnpT7QeSy8kQLudW8Bk2+hrIkT2/ecR9M0SplzI5FPFtFTdblVg OKw+88TfrNhaFGeClZDRjEW6lgD1ujK2CN3pem/plXHz8yDMf7vlqIAzlFuV6m4h fdlNEg2KSefU32q++f4CVol4JqwRLAw3whbFYzOjCCADfOBmvaFRcBzFZdIFTYw= =6net -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Perfect, Thanks to everyone involved, this community never ceases to amaze me. Regards, Joel On Tue, Oct 23, 2012 at 2:48 PM, Rob Snelders r...@ertai.nl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Many thanks to Christian. I pushed his patch. I have also updated the BSA on the website. - -- Greetings, Rob Snelders Op 19-10-12 15:22, Christian Lohmaier schreef: Hi *, On Fri, Oct 19, 2012 at 12:25 PM, Christian Lohmaier lohmaier+libreoff...@googlemail.com wrote: [...] The additional html tags in the wiki-output on the html tag makes the removal of the xmlns tag that is added by tidy fail. i.e. perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' does nothing, since it is not html .. xmlns=http://www.w3.org/1999/xhtml; .. but html ... xmlns=newline/ http://www.w3.org/1999/xhtml; so remove the xmlns declaration and just run the xslt commands manually or fix the regular expression or something like that. Or better - instead of trying to search and replace, also use xslt to process the xml: stripnamespace.xsl: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output indent=yes encoding=UTF-8 method=xml omit-xml-declaration=yes/ xsl:template match=* xsl:element name={name()} xsl:apply-templates select=node()|@*/ /xsl:element /xsl:template xsl:template match=@* xsl:copy/ /xsl:template /xsl:stylesheet --- a/bug/Makefile +++ b/bug/Makefile @@ -18,7 +18,8 @@ all: extract compose extract: mkdir -p build - curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null | perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' build/BugReport_Details.xhtml + curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null build/tidyout.xhtml || echo ignoring tidy error + xsltproc --encoding UTF-8 --novalid stripnamespace.xsl build/tidyout.xhtml build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid component_comments.xsl build/BugReport_Details.xhtml build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid subcomponents.xsl build/BugReport_Details.xhtml build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid components.xsl build/BugReport_Details.xhtml build/components.xhtml ciao Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQhxCrAAoJEGs78UIq7mKyMzYH/A7bML7aLdBVpD+aAaqD2+oS KqfVcIYOGGoi/aonurGjmaHLi7kLmqiMCvY4DwvQR5psJ++xHokA5VfD7KZpQmGr QPDpAquOSkVUFpnBGuJaNhPFjMMKKO6i8UT0smsPkadYDKGmZNtUrSYLO1J9fFqK tvarh6SUzzBxEKnpT7QeSy8kQLudW8Bk2+hrIkT2/ecR9M0SplzI5FPFtFTdblVg OKw+88TfrNhaFGeClZDRjEW6lgD1ujK2CN3pem/plXHz8yDMf7vlqIAzlFuV6m4h fdlNEg2KSefU32q++f4CVol4JqwRLAw3whbFYzOjCCADfOBmvaFRcBzFZdIFTYw= =6net -END PGP SIGNATURE- -- *Joel Madero* LibO QA Volunteer jmadero@gmail.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Hi All, I resend this message so Florian will also receive it. I did say that yesterday on the IRC. Since a little while I have been working a bit on the BSA. I seems that with the change of the wiki that the HTML-output of the BugReport_Details has been changed. After the conference I want to look at it. I can run a diff on the old and the new output and see what has changed. For now the BSA on the website still works. But we can't update it at the moment so It will have to be fixed but it can be done a little later. -- Greetings, Rob Snelders Op 19-10-12 11:24, Florian Effenberger schreef: Hi, I am not subscribed to the FDO list, so please keep me in Cc for your replies. Joel Madero wrote on 2012-10-19 07:48: Now it's confirmed, here is the error: I have no idea what the script does, so I probably cannot be of too much help here. :( I guess it's a parsing error. All previously installed extensions should be available again, but the page template changed a bit. Maybe that causes the error and the parser needs some adjustments? Florian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Rob Snelders schrieb: For now the BSA on the website still works. But we can't update it Hi all, Please submit a bug for this problem and put me to CC. Thx. Rainer ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Hi, I am not subscribed to the FDO list, so please keep me in Cc for your replies. Joel Madero wrote on 2012-10-19 07:48: Now it's confirmed, here is the error: I have no idea what the script does, so I probably cannot be of too much help here. :( I guess it's a parsing error. All previously installed extensions should be available again, but the page template changed a bit. Maybe that causes the error and the parser needs some adjustments? Florian -- Florian Effenberger, Chairman of the Board (Vorstandsvorsitzender) Tel: +49 8341 99660880 | Mobile: +49 151 14424108 The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts Legal details: http://www.documentfoundation.org/imprint ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Hi All, I did say that yesterday on the IRC. Since a little while I have been working a bit on the BSA. I seems that with the change of the wiki that the HTML-output of the BugReport_Details has been changed. After the conference I want to look at it. I can run a diff on the old and the new output and see what has changed. For now the BSA on the website still works. But we can't update it at the moment so It will have to be fixed but it can be done a little later. -- Greetings, Rob Snelders Op 19-10-12 07:48, Joel Madero schreef: On 10/18/2012 10:27 PM, Joel Madero wrote: Hi All, Someone else (can't remember who) talked to me earlier in IRC and told me that they had permissions to update BSA site but that make was failing and spitting out errors about the new wiki. I haven't confirmed this as I don't want to break anything but, can someone else with permissions see if they can reproduce? Including Florian on this one since he's in charge of the wiki update. Regards, Joel Now it's confirmed, here is the error: Current branch master is up to date. mkdir -p build curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null | perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid component_comments.xsl build/BugReport_Details.xhtml build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid subcomponents.xsl build/BugReport_Details.xhtml build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid components.xsl build/BugReport_Details.xhtml build/components.xhtml curl --silent 'https://bugs.freedesktop.org/query.cgi?product=LibreOfficequery_format=advanced' build/query.xhtml perl query.pl build/query.xhtml build/versions.xhtml perl sanity.pl build/query.xhtml build/components.xhtml component Writer found in bugzilla but not in the wiki component Drawing found in bugzilla but not in the wiki component UI found in bugzilla but not in the wiki component Printing and PDF export found in bugzilla but not in the wiki component Installation found in bugzilla but not in the wiki component Formula Editor found in bugzilla but not in the wiki component Extensions found in bugzilla but not in the wiki component Database found in bugzilla but not in the wiki component Linguistic found in bugzilla but not in the wiki component Chart found in bugzilla but not in the wiki component Localization found in bugzilla but not in the wiki component Documentation found in bugzilla but not in the wiki component Presentation found in bugzilla but not in the wiki component WWW found in bugzilla but not in the wiki component BASIC found in bugzilla but not in the wiki component Spreadsheet found in bugzilla but not in the wiki component Libreoffice found in bugzilla but not in the wiki wiki URL http://wiki.documentfoundation.org/BugReport_Details components extracted with components.xsl from the wiki are in build/components.xhtml bugzilla URL https://bugassistant.libreoffice.org/enter_bug.cgi?product=LibreOffice bugzilla information retrieved from build/query.xhtml make: *** [extract] Error 17 Regards, Joel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Hi Joel, *, On Fri, Oct 19, 2012 at 7:48 AM, Joel Madero jmadero@gmail.com wrote: On 10/18/2012 10:27 PM, Joel Madero wrote: Someone else (can't remember who) talked to me earlier in IRC and told me that they had permissions to update BSA site but that make was failing and spitting out errors about the new wiki. I haven't confirmed this as I don't want to break anything but, can someone else with permissions see if they can reproduce? Reproduced - and it is a rather simple problem: The additional html tags in the wiki-output on the html tag makes the removal of the xmlns tag that is added by tidy fail. i.e. perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' does nothing, since it is not html .. xmlns=http://www.w3.org/1999/xhtml; .. but html ... xmlns=newline/ http://www.w3.org/1999/xhtml; so remove the xmlns declaration and just run the xslt commands manually or fix the regular expression or something like that. ciao Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
Hi *, On Fri, Oct 19, 2012 at 12:25 PM, Christian Lohmaier lohmaier+libreoff...@googlemail.com wrote: [...] The additional html tags in the wiki-output on the html tag makes the removal of the xmlns tag that is added by tidy fail. i.e. perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' does nothing, since it is not html .. xmlns=http://www.w3.org/1999/xhtml; .. but html ... xmlns=newline/ http://www.w3.org/1999/xhtml; so remove the xmlns declaration and just run the xslt commands manually or fix the regular expression or something like that. Or better - instead of trying to search and replace, also use xslt to process the xml: stripnamespace.xsl: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output indent=yes encoding=UTF-8 method=xml omit-xml-declaration=yes/ xsl:template match=* xsl:element name={name()} xsl:apply-templates select=node()|@*/ /xsl:element /xsl:template xsl:template match=@* xsl:copy/ /xsl:template /xsl:stylesheet --- a/bug/Makefile +++ b/bug/Makefile @@ -18,7 +18,8 @@ all: extract compose extract: mkdir -p build - curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null | perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' build/BugReport_Details.xhtml + curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null build/tidyout.xhtml || echo ignoring tidy error + xsltproc --encoding UTF-8 --novalid stripnamespace.xsl build/tidyout.xhtml build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid component_comments.xsl build/BugReport_Details.xhtml build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid subcomponents.xsl build/BugReport_Details.xhtml build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid components.xsl build/BugReport_Details.xhtml build/components.xhtml ciao Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
That stuff is all way above my knowledge. I'll wait for someone to fix it and then I'll try again to use it after I update FDO with new version(s). Thanks for the update, glad it looks like a minor problem Regards, Joel On Fri, Oct 19, 2012 at 6:22 AM, Christian Lohmaier lohmaier+libreoff...@googlemail.com wrote: Hi *, On Fri, Oct 19, 2012 at 12:25 PM, Christian Lohmaier lohmaier+libreoff...@googlemail.com wrote: [...] The additional html tags in the wiki-output on the html tag makes the removal of the xmlns tag that is added by tidy fail. i.e. perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' does nothing, since it is not html .. xmlns=http://www.w3.org/1999/xhtml; .. but html ... xmlns=newline/ http://www.w3.org/1999/xhtml; so remove the xmlns declaration and just run the xslt commands manually or fix the regular expression or something like that. Or better - instead of trying to search and replace, also use xslt to process the xml: stripnamespace.xsl: xsl:stylesheet version=1.0 xmlns:xsl= http://www.w3.org/1999/XSL/Transform; xsl:output indent=yes encoding=UTF-8 method=xml omit-xml-declaration=yes/ xsl:template match=* xsl:element name={name()} xsl:apply-templates select=node()|@*/ /xsl:element /xsl:template xsl:template match=@* xsl:copy/ /xsl:template /xsl:stylesheet --- a/bug/Makefile +++ b/bug/Makefile @@ -18,7 +18,8 @@ all: extract compose extract: mkdir -p build - curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null | perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' build/BugReport_Details.xhtml + curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null build/tidyout.xhtml || echo ignoring tidy error + xsltproc --encoding UTF-8 --novalid stripnamespace.xsl build/tidyout.xhtml build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid component_comments.xsl build/BugReport_Details.xhtml build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid subcomponents.xsl build/BugReport_Details.xhtml build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid components.xsl build/BugReport_Details.xhtml build/components.xhtml ciao Christian -- *Joel Madero* LibO QA Volunteer jmadero@gmail.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: BSA + New Wiki = No Good
On 10/18/2012 10:27 PM, Joel Madero wrote: Hi All, Someone else (can't remember who) talked to me earlier in IRC and told me that they had permissions to update BSA site but that make was failing and spitting out errors about the new wiki. I haven't confirmed this as I don't want to break anything but, can someone else with permissions see if they can reproduce? Including Florian on this one since he's in charge of the wiki update. Regards, Joel Now it's confirmed, here is the error: Current branch master is up to date. mkdir -p build curl --silent http://wiki.documentfoundation.org/BugReport_Details | tidy --numeric-entities yes -asxhtml 2/dev/null | perl -pe 's|xmlns=http://www.w3.org/1999/xhtml;||' build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid component_comments.xsl build/BugReport_Details.xhtml build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid subcomponents.xsl build/BugReport_Details.xhtml build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid components.xsl build/BugReport_Details.xhtml build/components.xhtml curl --silent 'https://bugs.freedesktop.org/query.cgi?product=LibreOfficequery_format=advanced' build/query.xhtml perl query.pl build/query.xhtml build/versions.xhtml perl sanity.pl build/query.xhtml build/components.xhtml component Writer found in bugzilla but not in the wiki component Drawing found in bugzilla but not in the wiki component UI found in bugzilla but not in the wiki component Printing and PDF export found in bugzilla but not in the wiki component Installation found in bugzilla but not in the wiki component Formula Editor found in bugzilla but not in the wiki component Extensions found in bugzilla but not in the wiki component Database found in bugzilla but not in the wiki component Linguistic found in bugzilla but not in the wiki component Chart found in bugzilla but not in the wiki component Localization found in bugzilla but not in the wiki component Documentation found in bugzilla but not in the wiki component Presentation found in bugzilla but not in the wiki component WWW found in bugzilla but not in the wiki component BASIC found in bugzilla but not in the wiki component Spreadsheet found in bugzilla but not in the wiki component Libreoffice found in bugzilla but not in the wiki wiki URL http://wiki.documentfoundation.org/BugReport_Details components extracted with components.xsl from the wiki are in build/components.xhtml bugzilla URL https://bugassistant.libreoffice.org/enter_bug.cgi?product=LibreOffice bugzilla information retrieved from build/query.xhtml make: *** [extract] Error 17 Regards, Joel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice