Valentin Maerten a41df4a127 fix(remote): report a 401 instead of a missing Taskfile
RemoteExists treated every non-200 as an absent file, so a server
refusing the credentials ended up as "No Taskfile found", sending the
user to check the URL rather than the token. A 401 now stops the search
and reports the status code; the default names need the same credentials,
so trying them would only add rejected requests. A 403 is left alone: it
is also what a server without directory listing answers for a readable
directory.

That message being correct, the expansion no longer needs to refuse an
undefined variable: os.ExpandEnv is inlined and expandEnv is gone. The
`$$` escape goes with it, so a literal value can no longer hold a `$`
followed by a name; a secret carried in an environment variable is
unaffected, as os.Expand never rescans what it substituted.

Header names are validated with httpguts.ValidHeaderFieldName, the table
net/http itself uses, rather than a denylist that let X-Foo(bar) through.
golang.org/x/net was already in the module graph, so tidy only moves it
to the direct block.

Finally, node_http_auth.go becomes http_auth.go: the node_ prefix is for
files defining a Node type, and this one holds the auth concern of
HTTPNode plus hostMatches, which reader.go uses for trusted hosts.
2026-08-23 12:11:55 +02:00
2026-06-29 14:13:37 +00:00
2025-05-01 18:43:43 +01:00
2026-08-11 22:09:25 +02:00
2025-04-19 12:55:22 +01:00
2024-08-14 08:37:05 -05:00
2017-02-28 09:15:25 -03:00

Task: The Modern Task Runner

A fast, cross-platform build tool inspired by Make, designed for modern workflows.

InstallationGetting StartedDocsTwitterBlueskyMastodonDiscord

Gold Sponsors

Community Sponsors

JetBrains logo
Package hosting provided by Cloudsmith. Tooling provided by JetBrains.
Description
A task runner / simpler Make alternative written in Go
Readme MIT 43 MiB
Languages
Go 83.8%
TypeScript 4.8%
Vue 4.5%
Shell 3.9%
Nushell 1.3%
Other 1.7%