~fgaz

Italy

https://fgaz.me/about/

CS student @chalmers.se | Haskell | NixOS | Risiko!

~fgaz/haskell-gemini-devel

Last active 20 days ago

~fgaz/haskell-gemini-announce

Last active 20 days ago

~fgaz/test

Last active 1 year, 4 months ago
View more

Recent activity

Re: [suggestion] Allow newlines in input? 9 days ago

From Francesco Gazzetta to ~julienxx/castor

I take it back! From the spec (emphasis mine):

> 1	INPUT
>	The requested resource accepts a *line* of textual user input.

Which is a bit of a shame.
I guess this is a discussion for the gemini mailing list now

[suggestion] Allow newlines in input? 18 days ago

From Francesco Gazzetta to ~julienxx/castor

I was thinking, the spec doesn't seem to disallow (properly urlencoded)
newlines in the input, so the textfield could actually be a textarea.
Pressing return would add a newline, while shift+return would send the
input (or viceversa).

This could enable some cool stuff like multi-line comments with
formatting.

Re: Make Project and Repo URLs case-preserving but case-insensitive Inbox 18 days ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-discuss

I was just about to make the same thread. I've been bitten by this too

[PATCH sr.ht-docs] Update nixos/latest to 20.03 26 days ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

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

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index 1997bbb..25bf8e7 100644
--- a/builds.sr.ht/compatibility.md
@@ -567,10 +567,10 @@ Maintainer: Francesco Gazzetta <fgaz@fgaz.me>
<table class="table table-sm table-hover">
  <thead>
    <tr>
      <th>NixOS 19.09</th>
      <th>NixOS 20.03</th>
[message trimmed]

[PATCH builds.sr.ht 2/2] Remove nixos 19.03 a month ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

---
 images/nixos/19.03/functions | 1 -
 images/nixos/19.03/genimg    | 3 ---
 2 files changed, 4 deletions(-)
 delete mode 120000 images/nixos/19.03/functions
 delete mode 100755 images/nixos/19.03/genimg

diff --git a/images/nixos/19.03/functions b/images/nixos/19.03/functions
deleted file mode 120000
index c0b5bcc..0000000
--- a/images/nixos/19.03/functions
@@ -1 +0,0 @@
../functions
[message trimmed]

[PATCH builds.sr.ht 1/2] Add nixos stable 20.03, update latest to it a month ago

From Francesco Gazzetta to ~sircmpwn/sr.ht-dev

---
 images/nixos/20.03/functions | 1 +
 images/nixos/20.03/genimg    | 3 +++
 images/nixos/latest          | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)
 create mode 120000 images/nixos/20.03/functions
 create mode 100755 images/nixos/20.03/genimg

diff --git a/images/nixos/20.03/functions b/images/nixos/20.03/functions
new file mode 120000
index 0000000..c0b5bcc
--- /dev/null
+++ b/images/nixos/20.03/functions
@@ -0,0 +1 @@
[message trimmed]

[PATCH 4/4] Use install -D instead of mkdir a month ago

From Francesco Gazzetta to ~julienxx/castor

---
 Makefile | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index 62a825c..1b39fa8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PREFIX=/usr

# What to run to install various files
INSTALL=install
INSTALL=install -D
[message trimmed]

[PATCH 3/4] Also remove the png icons on uninstall a month ago

From Francesco Gazzetta to ~julienxx/castor

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a408b35..62a825c 100644
--- a/Makefile
+++ b/Makefile
@@ -51,8 +51,9 @@ copy-data :
uninstall :
	# Remove the .desktop
	rm -f $(sharedir)/applications/Castor.desktop
	# Remove the icon
	# Remove the icons
[message trimmed]

[PATCH 2/4] Separate install-data and copy-data phases a month ago

From Francesco Gazzetta to ~julienxx/castor

Some platforms may want to build and install the rust binary separately
(for example for reproducibility and isolation reasons). This gives them
a way to only install the data files (with or without cache updates).
---
This is the only patch that actually makes it easier for me to package
castor, apply the others at your discretion

 Makefile | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 20aa2dc..a408b35 100644
--- a/Makefile
+++ b/Makefile
[message trimmed]

[PATCH 1/4] Remove duplicate binary installation a month ago

From Francesco Gazzetta to ~julienxx/castor

---
 Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile b/Makefile
index ee18f09..20aa2dc 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,6 @@ install : target/release/castor
	$(INSTALL_DATA) data/org.typed-hole.castor-128.png $(sharedir)/icons/hicolor/128x128/apps/org.typed-hole.castor.png
	# Force icon cache refresh
	touch $(sharedir)/icons/hicolor
	cp target/release/castor /usr/bin/castor
	# Install desktop file
[message trimmed]