Conversation

Jarkko Sakkinen

Edited 1 month ago
Is there off-the-shelf OpenSUSE RPM package of local email interface (lei)?

I also tried to seek for the source code but it is not available here: https://git.kernel.org/pub/scm/utils
2
0
0

Took the symlink install route:

git clone https://public-inbox.org/public-inbox.git && cd public-inbox
perl Makefile.PL
make symlink-install prefix=$HOME/.local

There’s a spec file in OBS but no official package to this date (b4 has an official package).

1
0
0
Does not recognize any of the lei commands tho (tried ls-search, edit-search and up).
0
0
1

@jarkko one of my colleagues had an OBS project that had lei packaged on Tumbleweed, but there were some build issues recently made him delete the repo. It seems that lei is written is perl, so he was too afraid to touch it (very understandable IHMO :P )

1
0
2
@mpdesouza Yeah, it looks like awesome tool so it is a shame. Like something less involved than full subscription to a new subsystem ML.

Lately I helped a bit with tracing subsystem in Linux but otherwise it is not what I'm working on so in that sort of scenario lei would probably help somewhat...
1
0
1
@mpdesouza That said, I gotta say that I love the site's web design :-) Supported browsers include curl and wget. https://public-inbox.org/ #nojoke
2
0
0

@jarkko I had the same issue, had patches on different mailing lists, but was afraid to receive the flood of emails :)

So I found https://github.com/sjp38/hackermail, from @sj , which was exactly what I wanted for quite some time! Check this project and see if is also what you wanted but you didn't know yet :D

1
0
2

@jarkko what? how you use it? :P I have no clue how to navigate through https://public-inbox.org/ website :D

1
0
0
@mpdesouza I've piped the pages a few times with wget, w3m and grep to check some info, ok maybe this does not count as "convenient" :-) does the job...

this would be something where rust port would be applauded given how many dependencies you need to process email properly...
0
0
1
@mpdesouza @jarkko Hackermail doesn't support lei's sophisticated search syntax and performance, though.

Recently I was looking for a way to do that, and made a hacky idea. However, I'm not sure if that will really be needed by many users and hence taking time for prioritization.

Please feel free to uploading GitHub issue or PR if you need it!

#hackermail #hkml
2
0
3

@sj @jarkko "doesn't support yet" :P at least for my very basic usage it was pretty nice (searching for content or from /to/cc etc..)

2
0
2
@sj @mpdesouza never heard but look worth of giving a shot!
0
0
1
@mpdesouza @sj BTW, I went through all public inbox packages in OBS but none seem to work out of the box (tried locally both with osc and rpmbuild). I tried tune them various ways but without any mentionable success..

One working way would be probably to use OCI container, flatpak, appimage or something that containerizes all the perl shenanigans but gave up for the moment with this...
1
0
1

@jarkko @sj maybe this is something to ask to @monsieuricon , since he seems to master perl and public-inbox? :D

1
0
2
@mpdesouza @sj @monsieuricon Yeah sure, I was not sure what to ask. I guess the thing to ask would be one dependency that at least suse does not seem to have: perl-Inline-C

OpenSUSE has perl-Inline and perl-Inline-Python packages only.

Flatpak package would be probably solution that would acceptable for most kernel developers because anyone can install it. The only glitch in that would be flatpak run prefix but that is not a big deal.
1
0
1

@jarkko @monsieuricon @sj I'm not sure about the perl dependencies though =/
(And I frankly don't know anyone that really understand perl at this level to help us at SUSE...)
But, about flatpak, isn't the project focusing on desktop graphical apps? In this case maybe having a container image and use something like distrobox would be nice IMHO. But it has the same issue as having to "enter" in the distrobox env to execute lei =/
(IMHO distrobox is easier than docker/podman, that would be ok too)

1
0
0
@mpdesouza @monsieuricon @sj you can with "flatpak run" but yeah distrobox is definitely quick fix for this, thanks, had forgotten it :-) i mean it needs to be only "batch run" to update maildirs so not that inconvenient.
0
0
1
@mpdesouza @jarkko Now 'hkml list' supports it[1]. It's in an experimental support level, and may need more optimization, though.

[1] https://social.kernel.org/notice/AgefTWMQCzYk6qZJaK
0
0
2