From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.96.80] (unknown [182.2.72.31]) by gnuweeb.org (Postfix) with ESMTPSA id B81DB7E77D; Sat, 30 Apr 2022 17:54:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1651341289; bh=dKK9axbyP8XL4FI1JX0e1bK6j4l5V9NgmIrTTe2xLl0=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=aIr19Z72Hnlq12ZuNbIat1OQygNfnqkv0xj7kkKE9hKX1HfhWkV/BfFcpDx3VV8h7 P/Ni8M1YjBJWoSb+waxk6ZKym6HCzIPL/VpJb+uOi9T+fIAgNDLXhEDwjaiq+Q5fgs vO993MC++uuD/rjgDXLP3i3SGjGWuoE1UZKR0PuvDzEeN+BM0042+5omOuyTVKUXTl pMdhQpjHwV2D2DFBi7hVTvVfyLtshGYxT+ZwGAUGmC/J7cH6mxyaFblus7Y1r3GQjr myjKrKGuXo8N73aY6R/YqVGHp+zh7Fw8eR5i7ZqIduscq0P1eQXYqzDGgkpka8ek0i fFG/Vu0n9piSg== Message-ID: <7e2d3d33-e97b-73ab-8e7a-14534c997afa@gnuweeb.org> Date: Sun, 1 May 2022 00:54:44 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH server-a001 v2 3/4] Create `storage` directory for saving persistent data Content-Language: en-US From: Ammar Faizi To: Alviro Iskandar Setiawan Cc: Hazmi Alfarizqi , GNU/Weeb Mailing List , Hazmi Alfarizqi References: <20220430170838.19571-1-ammarfaizi2@gnuweeb.org> <20220430170838.19571-4-ammarfaizi2@gnuweeb.org> <7e0ba718-69a3-d1e4-8cfc-21aa6c35d45f@gnuweeb.org> In-Reply-To: <7e0ba718-69a3-d1e4-8cfc-21aa6c35d45f@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: On 5/1/22 12:39 AM, Ammar Faizi wrote: > On 5/1/22 12:30 AM, Alviro Iskandar Setiawan wrote: >> You made typos: >> >>    s/commited/committed >>    s/commiting/committing >> >> Also, public-inbox is a git tree too, so the former sentence is wrong. >> But I understand the point of this patch. > > Oh yeah, you're right. When I was working on this patch I didn't think > about other services, only MySQL in my mind. I will fix them all. > > Thanks! Fixed, it looks like this now. Thanks! --- From: Ammar Faizi Subject: [PATCH 3/4] Create `storage` directory for saving persistent data This is a directory to save persistent data across `docker run`. All files inside this directory are ignored by git. They shouldn't be committed to the same git tree together with `server-a001` project. The first use case of this directory is for the MySQL data. The container will mount particular directories inside this `storage` directory. Side note: For data backup, the data inside the `storage` directory should be backed up independently with this tree. [ammarfaizi2: Reword the commit message] Link: https://lore.gnuweeb.org/gwml/20220430170838.19571-4-ammarfaizi2@gnuweeb.org Reviewed-by: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- storage/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 storage/.gitignore diff --git a/storage/.gitignore b/storage/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore -- Ammar Faizi