From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kIteEsplPmckFgAA62LTzQ:P1 (envelope-from ) for ; Wed, 20 Nov 2024 22:42:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kIteEsplPmckFgAA62LTzQ (envelope-from ) for ; Wed, 20 Nov 2024 23:42:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XNHRJyy+; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Usuxb+VK; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732142538; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=tZuUX3LbDTqrqpDazbqOSkAPKWg4iht8FTfRSmgd6eg=; b=hHUrn6jtrYGkYKm897ajZGfR5Pl2khVZoN6q4slxRklWbpORG1aQnajagX3UlEpotiLSop Q02RcwyBlmXhmjRs4PthllXogrf7xmY4smhl9mI1IZcm1B1UGnGjYWwGMXxA7xpC+Z8IQU BC+8seccwx5Ld06T7kqdgko5zW1EXcB2xVXoMckH/jRvfqyixKNafm81o6rE7moz9vf/q1 f8bf6nWBd+2FurSeqybHfzhPOPRNwQl0ti5woYzaS/2M6m7F3cga/W514OR56E2LUieUiA tB0s6qqWYGCSU/tCY0QGy9xnWwclB3FaxLFw7th07zo95N6v3CaS4F7VEXgX1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XNHRJyy+; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Usuxb+VK; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732142538; a=rsa-sha256; cv=none; b=U5KTtKM24elOwtjm6JzMuTGwFF1LjX+Wui8YygWq/E2+2iRKk5WNUTOw+XbLSpS2C8Ebr1 IE7nMnN4w3+XXMBw2lGdCF7TGJJbFCmGkGQgbZW3qACSfpPtw+GjRhPdo5I0kTJB7wFuk+ YTuvRC4fFuQ8MvuoC2gA59I/pS+cONqF+0mnE8pbP6OTBIHncBBqjaoLSW0tBoXJTPzQ9s /L8wZh53O9MhRetJX/bQgP81rykT9UHTM3IYKtemDiT9jX4Xa+78IY47Fuj9RQtHIL4BI2 X3s79v/Cjm8oYYl3IM8Tb5oeQGgASlPMZYOpX2r63Uc39wEfNHFBKot3vlsjjQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E409888478 for ; Wed, 20 Nov 2024 23:42:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDtOe-0006L0-VD; Wed, 20 Nov 2024 17:42:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDtOc-0006Ke-Gr for guix-patches@gnu.org; Wed, 20 Nov 2024 17:42:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDtOc-0001AI-8P for guix-patches@gnu.org; Wed, 20 Nov 2024 17:42:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=tZuUX3LbDTqrqpDazbqOSkAPKWg4iht8FTfRSmgd6eg=; b=XNHRJyy+OUNr46YcVAd2xbqjsfAC5+6L5XCADqSgjgq9DMNYHWc18jdP9tJd9s543CVCSHg+ohA1GmWZ15qPymioEE0aIgfFMpylwEcPgnokdJGry23+7MCJY9Bs8TbUTRMcolqowVElk+GWy0pNyj7qRD6EuHarfqN/MBeNPrV/W+Thc+6h/6L+pwCfMlGHVcdiZ83+6UrWOcoVbkAX+eZ/B4c+r2TE0SOVqIEKDNcMm+SOaYuOc16eJe22/igeSaw/sONRq3fflyZl57kEMD2KdI57OUhqNGoP8iNgoEdvSOo66M0H+zdLF2NYXmmcEH8LkfN61xZj9awRH8WCVw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDtOb-0004Vl-QC for guix-patches@gnu.org; Wed, 20 Nov 2024 17:42:01 -0500 Subject: bug#71676: [PATCH v3] services: nginx-upstream-configuration: Allow file-like objects Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 20 Nov 2024 22:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 71676-done@debbugs.gnu.org, Florian Pelz , Maxim Cournoyer Mail-Followup-To: 71676@debbugs.gnu.org, ludo@gnu.org, ~@wolfsden.cz Received: via spool by 71676-done@debbugs.gnu.org id=D71676.173214249017283 (code D ref 71676); Wed, 20 Nov 2024 22:42:01 +0000 Received: (at 71676-done) by debbugs.gnu.org; 20 Nov 2024 22:41:30 +0000 Received: from localhost ([127.0.0.1]:48172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDtO6-0004Uh-9y for submit@debbugs.gnu.org; Wed, 20 Nov 2024 17:41:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDtO4-0004UV-Lm for 71676-done@debbugs.gnu.org; Wed, 20 Nov 2024 17:41:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDtNy-00011c-FW; Wed, 20 Nov 2024 17:41:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=tZuUX3LbDTqrqpDazbqOSkAPKWg4iht8FTfRSmgd6eg=; b=Usuxb+VKEJJ1Ow0Yhuqn 41Gi7vjM5VfLz2AnJZbwUISi6TssUAccyxh9zjmd+AeXHswXG7kLI8jRJ+VN+aNJDuipQA6uTsdB/ H41cOkqyZaY51KVLM/xxCeTdM+QIZAG1/Pi09r6BwTzXDfsSADCTNnxyiUyCIiTTjBhupIfD9BmSx 9OZLDhQ6jA8lrE2uQz6Q9jxZOussXAblV45+n6cK+uVXXSivcEiJrpF4hVXy/9BzXrPOLGlcLfUT2 Lll5qyut5+cAkkohe6Xaw4VtTYWInEEbvLalSo6AjklAUSCGy21pynxL+qpYlNT+jk/ZkyDLZrFbd oUdVGsJ90BTH+g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <734857b0ef0cc747f01f5cd45f6776fce89a9e64.1728228177.git.~@wolfsden.cz> (Tomas Volf's message of "Sun, 6 Oct 2024 17:22:57 +0200") References: <734857b0ef0cc747f01f5cd45f6776fce89a9e64.1728228177.git.~@wolfsden.cz> Date: Wed, 20 Nov 2024 23:41:17 +0100 Message-ID: <87jzcxtto2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.72 X-Spam-Score: -0.72 X-Migadu-Queue-Id: E409888478 X-TUID: MHpcwsKhHF8W Tomas Volf <~@wolfsden.cz> skribis: > * gnu/services/web.scm (emit-nginx-upstream-config): Support file-like > objects. > * doc/guix.texi (Web Services)[nginx-upstream-configuration]: Document it. > > Change-Id: I49996e358174dc77b31e3c91b908a6a72f3eb705 > --- > v2: Keep support for plain string or file-like object. I did not realize > that flatten also accepts non-lists and wraps them in a list. > v3: Rebase on latest master. Applied, thanks!