~xenrox

Recent activity

[PATCH soju] Allow users to change password in client a day ago

From Thorben Günther to ~emersion/public-inbox

Added a BouncerServ command for that.
---
 service.go | 23 +++++++++++++++++++++++
 user.go    |  8 ++++++++
 2 files changed, 31 insertions(+)

diff --git a/service.go b/service.go
index fc3773e..4a614d2 100644
--- a/service.go
+++ b/service.go
@@ -7,6 +7,7 @@ import (
	"strings"

	"github.com/google/shlex"
[message trimmed]

[PATCH soju] Add ability to change password a day ago

From Thorben Günther to ~emersion/public-inbox

---
 cmd/sojuctl/main.go | 32 ++++++++++++++++++++++++++++++--
 db.go               | 12 ++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/cmd/sojuctl/main.go b/cmd/sojuctl/main.go
index e2ba48a..841dc80 100644
--- a/cmd/sojuctl/main.go
+++ b/cmd/sojuctl/main.go
@@ -14,8 +14,9 @@ import (

const usage = `usage: sojuctl [-config path] <action> [options...]

  create-user <username>  Create a new user
[message trimmed]

Re: Unable to clone git repo 26 days ago

From Thorben Günther to ~sircmpwn/sr.ht-discuss

You can list your keys like this:
redis-cli -n 0 KEYS '*' (where the number after n is your redis cache
number)
And that should delete all keys:
redis-cli -n 0 FLUSHDB
--
Thorben Günther
https://xenrox.net

Re: Unable to clone git repo 26 days ago

From Thorben Günther to ~sircmpwn/sr.ht-discuss

This error could be caused by a faulty redis cache. Try to look at the
entries or just clear them all. If that does not help please upload
pastes of your database entry, your git logfiles and your (new) redis
keys.
--
Thorben Günther
https://xenrox.net

Re: Unable to clone git repo 26 days ago

From Thorben Günther to ~sircmpwn/sr.ht-discuss

You should check whether your git user has the correct login shell set
(bash instead of e.g. /usr/bin/git-shell or nologin).
--
Thorben Günther
https://xenrox.net

[PATCH git.sr.ht] Update for newest pygments release a month ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

string_types and iteritems, which are for python2 compatibility, got
removed
---
 gitsrht/annotations.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gitsrht/annotations.py b/gitsrht/annotations.py
index d8a6f12..0420bcf 100644
--- a/gitsrht/annotations.py
+++ b/gitsrht/annotations.py
@@ -1,6 +1,5 @@
from pygments.formatter import Formatter
from pygments.token import Token, STANDARD_TYPES
from pygments.util import string_types, iteritems
[message trimmed]

[PATCH] Add svg badges for running and queued status. a month ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
This is about issue 271 in the builds tracker.
The svg may be a bit ugly, since I have no experience in generating
them.

 buildsrht/blueprints/jobs.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/buildsrht/blueprints/jobs.py b/buildsrht/blueprints/jobs.py
index a01ddcc..e043a4f 100644
--- a/buildsrht/blueprints/jobs.py
@@ -126,12 +126,22 @@ badge_unknown = """
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="132" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="132" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h71v20H0z"/><path fill="#9f9f9f" d="M71 0h61v20H71z"/><path fill="url(#b)" d="M0 0h132v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="365" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="610">__NAME__</text><text x="365" y="140" transform="scale(.1)" textLength="610">__NAME__</text><text x="1005" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="510">unknown</text><text x="1005" y="140" transform="scale(.1)" textLength="510">unknown</text></g> </svg>
[message trimmed]

[PATCH builds.sr.ht] Don't show logs for queued builds. a month ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
This is about issue 258 in the builds tracker.
At the moment there is no other message because I think that the 
"queued" build status should be indicator enough why there are
no logs.

 buildsrht/templates/job.html | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/buildsrht/templates/job.html b/buildsrht/templates/job.html
index cd2dfef..e5aa2ca 100644
--- a/buildsrht/templates/job.html
@@ -146,20 +146,22 @@
[message trimmed]

[PATCH builds.sr.ht] Allow Arch Linux to autodetect fastest mirrors. a month ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
This may be useless for you if you selected the mirrors with special
criteria in mind.
This patch uses reflector to determine the 30 fastest mirrors. That
would improve the maintainability of the genimg file.

 images/archlinux/build.yml | 1 +
 images/archlinux/genimg    | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/images/archlinux/build.yml b/images/archlinux/build.yml
index ee61a85..833c56f 100644
--- a/images/archlinux/build.yml
+++ b/images/archlinux/build.yml
[message trimmed]

[PATCH sr.ht-pkgbuilds] builds: add database migration a month ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/PKGBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/builds.sr.ht/PKGBUILD b/builds.sr.ht/PKGBUILD
index 05ef6e4..61a6b95 100644
--- a/builds.sr.ht/PKGBUILD
@@ -5,6 +5,7 @@ pkgrel=2
arch=("any")
license=("AGPL3")
url="https://git.sr.ht/~sircmpwn/builds.sr.ht"
install=builds.sr.ht.install
optdepends=(
[message trimmed]