~laumann

https://laumann.xyz/

~laumann/cph-rs

Last active 7 months ago

~laumann/a-tour-of-rust

Last active 2 years ago
View more

Recent activity

Celery not listed as dependency for core.sr.ht 2 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/sr.ht-discuss

I finally managed to get metasrht-initdb to complete and populate its tables in
the database.

One error I ran into was this one:

      File "/usr/local/lib/python3.7/dist-packages/srht-0.66.21-py3.7.egg/srht/webhook/celery.py", line 5, in <module>
        from celery import Celery
    ModuleNotFoundError: No module named 'celery'

I did "apt-get install python3-celery" and that seems to have worked just fine,
but now I'm wondering if it's a dependency that needs to be added to
core.sr.ht/setup.py?

All the best,

Re: Building metasrht-api v0.53.9 with Go 1.16 2 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/sr.ht-discuss

> Pushed a fix for this. Cheers!

Cool, thanks!

Building metasrht-api v0.53.9 with Go 1.16 2 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/sr.ht-discuss

I'm playing around with installing meta.sr.ht from source on a Raspberry Pi
(just for fun and absolutely no profit), and installed Go 1.16 to build
metasrht-api.

I got the following message

/home/pi/go/pkg/mod/git.sr.ht/~sircmpwn/core-go@v0.0.0-20210227202525-61ab3f08164e/auth/token.go:9:2: missing go.sum entry for module providing package git.sr.ht/~sircmpwn/go-bare (imported by git.sr.ht/~sircmpwn/core-go/auth); to add:
	go get git.sr.ht/~sircmpwn/core-go/auth@v0.0.0-20210227202525-61ab3f08164e

Just running that adds an entry to go.sum:

$ git diff
diff --git a/api/go.sum b/api/go.sum
index 992ad79..9946119 100644
[message trimmed]

Re: Another meetup in 2020? 7 months ago

From Thomas Bracht Laumann Jespersen to ~laumann/cph-rs

Hello again,

Since I wrote the previous message asking if there's any interest in another
meetup, I got a few replies that, yes, there's interest :-) thanks to everyone
that replied.

It was also suggested several times that we should make this meet-up virtual. We
can either host it on Jitsi [0] or consider a solution described here [1]. If
you have any suggestions on better ways to do this, I'm all ears.

I do still want to allow people to show up in person if they want to, but I'll
cap it to maybe 10 people. (I might be persuaded to change my mind on this
though.)

Re: Mail lists archives view contains form that appears not to do anything 7 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/sr.ht-dev

> Thanks for following up, I just pushed a fix for this.

No problem, was an easy fix, it seems :-)

Mail lists archives view contains form that appears not to do anything 7 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/sr.ht-dev

Hi!

I was looking at the rendered HTML for lists.sr.ht and noticed there's a <form>
with the class "event-list" that surrounds a sequence of <div class="event
archive-entry">.

The first thing I noticed is that form is emitted regardless of whether or not
the user is logged in. (Log out of sr.ht and look at
https://lists.sr.ht/~sircmpwn/sr.ht-dev/ for example.)

Digging into the source code it seems that the "event-list" form is for
performing bulk updates to the mailing list. But Drew corrected me: It's only
for the patches view (ie https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches) that
bulk update is available - which makes sense - and only the mailing list owner.

[PATCH sr.ht-docs v2] meta.sr.ht: Fix documentation links in api.md 9 months ago

From Thomas Jespersen to ~sircmpwn/sr.ht-dev

---

I submitted another patch to fix this these links, but that patch used absolute
paths. This one uses relative paths.

 meta.sr.ht/api.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta.sr.ht/api.md b/meta.sr.ht/api.md
index c8cccb6..e07c21c 100644
--- a/meta.sr.ht/api.md
+++ b/meta.sr.ht/api.md
@@ -4,7 +4,7 @@ title: meta.sr.ht API

[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 9 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/email-test-drive

From: Thomas Bracht Laumann Jespersen <t@laumann.xyz>

---
 laumann | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 laumann

diff --git a/laumann b/laumann
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/laumann
@@ -0,0 +1 @@
I have successfully used git send-email!
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 9 months ago

From Thomas Bracht Laumann Jespersen to ~sircmpwn/email-test-drive

From: Thomas Bracht Laumann Jespersen <t@laumann.xyz>

---
 laumann | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 laumann

diff --git a/laumann b/laumann
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/laumann
@@ -0,0 +1 @@
I'm about to try git send-email
[message trimmed]

[PATCH sr.ht-docs] minor: Consistently use $ in front of shell commands 11 months ago

From Thomas Jespersen to ~sircmpwn/sr.ht-dev

I noticed some of the shell command lines were prefixed with $ and some
weren't.
---
 packages.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages.md b/packages.md
index 345d384..b06c3e5 100644
--- a/packages.md
+++ b/packages.md
@@ -22,7 +22,7 @@ hosted instance upstream. This must be the first line in `/etc/apk/repositories`
**Signing Key**: [alpine@sr.ht.pub](https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub)

```
[message trimmed]