~nabijaczleweli

Kraków, Poland

https://nabijaczleweli.xyz

~nabijaczleweli/klapki

Last active 2 days ago
View more

Recent activity

Re: [PATCH git.sr.ht] Render symlinks as hyperlinks a day ago

From наб to ~sircmpwn/sr.ht-dev

On Thu, Sep 17, 2020 at 08:15:09PM +0200, René Wagner wrote:
> it seems like the layout got somewhat messed up:
> https://s2.imghost.eu/2020/09/17/Screenshot-at-2020-09-17-19-35-34.png
Confirmed, thanks; it looked fine in Lynx, I hadn't tested with a normal
browser; see below for scissor-patch that wraps this in the right
elements to get it laid out properly.

-- >8 --
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczleweli@nabijaczleweli.xyz>
Subject: [PATCH git.sr.ht] Wrap symlink content properly for layout

---
 gitsrht/blueprints/repo.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
[message trimmed]

[PATCH man.sr.ht] Add button to create wiki on user page 2 days ago

From наб to ~sircmpwn/sr.ht-dev

---
 mansrht/templates/user.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mansrht/templates/user.html b/mansrht/templates/user.html
index e0d2b8e..8afbd99 100644
--- a/mansrht/templates/user.html
+++ b/mansrht/templates/user.html
@@ -22,6 +22,12 @@
      {% if user.bio %}
      {{user.bio | md}}
      {% endif %}
      {% if current_user and current_user.username == user.username %}
      <a
[message trimmed]

*.sr.ht resolved ticket rollup for the second time 3 days ago

From наб to ~sircmpwn/sr.ht-dev

It's that time of year again.

Previously implemented:
	https://todo.sr.ht/~sircmpwn/hg.sr.ht/10     ~sircmpwn/hg.sr.ht#10: Invalid .build.yml files cause traceback on push
	                                             -- nabijaczleweli@tarta:~/uwu/quickly$ hg push nab
	                                                pushing to ssh://hg@hg.sr.ht/~nabijaczleweli/quickly
	                                                searching for changes
	                                                remote: adding changesets
	                                                remote: adding manifests
	                                                remote: adding file changes
	                                                remote: added 1 changesets with 0 changes to 0 files
	                                                remote: Failed to submit build job  alpine.yml:
	                                                remote:         mapping values are not allowed here
	                                                remote:   in "<byte string>", line 4, column 13:

[PATCH git.sr.ht] Render symlinks as hyperlinks 3 days ago

From наб to ~sircmpwn/sr.ht-dev

---
 gitsrht/blueprints/repo.py   | 9 +++++++--
 gitsrht/templates/blame.html | 2 +-
 gitsrht/templates/blob.html  | 2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py
index b5afb7d..72edfd0 100644
--- a/gitsrht/blueprints/repo.py
+++ b/gitsrht/blueprints/repo.py
@@ -15,6 +15,7 @@ from gitsrht.rss import generate_feed
from gitsrht.types import Artifact
from io import BytesIO
from jinja2 import Markup
[message trimmed]

[PATCH git.sr.ht] Warn when we'd submit duplicate-basename manifest 6 days ago

From наб to ~sircmpwn/sr.ht-dev

---
 gitsrht-update-hook/submitter.go | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gitsrht-update-hook/submitter.go b/gitsrht-update-hook/submitter.go
index e50174c..5c96857 100644
--- a/gitsrht-update-hook/submitter.go
+++ b/gitsrht-update-hook/submitter.go
@@ -162,6 +162,12 @@ func (submitter GitBuildSubmitter) FindManifests() (map[string]string, error) {

	manifests := make(map[string]string)
	for _, file := range files {
		basename := path.Base(file.Name)
		if _, ok := manifests[basename]; ok {
[message trimmed]

[PATCH sr.ht-docs] Mention the one-manifest-per-basename behaviour 7 days ago

From наб to ~sircmpwn/sr.ht-dev

---
 git.sr.ht/index.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md
index 017cc57..f5336ba 100644
--- a/git.sr.ht/index.md
+++ b/git.sr.ht/index.md
@@ -82,6 +82,10 @@ following command:
git config --add push.pushOption submit=".sourcehut/*.yml"
```

Only one manifest per basename is supported, e.g. if you submit both
`.builds/alpine.yml` and `.deploy/alpine.yml`, an undetermined one
[message trimmed]

[PATCH hub.sr.ht v3] Add project tags 7 days ago

From наб to ~sircmpwn/sr.ht-dev

Ref: ~sircmpwn/hub.sr.ht#19
---
 .../versions/4da86bb54214_add_project_tags.py | 24 +++++++++++++++++++
 hubsrht/blueprints/projects.py                | 20 ++++++++++++++++
 hubsrht/blueprints/public.py                  |  6 ++++-
 hubsrht/blueprints/users.py                   |  6 ++++-
 hubsrht/templates/dashboard.html              |  5 ++++
 hubsrht/templates/featured-projects.html      |  4 ++++
 hubsrht/templates/index.html                  |  4 ++++
 hubsrht/templates/profile.html                |  6 +++++
 hubsrht/templates/project-config.html         | 12 ++++++++++
 hubsrht/templates/project-create.html         | 12 ++++++++++
 hubsrht/templates/project-index.html          | 14 +++++++++--
 hubsrht/templates/projects.html               |  5 ++++
[message trimmed]

Re: [PATCH hub.sr.ht v2 2/2] Add project tags 8 days ago

From наб to ~sircmpwn/sr.ht-dev

Ugh, I only realised now that I left the links as "tag:"+tag,
I'll make it "#"+tag in the next reroll with any other comments.

[PATCH hub.sr.ht v2 2/2] Add project tags 8 days ago

From наб to ~sircmpwn/sr.ht-dev

Ref: ~sircmpwn/hub.sr.ht#19
---
 .../versions/4da86bb54214_add_project_tags.py | 24 +++++++++++++++++++
 hubsrht/blueprints/projects.py                | 20 ++++++++++++++++
 hubsrht/blueprints/public.py                  |  6 ++++-
 hubsrht/blueprints/users.py                   |  6 ++++-
 hubsrht/templates/dashboard.html              |  5 ++++
 hubsrht/templates/featured-projects.html      |  4 ++++
 hubsrht/templates/index.html                  |  4 ++++
 hubsrht/templates/profile.html                |  6 +++++
 hubsrht/templates/project-config.html         | 12 ++++++++++
 hubsrht/templates/project-create.html         | 12 ++++++++++
 hubsrht/templates/project-index.html          | 14 +++++++++--
 hubsrht/templates/projects.html               |  5 ++++
[message trimmed]

[PATCH hub.sr.ht v2 1/2] Test for & display invalid search errors on profile page, too 8 days ago

From наб to ~sircmpwn/sr.ht-dev

I was there indeed
---
 hubsrht/blueprints/users.py     | 10 +++++++---
 hubsrht/templates/projects.html |  4 ++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/hubsrht/blueprints/users.py b/hubsrht/blueprints/users.py
index 8617ecf..0528a20 100644
--- a/hubsrht/blueprints/users.py
+++ b/hubsrht/blueprints/users.py
@@ -55,11 +55,15 @@ def projects_GET(owner):
        projects = projects.filter(Project.visibility == Visibility.public)

    search = request.args.get("search")
[message trimmed]