~ecs

https://ecs.d2evs.net

~ecs/fosc

Last active 1 year, 3 months ago
View more

Recent activity

Re: Strange crashes 2 days ago

From Eyal Sawady to ~sircmpwn/gmni-discuss

I've experienced crashes as well, on both capsules I administrate.

The next step would be to debug further using a core dump. Since you're
on systemd, you can use `coredumpctl gdb`. The most useful information
will be the output of the command `bt full` - please send that to the
mailing list.

[PATCH builds.sr.ht] API: rig up JobGroup { triggers } 10 days ago

From Eyal Sawady to ~sircmpwn/sr.ht-dev

---
 api/graph/api/generated.go    |   8 +--
 api/graph/model/models_gen.go |  20 -------
 api/graph/model/trigger.go    | 108 ++++++++++++++++++++++++++++++++++
 api/graph/schema.resolvers.go |  31 +++++++++-
 4 files changed, 142 insertions(+), 25 deletions(-)
 create mode 100644 api/graph/model/trigger.go

diff --git a/api/graph/api/generated.go b/api/graph/api/generated.go
index 2a1a3b4..9ebd6ee 100644
--- a/api/graph/api/generated.go
+++ b/api/graph/api/generated.go
@@ -2074,9 +2074,9 @@ func (ec *executionContext) _EmailTrigger_cc(ctx context.Context, field graphql.
	if resTmp == nil {
[message trimmed]

Re: Branch-specific build manifests? 10 days ago

From Eyal Sawady to ~sircmpwn/sr.ht-discuss

On Sat May 1, 2021 at 2:21 PM EDT, Gregory Anders wrote:
> Is this documented somewhere?

No, it isn't.

> Also, is this any different than just `exit 0`?

Yeah, it skips the rest of the tasks in the build.

Re: Branch-specific build manifests? 10 days ago

From Eyal Sawady to ~sircmpwn/sr.ht-discuss

On Sat May 1, 2021 at 12:33 PM EDT, Pyxel wrote:
> I get that much, just unsure how to tell the website to skip the build
> after parsing.

Run `complete-build`.

[PATCH soju] handleUserDelete: delete the correct user 20 days ago

From Eyal Sawady to ~emersion/soju-dev

Prior to this, we deleted the user issuing the deletion rather than the
user which should've been deleted.
---
I found this bug the hard way. Hooray for backups!

This bug was introduced in fa16337d97f9e2edbae2860470f2427a4847821d
(Switch DB API to user IDs), because "username" was turned into
dc.user.ID rather than u.ID. This mistake was probably made because
u.Username was normally used for non-dc.user usernames prior to that
commit.
 service.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service.go b/service.go
[message trimmed]

[PATCH sr.ht-docs] billing-faq: fix another typo 22 days ago

From Eyal Sawady to ~sircmpwn/sr.ht-dev

---
 billing-faq.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/billing-faq.md b/billing-faq.md
index bc633e0..f3ea8ca 100644
--- a/billing-faq.md
@@ -90,7 +90,7 @@ Unlike GitHub and GitLab, your sr.ht subscription fee stays in open-source.
sr.ht is 100% free software, mostly licensed under the GNU Affero General Public
license (aka AGPL 3.0). We incorporate changes from the community and work
together to build the best service possible. Your payment provides for the cost
of operations, keeping someone online to maintain teh site, developing new
of operations, keeping someone online to maintain the site, developing new
[message trimmed]

[PATCH builds.sr.ht] API: rig up job { artifacts } 29 days ago

From Eyal Sawady to ~sircmpwn/sr.ht-dev

---
To be applied to the api branch.
 api/graph/model/artifact.go   | 49 +++++++++++++++++++++++++++++++++++
 api/graph/model/models_gen.go |  8 ------
 api/graph/schema.resolvers.go | 29 ++++++++++++++++++++-
 3 files changed, 77 insertions(+), 9 deletions(-)
 create mode 100644 api/graph/model/artifact.go

diff --git a/api/graph/model/artifact.go b/api/graph/model/artifact.go
new file mode 100644
index 0000000..5431de0
--- /dev/null
+++ b/api/graph/model/artifact.go
@@ -0,0 +1,49 @@
[message trimmed]

[PATCH sr.ht-apkbuilds] meta.sr.ht: upgrade to 0.53.16 a month ago

From Eyal Sawady to ~sircmpwn/sr.ht-packages

---
 sr.ht/meta.sr.ht/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sr.ht/meta.sr.ht/APKBUILD b/sr.ht/meta.sr.ht/APKBUILD
index e3b8eca..eb2012b 100644
--- a/sr.ht/meta.sr.ht/APKBUILD
+++ b/sr.ht/meta.sr.ht/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=meta.sr.ht
pkgver=0.53.15
pkgver=0.53.16
pkgrel=0
[message trimmed]

[PATCH sr.ht-docs] git.sr.ht: fix typos a month ago

From Eyal Sawady to ~sircmpwn/sr.ht-dev

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

diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md
index 2952767..eb9cf23 100644
--- a/git.sr.ht/index.md
+++ b/git.sr.ht/index.md
@@ -54,13 +54,13 @@ SourceHut. This tool may be helpful to users who are used to the "pull request"
style contribution popularized by GitHub, GitLab, and others.

<div class="alert alert-info">
  <strong>Head's up:</strong> git also has a built-in CLI tool for preparing
  <strong>Heads up:</strong> git also has a built-in CLI tool for preparing
[message trimmed]

[PATCH gmni] all: use posix_dirname rather than dirname a month ago

From Eyal Sawady to ~sircmpwn/gmni-devel

---
 src/gmnlm.c | 19 ++++++-------------
 src/tofu.c  | 13 ++++---------
 2 files changed, 10 insertions(+), 22 deletions(-)

diff --git a/src/gmnlm.c b/src/gmnlm.c
index 1379959..c59e68c 100644
--- a/src/gmnlm.c
+++ b/src/gmnlm.c
@@ -162,18 +162,15 @@ save_bookmark(struct browser *browser)
	size_t n;

	n = snprintf(path, sizeof(path), path_fmt, "bookmarks.gmi");
	free(path_fmt);
[message trimmed]