~nabijaczleweli

Kraków, Poland

https://nabijaczleweli.xyz

~nabijaczleweli/tzpfms

Last active a month ago

~nabijaczleweli/klapki

Last active 2 months ago
View more

Recent activity

[PATCH git.sr.ht v3] Add push metrics to gitsrht-periodic a month ago

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

Ref: ~sircmpwn/git.sr.ht#324
---
 config.example.ini |  5 +++-
 gitsrht-periodic   | 67 +++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 65 insertions(+), 7 deletions(-)

diff --git a/config.example.ini b/config.example.ini
index f0f460b..6335d84 100644
--- a/config.example.ini
+++ b/config.example.ini
@@ -35,6 +35,9 @@ network-key=
# shared between services. It may be shared between services, however, with no
# ill effect, if this better suits your infrastructure.
redis-host=
[message trimmed]

Re: [PATCH git.sr.ht v2] Add push metrics to gitsrht-periodic a month ago

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

On Thu, Oct 08, 2020 at 06:41:37PM -0400, Drew DeVault wrote:
> @tg.labels("gc_git").time()
> def gc_git():
I tried a few variations of that to avoid it looking like it does, but,
unless you know something I don't, that doesn't parse:
-- >8 --
shirt:/var/lib/git/~nabijaczleweli/efibootmgr# while true; do /usr/bin/gitsrht-periodic; sleep 11; done
  File "/usr/bin/gitsrht-periodic", line 28
    @tg.labels("cleanup_autocreated").time()
                                     ^
SyntaxError: invalid syntax
-- >8 --

[PATCH git.sr.ht v2] Add push metrics to gitsrht-periodic a month ago

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

Ref: ~sircmpwn/git.sr.ht#324
---
 config.example.ini |  5 +++-
 gitsrht-periodic   | 67 +++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 65 insertions(+), 7 deletions(-)

diff --git a/config.example.ini b/config.example.ini
index f0f460b..d4e8fe4 100644
--- a/config.example.ini
+++ b/config.example.ini
@@ -79,7 +79,7 @@ pgp-key-id=
private-key=

[git.sr.ht]
[message trimmed]

Re: [PATCH sr.ht-apkbuilds] git.sr.ht: depend on py3-prometheus-client a month ago

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

Oh, didn't notice, but good to know.

[PATCH sr.ht-apkbuilds] git.sr.ht: depend on py3-prometheus-client a month ago

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

Ref: ~sircmpwn/git.sr.ht#324
---
Also cross-posting to sr.ht-packages@, since I have no idea what the
package is called on Arch, maybe Eli or someone else here does

 sr.ht/git.sr.ht/APKBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sr.ht/git.sr.ht/APKBUILD b/sr.ht/git.sr.ht/APKBUILD
index 788350e..64b033b 100644
--- a/sr.ht/git.sr.ht/APKBUILD
+++ b/sr.ht/git.sr.ht/APKBUILD
@@ -11,6 +11,7 @@ depends="
	py3-pygit2
[message trimmed]

Re: [PATCH git.sr.ht 1/1] Add push metrics to gitsrht-periodic a month ago

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

> +    sg = Gauge("gitsrht_periodic_gc_git_savings",
> +            "Packfile size delta caused by the gc_git job (B)",
> +            ["repository"],
> +            registry=registry)
Hm, now I think about this, it might be beneficial to log both pre- and
post-sizes separately here, since that's what's taking up space in
relation to the snapshot.

I'll hold off on sending a v2 until your review, but

Re: [PATCH sr.ht-apkbuilds] git.sr.ht: depend on py3-prometheus-client a month ago

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

Oh, didn't notice, but good to know.

[PATCH sr.ht-apkbuilds] git.sr.ht: depend on py3-prometheus-client a month ago

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

Ref: ~sircmpwn/git.sr.ht#324
---
Also cross-posting to sr.ht-packages@, since I have no idea what the
package is called on Arch, maybe Eli or someone else here does

 sr.ht/git.sr.ht/APKBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sr.ht/git.sr.ht/APKBUILD b/sr.ht/git.sr.ht/APKBUILD
index 788350e..64b033b 100644
--- a/sr.ht/git.sr.ht/APKBUILD
+++ b/sr.ht/git.sr.ht/APKBUILD
@@ -11,6 +11,7 @@ depends="
	py3-pygit2
[message trimmed]

[PATCH git.sr.ht 1/1] Add push metrics to gitsrht-periodic a month ago

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

Ref: ~sircmpwn/git.sr.ht#324
---
 config.example.ini |  5 +++-
 gitsrht-periodic   | 73 +++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 73 insertions(+), 5 deletions(-)

diff --git a/config.example.ini b/config.example.ini
index f0f460b..d4e8fe4 100644
--- a/config.example.ini
+++ b/config.example.ini
@@ -79,7 +79,7 @@ pgp-key-id=
private-key=

[git.sr.ht]
[message trimmed]

Re: Missing spacing on top-level Markdown headings 2 months ago

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

On Fri, Sep 25, 2020 at 10:40:10AM -0400, gildarts wrote:
> .markdown h6 img {
> 	margin: 0 .2rem;
> }

Thanks for that implementation, works a charm!

I've ported it to the SCSS and posted to sr.ht-dev@ as
  <20200928200807.in3j63qkdcwhd4tx@tarta.nabijaczleweli.xyz>

Best,
наб