X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 8B1AEDC101D for ; Sat, 20 Feb 2016 10:02:33 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.116]) by mail.alpinelinux.org (Postfix) with ESMTP id 5F4F3DC00AF for ; Sat, 20 Feb 2016 10:02:33 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (103.63.200.37.customer.cdi.no [37.200.63.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id A257E5A1334; Sat, 20 Feb 2016 10:02:32 +0000 (GMT) Date: Sat, 20 Feb 2016 11:02:26 +0100 From: Natanael Copa To: Valery Kartel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/dovecot: split some plugins to subpackages Message-ID: <20160220110226.11b7a343@ncopa-desktop.alpinelinux.org> In-Reply-To: <1449704654-5599-1-git-send-email-valery.kartel@gmail.com> References: <1449704654-5599-1-git-send-email-valery.kartel@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 10 Dec 2015 01:44:14 +0200 Valery Kartel wrote: > -acl: plugin for acl-s with related configs > -quota: quota plugin with related configs > -trash: trash for quota plugin with related configs. has dovecot-quota as dependency > -stats: Statistics plugin with related configs > -zlib: maildir compression plugin with related configs > > -expire: message expire plugin with no configs > -snarf: move mails from a "snarf mailbox" to user's real INBOX plugin with no configs > -listescape: Listescape plugin with no configs > -mail-filter: mail filter plugin with no configs > -fts: full text search plugin with no configs Hi sorry for late response on this patch. It didn't work and I have not had so much extrea time lately. > --- > main/dovecot/APKBUILD | 110 ++++++++++++++++++++++++++++++++++-- > main/dovecot/dovecot-trash.conf.ext | 8 +++ > main/dovecot/dovecot.initd | 3 +- > main/dovecot/plugin-stats.conf | 6 ++ > main/dovecot/plugin-trash.conf | 3 + > main/dovecot/plugin-zlib.conf | 5 ++ > main/dovecot/service-stats.conf | 10 ++++ > 7 files changed, 139 insertions(+), 6 deletions(-) > create mode 100644 main/dovecot/dovecot-trash.conf.ext > create mode 100644 main/dovecot/plugin-stats.conf > create mode 100644 main/dovecot/plugin-trash.conf > create mode 100644 main/dovecot/plugin-zlib.conf > create mode 100644 main/dovecot/service-stats.conf > > diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD > index 16356b2..79ec38a 100644 > --- a/main/dovecot/APKBUILD > +++ b/main/dovecot/APKBUILD > @@ -17,12 +17,20 @@ makedepends="libcap-dev zlib-dev openssl-dev bzip2-dev postgresql-dev > install="dovecot.pre-install dovecot.post-install" > subpackages="$pkgname-doc $pkgname-dev > $pkgname-sql $pkgname-pgsql $pkgname-mysql $pkgname-sqlite > - $pkgname-gssapi $pkgname-ldap > + $pkgname-gssapi $pkgname-ldap $pkgname-acl $pkgname-quota > + $pkgname-trash $pkgname-zlib $pkgname-stats $pkgname-expire > + $pkgname-mail-filter:filter $pkgname-listescape $pkgname-snarf > + $pkgname-fts" > " You have an extra " in there. Abuild will not even parse this APKBUILDm which means that you have not tested if it even builds. ... > diff --git a/main/dovecot/dovecot-trash.conf.ext b/main/dovecot/dovecot-trash.conf.ext > new file mode 100644 > index 0000000..4689935 > --- /dev/null > +++ b/main/dovecot/dovecot-trash.conf.ext > @@ -0,0 +1,8 @@ > +# Spam mailbox is emptied before Trash > +1 Spam > +# Trash mailbox is emptied before Sent > +2 Trash > +# If both Sent and "Sent Messages" mailboxes exist, the next oldest message > +# to be deleted is looked up from both of the mailboxes. > +3 Sent > +3 Sent Messages I know for sure that you didn't even try build the APKBUILD. What should I think about the config changes? I wonder if you tested it or not. > diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd > index 880a39f..ca6852f 100644 > --- a/main/dovecot/dovecot.initd > +++ b/main/dovecot/dovecot.initd > @@ -31,8 +31,7 @@ checkconfig() { > fi > DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/run/dovecot} > DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid > - checkpath --directory --owner dovecot:dovecot --mode 0755 \ > - ${DOVECOT_BASEDIR} > + checkpath --directory ${DOVECOT_BASEDIR} > } The commit message give no hint on why this change was necessary or that it actually happened. If I would have just applied it (and if it would have compiled) and I would have pushed it, the I would have been pushing code changes that I was not aware of had happened. What do you think about sneaking in changes like this? Will my trust improve or decrease? What will I think when I see future patches? I think the general idea is good, splitting up dovecot plugins in subpackages is good. Shipping a working config is good too. But I cannot commit this. Sorry. -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---