~yerinalexey

Stavropol, Russia

https://mastodon.online/@yerinalexey

Web developer, Rustacean, tiling WM guy

~yerinalexey/public-inbox

Last active 4 days ago
View more

Recent activity

[PATCH sr.ht-docs] builds.sr.ht: document /api/jobs/:id/cancel an hour ago

From Alexey Yerin to ~sircmpwn/sr.ht-dev

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
 builds.sr.ht/api.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/builds.sr.ht/api.md b/builds.sr.ht/api.md
index 2e1e14c..ba9c069 100644
--- a/builds.sr.ht/api.md
@@ -116,3 +116,7 @@ Returns the original job's build manifest as plain text.

Starts a job that was created with `execute=false`. Returns an empty JSON
object when successful.

[message trimmed]

Re: [PATCH taurus] Cancel request on invalid Unicode character an hour ago

From Alexey Yerin to ~garritfra/taurus

> Why do you add this error if you never call it?

Because FromUtf8Error converts to it when used with `?`.

[PATCH taurus] Cancel request on invalid Unicode character 18 hours ago

From Alexey Yerin to ~garritfra/taurus

It's pointless to continue as file names mostly don't contain invalid
Unicode.

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
 src/error.rs | 3 +++
 src/main.rs  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/error.rs b/src/error.rs
index f2910be..2e2fc71 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -17,6 +17,9 @@ pub enum TaurusError {
[message trimmed]

Re: [PATCH taurus] Extract I/O related functions to "io" module 2 days ago

From Alexey Yerin to ~garritfra/taurus

Sorry! I didn't mean to sent this patch there. Please reject

[PATCH taurus] Extract I/O related functions to "io" module 2 days ago

From Alexey Yerin to ~garritfra/taurus

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
 src/gemini.rs | 25 ++++++++++++++++++++++++
 src/io.rs     | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/main.rs   | 50 +++++------------------------------------------
 3 files changed, 84 insertions(+), 45 deletions(-)
 create mode 100644 src/io.rs

diff --git a/src/gemini.rs b/src/gemini.rs
index 8e4e8ec..11586ba 100644
--- a/src/gemini.rs
+++ b/src/gemini.rs
@@ -1,5 +1,7 @@
use crate::error::{TaurusError, TaurusResult};
[message trimmed]

[PATCH taurus v2] Extract I/O related functions to "io" module 4 days ago

From Alexey Yerin to ~garritfra/taurus

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
Fixed build issues

 src/gemini.rs | 25 ++++++++++++++++++++++++
 src/io.rs     | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/main.rs   | 50 +++++------------------------------------------
 3 files changed, 84 insertions(+), 45 deletions(-)
 create mode 100644 src/io.rs

diff --git a/src/gemini.rs b/src/gemini.rs
index 8e4e8ec..11586ba 100644
--- a/src/gemini.rs
+++ b/src/gemini.rs
[message trimmed]

[PATCH gmni v2] Refactor gmni to use Curl_URL 4 days ago

From Alexey Yerin to ~sircmpwn/gmni-devel

This also fixes relative redirects.

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
Do not initialize buffers, free() them after use

 src/gmni.c | 40 +++++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/src/gmni.c b/src/gmni.c
index 1c3e5f2..49abb85 100644
--- a/src/gmni.c
+++ b/src/gmni.c
@@ -14,6 +14,7 @@
[message trimmed]

[PATCH taurus] Extract I/O related functions to "io" module 4 days ago

From Alexey Yerin to ~garritfra/taurus

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
As a replacement for 'Add "io" module, move write_file to GeminiResponse'
which I happily messed up by including an unrelated change.

Anyway, you live, you learn, you don't make dumb mistakes again.

 src/gemini.rs | 25 ++++++++++++++++++++++++
 src/io.rs     | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/main.rs   | 50 +++++------------------------------------------
 3 files changed, 84 insertions(+), 45 deletions(-)
 create mode 100644 src/io.rs

diff --git a/src/gemini.rs b/src/gemini.rs
[message trimmed]

Re: [PATCH taurus v2] Add "io" module, move write_file to GeminiResponse 4 days ago

From Alexey Yerin to ~garritfra/taurus

I'll split this patch into multiple self-contained changes because this
one contains too much stuff.

[PATCH gmni] Refactor gmni to use Curl_URL 5 days ago

From Alexey Yerin to ~sircmpwn/gmni-devel

This also fixes relative redirects.

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
 src/gmni.c | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

diff --git a/src/gmni.c b/src/gmni.c
index 1c3e5f2..2aca21c 100644
--- a/src/gmni.c
+++ b/src/gmni.c
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <gmni/gmni.h>
[message trimmed]