Tango X-Ray
From Scott Little to ~mcf/cproc
Hi,
I was reading `software.md` and found what appears to be a double
negative:
> Note: this is a hack and won't be ABI-incompatible with musl
Should it be "API-compatable"?
--
Ellie Little (she/her/hers)
From Scott Little to ~sircmpwn/hare-dev
When lookup (and, by extension, dirs::config and dirs::cache) cannot create the computed directory, program execution aborts with an unhelpful error message, "Assertion failed". This changes that error message to display the actual error if os::mkdirs() failed. Signed-off-by: Scott Little <jupiter@m.rdis.dev> --- dirs/xdg.ha | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dirs/xdg.ha b/dirs/xdg.ha index 4f5cc477..acc70265 100644 --- a/dirs/xdg.ha +++ b/dirs/xdg.ha [message trimmed]
From Scott Little to ~sircmpwn/hare-dev
When lookup (and, by extension, dirs::config and dirs::cache) cannot create the computed directory, program execution aborts with an unhelpful error message, "Assertion failed". This changes that error message to display the actual error as returned by os::mkdirs() fails. I'm open to suggestions on how to handle this better; on one hand config() and cache() could return errors, or just keep the existing behavior but with a better error message. Signed-off-by: Scott Little <jupiter@m.rdis.dev> --- dirs/xdg.ha | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) [message trimmed]
From Scott Little to ~arcade/hcwiki-devel
--- default.nix | 24 ++++++++++++++++++++---- shell.nix | 1 + 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index b25493b..6f31136 100644 --- a/default.nix +++ b/default.nix @@ -3,20 +3,36 @@ pkgs.buildGoPackage rec { pname = "hcwiki"; version = "v1.2.0"; nativeBuildInputs = with pkgs; [ amfora ];[message trimmed]
From Scott Little to ~arcade/hcwiki-devel
This adds real man pages for the cli, config file, and wiki entries. --- hcwiki-entry.5.scd | 38 ++++++++++++++++++++++++++++++++++++ hcwiki.1.scd | 48 ++++++++++++++++++++++++++++++++++++++++++++++ hcwiki.5.scd | 37 +++++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 hcwiki-entry.5.scd create mode 100644 hcwiki.1.scd create mode 100644 hcwiki.5.scd diff --git a/hcwiki-entry.5.scd b/hcwiki-entry.5.scd new file mode 100644 index 0000000..9d95020 --- /dev/null [message trimmed]
From Scott Little to ~arcade/hcwiki-devel
--- hcwiki.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcwiki.go b/hcwiki.go index a4ab5a8..8b0b1e8 100644 --- a/hcwiki.go +++ b/hcwiki.go @@ -57,7 +57,7 @@ func parseGmi(filename string, conf config) map[string]interface{} { matter.Handle("---", front.YAMLHandler) fmatter, body, err := matter.Parse(file) if err != nil { fmt.Fprintln(os.Stderr, chalk.Red, "Uh oh looks like there's no front matter.") fmt.Fprintln(os.Stderr, chalk.Red, "Uh oh looks like there's no front matter.", chalk.ResetColor)[message trimmed]
From Scott Little to ~arcade/hcwiki-devel
diff --git a/hcwiki.go b/hcwiki.go index fe47589..8a4d69f 100644 --- a/hcwiki.go +++ b/hcwiki.go @@ -7,7 +7,6 @@ import ( "log" "net/url" "os" "log" "os/exec" "path" "strings" @@ -35,7 +34,7 @@ type frontMatter struct { func validateLink(link string, conf config) string { [message trimmed]
From Scott Little to ~arcade/hcwiki-devel
diff --git a/hcwiki.go b/hcwiki.go index ff6bc3f..a4ab5a8 100644 --- a/hcwiki.go +++ b/hcwiki.go @@ -162,6 +162,19 @@ func buildFiles(conf config) map[string]interface{} { return builtTags } func getEditor() string { // Get the user's preffered editor // or, fall back to: // $VISUAL, $EDITOR, nano if visual := os.Getenv("VISUAL"); visual != "" { return visual;[message trimmed]
From Scott Little to ~arcade/hcwiki-devel
diff --git a/hcwiki.go b/hcwiki.go index a305f2e..a09c2eb 100644 --- a/hcwiki.go +++ b/hcwiki.go @@ -160,6 +160,19 @@ func buildFiles(conf config) map[string]interface{} { return builtTags } func getEditor() string { // Get the user's preffered editor // or, fall back to: // $VISUAL, $EDITOR, nano if visual := os.Getenv("VISUAL"); visual != "" { return visual;[message trimmed]
From Scott Little to ~arcade/hcwiki-devel
diff --git a/hcwiki.go b/hcwiki.go index 40442de..9e10ab3 100644 --- a/hcwiki.go +++ b/hcwiki.go @@ -7,7 +7,6 @@ import ( "log" "net/url" "os" "log" "os/exec" "path" "strings" @@ -34,7 +33,7 @@ type frontMatter struct { func validateLink(link string) string { [message trimmed]