From KAAtheWise to ~emersion/public-inbox
--- config.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config.ini b/config.ini index 2d7229f..191a51b 100644 --- a/config.ini +++ b/config.ini @@ -36,7 +36,7 @@ welcome-emails=no [meta.sr.ht::api] max-complexity=200 max-duration=3s internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8 internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12[message trimmed]
From KAAtheWise to ~sircmpwn/sr.ht-dev
During the upgrade to `gqlgen` version 1.17.42 a breaking change was introduced, as `map[string]interface{}` values were changed to be type checked in 1.17.40 (commit 74e918f9, PR https://github.com/99designs/gqlgen/pull/2830). As Emersion noted, changing `OptionalString` to `Optional` fixes this. Additionally, I replaced the "placeholder" error message with something a bit more descriptive as a stopgap measure. --- api/graph/schema.resolvers.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/graph/schema.resolvers.go b/api/graph/schema.resolvers.go index 9c29610..ba27250 100644 [message trimmed]
From KAAtheWise to ~sircmpwn/sr.ht-discuss
Good day! I tried to change the visibility setting on one of my project, but couldn't do it. The web UI settings don't work. Each time I change the metadata and click save, the page gets reset to the old parameters. The `hut` tool works for description, but not for the visibility setting: ``` ~> hut git update fs --visibility public gqlclient: server failure: Expected visibility to be a string
From KAAtheWise to ~sircmpwn/sr.ht-dev
--- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index ac220f8..6216ee5 100644 --- a/index.html +++ b/index.html @@ -181,7 +181,7 @@ dt { </div> <div class="col-md-4"> <dt> <strong>pages.sr.ht</strong>: static web hosting <strong>srht.site</strong>: static web hosting[message trimmed]
From KAAtheWise to ~sircmpwn/alpine-aports
--- testing/circumflex/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/circumflex/APKBUILD diff --git a/testing/circumflex/APKBUILD b/testing/circumflex/APKBUILD new file mode 100644 index 00000000000..349a89c02de --- /dev/null +++ b/testing/circumflex/APKBUILD @@ -0,0 +1,31 @@ # Contributor: KAA the Wise <KAAtheWise@protonmail.com> # Maintainer: KAA the Wise <KAAtheWise@protonmail.com> pkgname=circumflex[message trimmed]
From KAAtheWise to ~sircmpwn/hare-dev
If the end type is passed as the left bound, the length of the string in chars can be determined using len instead of iterating over it. Signed-off-by: KAA the Wise <KAAtheWise@protonmail.com> --- strings/sub.ha | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/strings/sub.ha b/strings/sub.ha index 5690f2f6..5f069a59 100644 --- a/strings/sub.ha +++ b/strings/sub.ha @@ -22,21 +22,6 @@ fn utf8_byte_len_bounded(iter: *iterator, end: size) size = { return pos; [message trimmed]
From KAAtheWise to ~sircmpwn/alpine-aports
A port for the SCC SLOC/CLOC counter. --- testing/scc/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/scc/APKBUILD diff --git a/testing/scc/APKBUILD b/testing/scc/APKBUILD new file mode 100644 index 00000000000..a7a313f954c --- /dev/null +++ b/testing/scc/APKBUILD @@ -0,0 +1,29 @@ # Contributor: KAA the Wise <KAAtheWise@protonmail.com> # Maintainer: KAA the Wise <KAAtheWise@protonmail.com>[message trimmed]
From KAAtheWise to ~sircmpwn/hare-dev
If the end type is passed as the end bound, the length of the string in chars can be determined without iteration by using len. --- strings/sub.ha | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/strings/sub.ha b/strings/sub.ha index 5690f2f6..5f069a59 100644 --- a/strings/sub.ha +++ b/strings/sub.ha @@ -22,21 +22,6 @@ fn utf8_byte_len_bounded(iter: *iterator, end: size) size = { return pos; }; [message trimmed]
From KAAtheWise to ~vladh/hare-project-library
--- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f5b8cf8..c512437 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,7 @@ If you're interested specifically in 3D graphics, check out * [~chrisppy/hare-scfg](https://git.sr.ht/~chrisppy/hare-scfg): A Hare library for a simple configuration file format * [~ecs/hare-stl](https://git.d2evs.net/~ecs/hare-stl): STL implementation for Hare * [~jfentker/hare-csv](https://git.sr.ht/~jfentker/hare-csv): CSV support for Hare * [~kaathewise/hare-regex](https://git.sr.ht/~kaathewise/hare-regex): Hare regex engine with wider functionality * [~phw/hare-discid](https://git.sr.ht/~phw/hare-discid/): Hare bindings for MusicBrainz libdiscid [message trimmed]
From KAAtheWise to ~sircmpwn/hare-dev
Changed range expressions to cast runes to u32 instead of u8. This means the range expressions now support multibyte codepoints. Also added tests for different alphabets. It includes Cyrillic/Polish/Thai alphabets. In addition, edited the testing code to use rune length instead of byte length. Signed-off-by: Andrey Kolchin <kaathewise@protonmail.com> --- regex/+test.ha | 30 +++++++++++++++++++++++++++++- regex/regex.ha | 16 +++++----------- 2 files changed, 34 insertions(+), 12 deletions(-) diff --git a/regex/+test.ha b/regex/+test.ha [message trimmed]