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 From patchwork Tue Oct 29 07:26:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1185904 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 472NSt5wQRz9sPT for ; Tue, 29 Oct 2019 18:27:10 +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="bkjkHsUb"; 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 472NSt3yRfzF1SK for ; Tue, 29 Oct 2019 18:27:10 +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::52d; helo=mail-pg1-x52d.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="bkjkHsUb"; dkim-atps=neutral Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (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 472NS72Mg4zDrRC for ; Tue, 29 Oct 2019 18:26:30 +1100 (AEDT) Received: by mail-pg1-x52d.google.com with SMTP id l24so8891815pgh.10 for ; Tue, 29 Oct 2019 00:26:30 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=2lPLfYUuSGM76xTQEigj0RDip/n+TqL9ArrJhlR0Ekc=; b=bkjkHsUbgkDn8PYrJ0Jv35DEcPf2RD1Qs56d+askJKqqH+Ohc6Z0x3rcUqtiizdHzO tqVP4mAZHmQ1Zs4HeTHuWQORtIoA7j3w+BFYDB/XePKnO7+uxs2RfCpNLEOq4pquoEEh TD0SPCzPqYmWLduiY7ET4SPmTSCf0k3lXclek= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=2lPLfYUuSGM76xTQEigj0RDip/n+TqL9ArrJhlR0Ekc=; b=iDR/4mKlLYKl973VndGHHMNgjwZUJLeICz7LQVYU4Yyf2iUeF0XMZrr7RHSWTSVidG /C+yAjLaCvUtCfPddT3D6aG5cl3IR6xhGU6Vw2AWgfosEj6PR6chEbBdlC6dU9NaYSlc WvBKoZ5HGl2b+PLt8RViOpcVuH99hucoTuX6gslpinDpywUzjr+I6zjKYK8Pgy33dGgT KoUEAvbkGwOsZ9Mm/6ppqVtV3Q+Bt0yKC26uG7ly1nD8cZsS+k//n7SzTzCErjGtnD9p SMh+5rstbFoPvYrp+Ln6XPBYPdqeQtv18uvPybHzIyjykNK9w/wVVg/ukE/SusgdnBL4 EV0w== X-Gm-Message-State: APjAAAVlZMT4UqwZBT7hFGsRsTeoYDdbCiAKetqw5opA1mvhyQMQrGs7 wpsAaZ6HbB3MKs5YEQRGeDpBw1RwjrY= X-Google-Smtp-Source: APXvYqz2kUyd4WT+eTCPE1j/3lVbrmEiBjgv7smjdlkoSb5tEcX/qfESkteft4j1hNlivdbB8jpaZw== X-Received: by 2002:a63:ff65:: with SMTP id s37mr11745794pgk.331.1572333986157; Tue, 29 Oct 2019 00:26:26 -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 d17sm13031222pfd.118.2019.10.29.00.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 00:26:25 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH 2/3] README: stop trying to track supported versions Date: Tue, 29 Oct 2019 18:26:15 +1100 Message-Id: <20191029072616.9212-2-dja@axtens.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191029072616.9212-1-dja@axtens.net> References: <20191029072616.9212-1-dja@axtens.net> 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" We're not doing a good job of it, the versions are out of date and we keep forgetting to update the README. We are a bit better at making release notes, so just point people there. Signed-off-by: Daniel Axtens Reviewed-by: Stephen Finucane --- README.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 6cc74d4cc043..f6a030187730 100644 --- a/README.rst +++ b/README.rst @@ -37,13 +37,17 @@ of community projects. Requirements ------------ -- Python (2.7, 3.5 - 3.8) +Patchwork requires reasonably recent versions of: -- Django (1.11, 2.1 - 2.2) +- Python (2 or 3) -- Django REST Framework (3.6 - 3.9) +- Django -- Django Filters (1.0 - 2.0) +- Django REST Framework + +- Django Filters + +The precise versions supported are listed in the `release notes`_. Development Installation ------------------------ @@ -104,6 +108,7 @@ Contact For bug reports, patch submissions or other questions, use the `mailing list`_. +.. _release notes: https://patchwork.readthedocs.io/en/latest/releases/ .. _docker-compose: https://docs.docker.com/compose/install/ .. _Docker: https://docs.docker.com/engine/installation/linux/ .. _documentation: https://patchwork.readthedocs.io/ From patchwork Tue Oct 29 07:26:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1185905 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (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 472NTG1LMdz9sPT for ; Tue, 29 Oct 2019 18:27:30 +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="By7nUIix"; 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 472NTF490lzF1Tg for ; Tue, 29 Oct 2019 18:27:29 +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::443; helo=mail-pf1-x443.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="By7nUIix"; dkim-atps=neutral Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (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 472NS95zwqzDrRC for ; Tue, 29 Oct 2019 18:26:33 +1100 (AEDT) Received: by mail-pf1-x443.google.com with SMTP id 3so8894106pfb.10 for ; Tue, 29 Oct 2019 00:26:33 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=+srboXSFMC9qWwIh2Dvp/APZFOF20sJOe3w3ds368cs=; b=By7nUIixw/UHO11fP+WRWAXdOZBOiIZqFyWoFXgp4qYbXY7blh3xH1i1Jxgvz06tRh JQf1kITrXPyK09n9DFdDgzh8v/adyBI++R2pxjsrefSuN2KPqyjiBh3Rh1TWHDfhNAe4 PUixSiUNpX6RX8Yum/omybPEG/V9p9ffcfAV8= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+srboXSFMC9qWwIh2Dvp/APZFOF20sJOe3w3ds368cs=; b=qQjnnzW8ofOKvbWL2kJa6W1XNoi/BYtURyFu1LF8xYA/0oaTl9oRzUEQeC928AO9X3 vrTht5G9I6Hv9HezrntAKKtOHc8peOuidcdIAOrjwp+kc9pgb8UBlkOAsYnsMl12cUJn duXRck3HvXayJH718InI28iVlHS3kxRIx3FuBnM6HCgAXodxba8aa2cL+8m2FSY++UZp ATflhQ6tYyDPIfA1tGsp715UsiwTyegKS7jdbgmAw44XOU/xl0x0QoXEe/tmc4gNLWXX BTOJFLPM1HPw6pnErGX0S4+ppwtCirn5bSYTMyOiGcoetbQFFnhp5YGPLxYXDhuz4dNx gq2A== X-Gm-Message-State: APjAAAVt3T+mpEGdrwZBVKLhirEfMQ1+CF2YtGql9we9kOk2P/ilf8Vj 5TznrlCCN0fwthl/KFH3WQpvkv32Ka4= X-Google-Smtp-Source: APXvYqw8a9XU/K8Vddi2RiS53mXvJ1dNGSIuWyA127rfh0mmD2zCwjXoXUx7QibzaisEG7BoqRN0Zg== X-Received: by 2002:a63:3847:: with SMTP id h7mr9591581pgn.364.1572333990934; Tue, 29 Oct 2019 00:26:30 -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 j14sm1421833pje.17.2019.10.29.00.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 00:26:30 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH 3/3] README: trivial fix Date: Tue, 29 Oct 2019 18:26:16 +1100 Message-Id: <20191029072616.9212-3-dja@axtens.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191029072616.9212-1-dja@axtens.net> References: <20191029072616.9212-1-dja@axtens.net> 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" Signed-off-by: Daniel Axtens Reviewed-by: Stephen Finucane --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f6a030187730..2f89b000ecc9 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ The precise versions supported are listed in the `release notes`_. Development Installation ------------------------ -`Docker`_ is the recommended installation methods for a Patchwork development +`Docker`_ is the recommended installation method for a Patchwork development environment. To install Patchwork: 1. Install `Docker`_ and `docker-compose`_.