From patchwork Tue Oct 29 07:26:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1185903 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 472NSR3P5nz9sPT for ; Tue, 29 Oct 2019 18:26:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="Z9wi/bmp"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 472NSR1lZSzF1Sg for ; Tue, 29 Oct 2019 18:26:47 +1100 (AEDT) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=axtens.net (client-ip=2607:f8b0:4864:20::630; helo=mail-pl1-x630.google.com; envelope-from=dja@axtens.net; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="Z9wi/bmp"; dkim-atps=neutral Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 472NS72gvvzDrSp for ; Tue, 29 Oct 2019 18:26:28 +1100 (AEDT) Received: by mail-pl1-x630.google.com with SMTP id t12so2507043plo.6 for ; Tue, 29 Oct 2019 00:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1CImutW9Qn6jGfqfFYMnMB3OnMKOpwGxQjKR29ts1fE=; b=Z9wi/bmpe0X8LgmBmaiMvVelOsm+qQxsurjFzi5S0xVxXqvij8dPepuQeFHa3I5uRb 3llnTF7GerwFgTkXb9tP9lI3f/tvLPGWtCtU/Em8kCeUFREPfBw4NoKs0zLEh5d6Q8gf gVl+NC+0zyYr3rdvBzkfnegYbBFld5gXE58fM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1CImutW9Qn6jGfqfFYMnMB3OnMKOpwGxQjKR29ts1fE=; b=gCnixZtdJWnJXwvrD4Ui53Cxkw/Riy6oqQAjW9JC7vJHr4smKB7WZQYcZykNRFXL8p HK4DGIL2CUpyIZbGpAXpeNuwwjLJHLjlghmVcK7R7ExTHP1VdVQNnlk2iCFMrLzRCD+8 zRNE+gQXj5/kuahldqQZOLYQBIMxpEekXPioIb2dLPQpOiDHhYoLbCOSFJ8p6JegEDWU BsEq2spHUBMR0gXUBfWmMKGS+Lde4h0FP2FrCRMYmr+nZTbU2X2Md5XFQ8xZC+t7PMsc IGFSHvyJiPIKEfPeZO19KBJcORxBVKN9UteUQCa2m8LCvF3TwiAFVOkrw1jmtyhD5Pqh ldiw== X-Gm-Message-State: APjAAAVuvHL3uPlxW9++ai/kj20dVIfEwbjnayTQ3LT7FNe/Z6bfWrZt aaIDF8opBehs1R58puWdBMI7vxJI0iQ= X-Google-Smtp-Source: APXvYqyLns3V7Vt7UQwK05dEbkkpY4H5XzvQnDPuyqWbvtI8lgIVbTZWKerOqHykX1qvs3iw0wftMA== X-Received: by 2002:a17:902:b947:: with SMTP id h7mr2464352pls.12.1572333981513; Tue, 29 Oct 2019 00:26:21 -0700 (PDT) Received: from localhost (2001-44b8-1113-6700-783a-2bb9-f7cb-7c3c.static.ipv6.internode.on.net. [2001:44b8:1113:6700:783a:2bb9:f7cb:7c3c]) by smtp.gmail.com with ESMTPSA id n23sm12853041pff.137.2019.10.29.00.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 00:26:20 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH 1/3] README: fix .env Date: Tue, 29 Oct 2019 18:26:14 +1100 Message-Id: <20191029072616.9212-1-dja@axtens.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" The .env setup didn't do GID. It's a bit of a chore to do because there doesn't seem to be a GID shell variable and because we need to do a bit more work to get a multi-line thing, but this should work. While we're at it, change the docker-compose info, it's hopelessly out of date. Signed-off-by: Daniel Axtens Reviewed-by: Stephen Finucane --- README.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index f5fc1d1aba76..6cc74d4cc043 100644 --- a/README.rst +++ b/README.rst @@ -58,11 +58,12 @@ environment. To install Patchwork: $ git clone https://github.com/getpatchwork/patchwork.git 3. Create a ``.env`` file in the root directory of the project and store your - ``UID`` attribute there:: + ``UID`` and ``GID`` attributes there:: - $ cd patchwork && echo "UID=$UID" > .env + $ cd patchwork && printf "UID=$(id -u)\nGID=$(id -g)\n" > .env -4. Build the images. This will download over 200MB from the internet:: +4. Build the images. This will download a number of packages from the internet, + and compile several versions of Python:: $ docker-compose build