From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C53CB1F4B4; Sun, 24 Jan 2021 12:02:17 +0000 (UTC) Date: Sun, 24 Jan 2021 19:02:17 +0700 From: Eric Wong To: Kyle Meyer Cc: meta@public-inbox.org Subject: Re: [PATCH 02/10] lei: support remote externals Message-ID: <20210124120217.GA12880@dcvr> References: <20210123102755.425-1-e@80x24.org> <20210123102755.425-3-e@80x24.org> <87v9bmswkh.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87v9bmswkh.fsf@kyleam.com> List-Id: Kyle Meyer wrote: > I've been playing around with lei locally (wow :>). Glad you're enjoying it. I'm still not completely happy with some of the internals (the IPC stuff is a bit adventurous and perhaps overkill), but functionality's getting slowly fleshed out. Btw, since you seem to be figuring things out without existing docs, could I convince you to start manpages for lei? Don't feel obligated, but it might be better for everybody since my brain tends to skip over stuff that's only obvious because I designed it :x (and my brain feels "off" :<) I'm envisioning git-style manpages, with subcommands each having their own manpage and an lei-overview(7) with common examples as quick-start for beginners. > yhetil.org uses nginx and varnish, and I'm _very_ far from being an > expert in either of those, so I have no doubt that the above error could > be the result of me configuring something incorrectly. However, despite > a fair amount of time and effort, I couldn't figure out how to tweak > things to make the above command work without --data. Thanks, it may be nginx-specific behavior, but https://public-inbox.org/meta/20210124114655.12815-7-e@80x24.org/ should do the trick. > - my @cmd = qw(curl -XPOST -sSf); > + my @cmd = qw(curl -XPOST -d'' -sSf); That '' is a syntax error for me, and curl nags on -XPOST with -d, so I've omitted -XPOST from my patch. Thanks again for the report.