Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKrSj-0000rM-EU for pgsql-translators@arkaria.postgresql.org; Sun, 28 Apr 2019 21:35:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hKrSg-0004Es-6D for pgsql-translators@arkaria.postgresql.org; Sun, 28 Apr 2019 21:35:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKrSf-0004Ek-Sz for pgsql-translators@lists.postgresql.org; Sun, 28 Apr 2019 21:35:50 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKrSb-0002w2-VB for pgsql-translators@postgresql.org; Sun, 28 Apr 2019 21:35:48 +0000 Received: by mail-qt1-x841.google.com with SMTP id y49so4206087qta.7 for ; Sun, 28 Apr 2019 14:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=6nkwfNdvDLzvT5Bil5W4azq6TLQ/y1Yiw/PCL9LJGzc=; b=z6lHD8UxJlREmPsOsCMEPhVUpJXGZx5wGBmEMqGKhRd4MSZGtVHy20EX4xpuyQE1xc mO8swjqKXqGtvFel7PdWXoXXH9POchBneCXh5wwXmKMbWcBcNtpPYimjwRHin7/vqNJc yqIZbAV7XdZZfpi7Jvt1rkWCxJuNr5CNX0yJvKbGVk7UsVX6bVzan4ekAQuaSHsaGEVP 92UxW1cuLOmptiXKLNCeVuX7nxrQv/B1r/fc/MWjwkpxPN2IugGwuJfZGK03vpv2UtCa D3R3yCjEryZmqqou57jVTrSbSGzZEdsw/vtQJ3g8OJwdUmNLQGA96/9KiRX1aC+qzams bMjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=6nkwfNdvDLzvT5Bil5W4azq6TLQ/y1Yiw/PCL9LJGzc=; b=ELPQeQKHuAOljxlyhEkcORVxAbywwyYPCk/nKMh/FfY/UTKpVfDe30Gf2hilF2q0xY REGrW/2TO82wYifumaqTAseXBYIzNJmziKeL8Dwv9UXEw7XwLUMO9iGCt1BC015HJ7JS ZLr0oecMBS8uQNDZBUb7zWqSYwfidOHJJAalys98m19HPKIbDQDDsSvdHJGEp+GvWcBX PQ5ujH+SfCWAFgFCYfT2D2Dt3npx65cuM3rCxyRxJ4/AUu2s8VuYwB7NKE2b+Pnc4Xep AWGfR8ypDAN79omf3xdyYI7q4UwJE/3cmRrEU1OrbX1OpqYzID8BrdgiY5mtkBkVnIvH WVLw== X-Gm-Message-State: APjAAAX1aMKGHrLeqZ1z78En14+9NBe9PbvKnXHoIOsQY+3rVL7wy5ie vRu+028SsZ/rKaIvJG5rBKHvEPjcWHBCwA== X-Google-Smtp-Source: APXvYqz31txL5PimXVxkF8ktonyyL0G/UslfINywudeGhIwmPWNO5pkT5dkVrgP+X9pikRfPuVWpvg== X-Received: by 2002:aed:2188:: with SMTP id l8mr47413300qtc.332.1556487343936; Sun, 28 Apr 2019 14:35:43 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([191.116.220.146]) by smtp.gmail.com with ESMTPSA id m189sm17449102qkf.2.2019.04.28.14.35.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Apr 2019 14:35:43 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id A2553120296; Sun, 28 Apr 2019 17:35:39 -0400 (-04) Date: Sun, 28 Apr 2019 17:35:39 -0400 From: Alvaro Herrera To: Dennis =?iso-8859-1?Q?Bj=F6rklund?= Cc: Peter Eisentraut , pgsql-translators@postgresql.org Subject: Re: branching time Message-ID: <20190428213539.GA25402@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-28, Dennis Björklund wrote: > I wrote my own little python-hack before I noticed that you were doing the > same here. > > It just do some regexps over the po-file and handle single line entries only > (I didn't use msgfilter). Not much error handling but it seem to work pretty > well. I'll attach it in case it is useful for someone else. Thanks! I tried it. I think the best is to do both. Your scripts automates more changes than msgfilter; but with msgfilter I get three additional updates in initdb.po (the only one I tested). One suggestion: have your script change pgsql-bugs@postgresql.org to pgsql-bugs@lists.postgresql.org automatically :-) I'm using both now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services