emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Bastien Guerry <bzg@gnu.org>
Subject: Re: Worg: issue with org-tools page
Date: Sat, 5 Aug 2023 19:14:11 +0700	[thread overview]
Message-ID: <4762096d-2685-de1d-9bfd-0370255faedd@gmail.com> (raw)
In-Reply-To: <87r0ooghim.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 2363 bytes --]

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 #2: publish.sh --]
[-- Type: application/x-shellscript, Size: 5204 bytes --]

  reply	other threads:[~2023-08-05 12:15 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-09 15:37 Worg: issue with org-tools page Karl Voit
2023-04-09 16:53 ` Ihor Radchenko
2023-04-09 21:51   ` Karl Voit
2023-04-18 12:29     ` Ihor Radchenko
2023-04-18 13:48       ` Karl Voit
2023-07-29 12:14         ` Ihor Radchenko
2023-07-30  2:57           ` Max Nikulin
2023-07-30  6:40             ` Ihor Radchenko
2023-07-30  7:38               ` Max Nikulin
2023-07-30  9:16                 ` Ihor Radchenko
2023-07-31 16:12                   ` Max Nikulin
2023-07-31 16:41                     ` Ihor Radchenko
2023-08-05 12:14                       ` Max Nikulin [this message]
2023-08-05 12:23                         ` Ihor Radchenko
2023-08-06 11:31                           ` Max Nikulin
2023-08-06 15:08                             ` Ihor Radchenko
2023-08-09  7:44                               ` Ihor Radchenko
2023-08-09 10:35                                 ` Max Nikulin
2023-08-04 10:21           ` Bastien Guerry
2023-08-05  7:12             ` Ihor Radchenko
2023-08-05  8:50               ` Bastien Guerry
2023-08-05 11:06                 ` Ihor Radchenko
2023-08-05 18:07                   ` Bastien Guerry
2023-08-06  6:34                     ` Ihor Radchenko
2023-08-06 15:17                       ` Bastien Guerry
2023-08-07 13:46                         ` Ihor Radchenko
2023-08-07 14:26                           ` Bastien Guerry
2023-08-10  8:45         ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4762096d-2685-de1d-9bfd-0370255faedd@gmail.com \
    --to=manikulin@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).