On Sat May 4, 2024 at 2:59 AM CEST, Bryan Gardiner wrote:
> lazygl2srht doesn't add that stuff to Sourcehut tickets as metadata,> it only adds things like "Created by:" and such in the ticket and> comment bodies. I only glanced at the hut man page, but it seems> capable enough.
So, in the end I am running it via SMTP and so far everything
seems to work (with some modification, the patch will
follow). Couple of nits:
1. STARTTLS support (that’s that patch)
2. Some kind of logging … to have a script running for four hours
((3000*5)/3600) without absolutely anything on stderr is
rather cruel.
Best,
Matěj
--
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
In political activity men sail a boundless and bottomless sea;
there is neither harbor for shelter nor floor for anchorage,
neither starting point nor appointed destination.
-- Michael Oakeshott: Rationalism in Politics
On Sat May 4, 2024 at 9:26 AM CEST, Matěj Cepl wrote:
> 2. Some kind of logging … to have a script running for four hours> ((3000*5)/3600) without absolutely anything on stderr is> rather cruel.
Correction … later in the process there is counter going on,
but the script seems to start with A LONG time when it shows
absolutely nothing.
Matěj
--
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
A woman without a man is like a fish without a bicycle.
Therefore, a man without a woman is like a bicycle without
a fish.
On Sat May 4, 2024 at 9:26 AM CEST, Matěj Cepl wrote:
> 1. STARTTLS support (that’s that patch)> 2. Some kind of logging … to have a script running for four hours> ((3000*5)/3600) without absolutely anything on stderr is> rather cruel.
One more observation from running M2Crypto attempted conversion
… I have misunderstood the instructions and I haven’t prepared
labels beforehand, so they were not created.
Also, I have started working on the support of the hut command in
https://git.sr.ht/~mcepl/lazygl2srht/log/hut_cmd , but I think
that it is still not finished (among other things, exactly labels
are not handled at all).
Best,
Matěj
--
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
The first mistake in publick business, is the going into it.
-- Benjamin Franklin
On Sat, 04 May 2024 18:12:18 +0200
Matěj Cepl <matej@ceplovi.cz> wrote:
> On Sat May 4, 2024 at 9:26 AM CEST, Matěj Cepl wrote:> > 1. STARTTLS support (that’s that patch)> > 2. Some kind of logging … to have a script running for four hours> > ((3000*5)/3600) without absolutely anything on stderr is> > rather cruel.
More logging sounds good, but can you see why the initial startup is
taking so long? Is it slow for --mode=print too, or just some SMTP
slowness with --mode=send?
> One more observation from running M2Crypto attempted conversion> … I have misunderstood the instructions and I haven’t prepared> labels beforehand, so they were not created.> > Also, I have started working on the support of the hut command in> https://git.sr.ht/~mcepl/lazygl2srht/log/hut_cmd , but I think> that it is still not finished (among other things, exactly labels> are not handled at all).
Looking forward to it! Also I pushed a change to read the labels and
users from CSV files, no more hard coding it in Python. Thanks for
that suggestion.
Cheers,
Bryan
On Sun May 5, 2024 at 2:25 AM CEST, Bryan Gardiner wrote:
> More logging sounds good, but can you see why the initial startup is> taking so long? Is it slow for --mode=print too, or just some SMTP> slowness with --mode=send?
My suspicion is the stdout buffering (see the patch I sent to the list).
> Looking forward to it! Also I pushed a change to read the labels and> users from CSV files, no more hard coding it in Python. Thanks for> that suggestion.
Thank you!
Matěj
--
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
How fleeting are all human passions compared to the massive
continuity of ducks.
-- Dorothy L. Sayers: Gaudy Night