From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] gitlab-ci-archiver status
Date: Fri, 10 Apr 2020 00:19:03 +0100
Message-ID: <CAPweEDzo+F9-OYcthagzDPOE2LbrHLUZOYbHMaCGFT8Atu666w@mail.gmail.com> (raw)
In-Reply-To: <CAC2bXD4j-aJz854cap_WyKqx85syQJp3PYVQ4ftm4VR1q7vBrg@mail.gmail.com>
ah i just realised, you may be tempted to assume that the outgoing command
is not 100% reliable and thus start writing retry and store and forward
code.
this is why i said assume the UNIX philosophy do one task and do it well.
other services do store and forward so use them.
we can always install exim4 as a relay.
so on consideration please use whatever wrapper rust puts around popen2 or
popen3, shove the log out on stdout, no command options (no env vars) where
the command is from the config file, no paramers, nothing.
it then becomes a 5 minute job to write a bash script "mail -s "build log"
fred@foo"
if the command does produce stderr output shove that into the error logs
and forget about it.
we need to get this handed over to alain and frieder as soon as possible.
this or equivalent will do
https://doc.rust-lang.org/1.8.0/libc/fn.popen.html
l.
--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next prev parent reply index
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 19:21 [libre-riscv-dev] more build failures Jacob Lifshay
2020-04-09 19:31 ` Luke Kenneth Casson Leighton
2020-04-09 20:03 ` [libre-riscv-dev] gitlab-ci-archiver status Jacob Lifshay
2020-04-09 20:24 ` Luke Kenneth Casson Leighton
2020-04-09 20:31 ` Jacob Lifshay
2020-04-09 21:48 ` Luke Kenneth Casson Leighton
2020-04-09 21:54 ` Jacob Lifshay
2020-04-09 23:19 ` Luke Kenneth Casson Leighton [this message]
2020-04-10 1:56 ` Luke Kenneth Casson Leighton
2020-04-10 2:27 ` Jacob Lifshay
2020-04-10 12:08 ` Luke Kenneth Casson Leighton
2020-04-10 17:15 ` Jacob Lifshay
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPweEDzo+F9-OYcthagzDPOE2LbrHLUZOYbHMaCGFT8Atu666w@mail.gmail.com \
--to=lkcl@lkcl.net \
--cc=libre-riscv-dev@lists.libre-riscv.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
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git