emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Worg: issue with org-tools page


From: Max Nikulin
Subject: Re: Worg: issue with org-tools page
Date: Sat, 5 Aug 2023 19:14:11 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 31/07/2023 23:41, Ihor Radchenko wrote:
Max Nikulin writes:

I hope, there is a better way to address the issue with failure
notifications.

That sounds too complex.
I think we can simply add an extra "check" task to
https://git.sr.ht/~bzg/worg/tree/master/item/.build.yml
It will run after "upload", re-exporting files, but not ignoring errors
this time.

I was trying to modify publish.sh to collect errors up to a reasonable number, a draft is attached. It can be improved further to save list of failures to some file, so final step of .build.yml may be to check whether this file is empty and to send a notification otherwise.

Currently it just prints summary of failures. When allowed failures count is exceeded, it fails immediately.

./publish.sh --maxfail 32
...
org-release-notes.org: Could not find plantuml.jar at /usr/share/plantuml/plantuml.jar
org-faq.org: Could not find ditaa.jar at /usr/bin/ditaa
org-blog-wiki.org: Unable to resolve link: "[https://github.com/kaushalmodi/ox-hugo/tree/master/test/site/content-org";
library-of-babel.org: Symbol’s function definition is void: fib
org-tutorials/images-and-xhtml-export.org: Unable to resolve link: "worg/images/orgmode/org-mode-unicorn.png"
org-tools/index.org: Cannot open load file: No such file or directory, ess
org-contrib/babel/intro.org: Could not find ditaa.jar at /usr/bin/ditaa
org-contrib/babel/languages/ob-doc-scheme.org: Symbol’s value as variable is void: geiser-default-implementation org-contrib/babel/languages/ob-doc-ditaa.org: Could not find ditaa.jar at /usr/bin/ditaa org-contrib/babel/languages/ob-doc-LaTeX.org: Cannot open load file: No such file or directory, ess org-contrib/babel/examples/org-check.org: Symbol’s value as variable is void: org-latex-to-pdf-process org-contrib/babel/examples/lob-table-operations.org: Symbol’s function definition is void: flet
org-contrib/babel/examples/foo.org: Inline error: list result cannot be used
org-contrib/babel/examples/drift.org: Could not find ditaa.jar at /usr/bin/ditaa org-contrib/babel/examples/data-collection-analysis.org: Cannot open load file: No such file or directory, ess org-contrib/babel/examples/ascii.org: Cannot open load file: No such file or directory, ess org-contrib/babel/examples/Rpackage.org: Cannot open load file: No such file or directory, ess

Attachment: publish.sh
Description: application/shellscript


reply via email to

[Prev in Thread] Current Thread [Next in Thread]