alone at the edge of a universe humming a tune
From Benjamin Lowry to ~sircmpwn/sr.ht-dev
Use canonical_name to redirect to the tracker page with a tilde before the username. Signed-off-by: Benjamin Lowry <ben@ben.gmbh> --- todosrht/blueprints/tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todosrht/blueprints/tracker.py b/todosrht/blueprints/tracker.py index 68cde2c..4d3a5ae 100644 --- a/todosrht/blueprints/tracker.py +++ b/todosrht/blueprints/tracker.py @@ -53,7 +53,7 @@ def create_POST(): [message trimmed]
From Benjamin Lowry to ~sircmpwn/sr.ht-dev
This makes the behavior consistent with other sr.ht services Signed-off-by: Benjamin Lowry <ben@ben.gmbh> --- todosrht/access.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/todosrht/access.py b/todosrht/access.py index 3d5eadd..06e3e86 100644 --- a/todosrht/access.py +++ b/todosrht/access.py @@ -39,26 +39,26 @@ def get_tracker(owner, name, with_for_update=False, user=None): if not owner: return None, None [message trimmed]
From Benjamin Lowry to ~sircmpwn/sr.ht-dev
This makes todo.sr.ht's behavior consistent with other sr.ht services by returning a 404 if you try to omit the tilde in a tracker URL. The second commit also fixes the "Create & configure tracker" button redirecting you to https://todo.sr.ht/username/tracker without a tilde. Fixes https://todo.sr.ht/~sircmpwn/todo.sr.ht/198 Benjamin Lowry (2): get_tracker: return None if tilde is ommitted redirect to correct page when creating & configuring tracker todosrht/access.py | 36 +++++++++++++++++----------------- todosrht/blueprints/tracker.py | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-)
From Benjamin Lowry to ~sircmpwn/sr.ht-discuss
I'm using the latest versions of everything from the git repositories, on Alpine Linux. All the oauth clients are preauthorized. All of the services are using the same config.ini in /etc/sr.ht/.
From Benjamin Lowry to ~sircmpwn/sr.ht-discuss
On Mon, 2020-05-04 at 11:31 -0400, Drew DeVault wrote:
> Can you also share the relevant lines from git.sr.ht's web logs?
127.0.0.1 - - [04/May/2020 10:32:43] "GET /api/repos?start=-1 HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/repos/test-repository HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/user/webhooks?start=-1 HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/~blowry/repos/test-repository/webhooks?start=-1 HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/~blowry/repos/test-repository/webhooks HTTP/1.0" 200 -
From Benjamin Lowry to ~sircmpwn/sr.ht-discuss
On Mon, 2020-05-04 at 11:21 -0400, Drew DeVault wrote:
> Do you have the full backtrace?
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/flask/app.py", line 2334, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/lib/python3.8/site-packages/werkzeug/wsgi.py", line 826, in __call__
return app(environ, start_response)
File "/usr/lib/python3.8/site-packages/flask/app.py", line 2320, in wsgi_app
response = self.handle_exception(e)
File "/usr/lib/python3.8/site-packages/flask/app.py", line 1766, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3.8/site-packages/flask/_compat.py", line 36, in reraise
raise value
File "/usr/lib/python3.8/site-packages/flask/app.py", line 2317, in wsgi_app
From Benjamin Lowry to ~sircmpwn/sr.ht-discuss
There obviously isn't any documentation yet on man.sr.ht for the hub, so I figured I'd ask on this list. I got hub.sr.ht installed and working, but I can't add any repositories, trackers, or lists to a project. I get the following: Exception: Failed to create webhook: {"next": null, "results": [], "total": 0, "results_per_page": 50} Is there something I'm missing? -ben
From Benjamin Lowry to ~sircmpwn/sr.ht-discuss
Sorry if I miss the point, but I'm trying to understand why you would want this...all of the emails sent by lists.sr.ht originate by being created by other users. If the list is public it doesn't matter whether you get the emails encrypted or not because they're publicly viewable, and if you want to keep list messages private you should have senders encrypt their own mail instead of the list doing it for them.
From Benjamin Lowry to ~sircmpwn/sr.ht-dev
> It has both > ``` > https://git.sr.ht/~lucidone/ryo-iso/tree/master/LICENSE-MIT > https://git.sr.ht/~lucidone/ryo-iso/tree/master/LICENSE-APACHE > ``` > > Is there a preferred approach here? Here's the list of files git.sr.ht checks for: "LICENSE", "LICENCE", "COPYING", "LICENSE.txt", "license.txt", "LICENCE.txt", "licence.txt", "COPYING.txt", "copying.txt", "LICENSE.md", "license.md", "LICENCE.md", "licence.md",
From Benjamin Lowry to ~emersion/mrsh-dev
Fixes 'make install' failing since getopt.h was made private in 8312ce143903f0befff5d0d595bf94d7836236ec. --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index b5db765..ce88f4b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,6 @@ public_includes=\ include/mrsh/buffer.h \ include/mrsh/builtin.h \ include/mrsh/entry.h \ [message trimmed]