X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by lists.alpinelinux.org (Postfix) with ESMTP id 563475C40F8 for ; Wed, 8 Jun 2016 17:38:44 +0000 (GMT) Received: by mail-pa0-f45.google.com with SMTP id bz2so4384455pad.1 for ; Wed, 08 Jun 2016 10:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:subject:to:message-id:mime-version; bh=0aYCZDeGpxQclTTNLnYd8OLGyCInNFOns8l4862QdBA=; b=iNJ2fh38v9COOg4SfnK/UsHtrs7gNzk7jH5mEveogW8utHmyHIdbtTRp8mWdTot/q7 +CqVgUdqpf5o0ttrB635xXGX1gHGnjwPzppykq/C4aQtaq+JwZwumndhItQ5WznuIWde nC2T2iqPHlEjFo48jTRMJ5wY7r5yLi/xpovnsPxqYlLja0q2rbGCP1vijXb+Vgc+BNL4 en2PwcD3N6FmXlxu2LMA675cny+jobpyTFp6lyXbtQcSCuq9IyJRW1C0rtUIhCBqXFKp ajxcIuOa8lLQVEbwuDftprZ/CMKXwqJDEQiRM0FWkTPfcUUUggUbMKd803xKMn49WWP4 H47g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:subject:to:message-id:mime-version; bh=0aYCZDeGpxQclTTNLnYd8OLGyCInNFOns8l4862QdBA=; b=WrsBi31tqHsgmo1UmCy7VHsjl34UQcXJNsOBg+a1l7kySaaIrZA2w75iO1kdZH+fcz 1L769cmBODFGZlJR9ZfQWrD/lKpMqxVx4AmSL62z0xTOIraTYH55BRUfhNEQh4GHAJ17 5tVqBShzpaeMcW+Mj+2LBSfADHEHiAAdCyiC5GZYrLvn5ZQDi2xEvgxlsjF2F0x4nToA qrqzf0T64Xnw3+Mk6ikZbYo6VDcULEw2GKABzQzvjanhxGHVNJCoDNL2bEajSoesx01b TyGYB5Jen5NKqpcJCnN+zhhsf6InbTup/DIz39xUogtnyCdZBzbQqS1WuTFl4UEGrbBD 0jJw== X-Gm-Message-State: ALyK8tJY0OPCecxvNKNCO8TtQv1Vqe46lApGXfOHbicsnIAJ+6iuhjhf3hlQmtJhvQ7Wkg== X-Received: by 10.66.231.68 with SMTP id te4mr6883638pac.16.1465407523664; Wed, 08 Jun 2016 10:38:43 -0700 (PDT) Received: from pcp068647pcs.wireless.calpoly.edu (pcp068647pcs.wireless.calpoly.edu. [129.65.148.182]) by smtp.gmail.com with ESMTPSA id 12sm3824714pfx.68.2016.06.08.10.38.42 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 10:38:42 -0700 (PDT) From: systmkor X-Pgp-Agent: GPGMail 2.6b2 Content-Type: multipart/signed; boundary="Apple-Mail=_BEC18916-F558-49DC-8BB2-272A1D4D1A45"; protocol="application/pgp-signature"; micalg=pgp-sha512 Date: Wed, 8 Jun 2016 10:38:38 -0700 Subject: [alpine-devel] [RFC *-conf] Aports Package -conf suffix To: Alpine-devel Message-Id: <153417C0-6DAE-45A5-938B-748762E0863B@gmail.com> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) --Apple-Mail=_BEC18916-F558-49DC-8BB2-272A1D4D1A45 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey all, tl;dr =E2=80=98-conf' suffix for packages that come with a default configuration (e.g. openssh-conf, nginx-conf, etc.) ## How It Works This would segment the configuration files of a base package with a =E2=80=98-conf=E2=80=99 suffix package name just as the =E2=80=98-doc=E2=80= =99 suffix provides. In the process of creating a package/port just as =E2=80=98-doc=E2=80=99 is = automatically created with abuild by checking for files in =E2=80=98/usr/share/man/=E2=80= =98 created by the build process of the package, =E2=80=98-conf=E2=80=99 would be = auto-created by checking files in =E2=80=98/etc/=E2=80=98. Along with the =E2=80=98docs=E2= =80=99 trigger package which would automatically install the =E2=80=98-doc=E2=80=99 suffix package of = desired installed package a =E2=80=98confs=E2=80=99 trigger would auto install = the =E2=80=98-conf=E2=80=99 suffix package of desired installed package. ## Reasons Why This allows for a flexible and reliable means of configuration management (i.e. at least for the configuration of system & daemon configurations). Either a user/admin can use the system default configuration packages that are provided by the package repositories, use the configuration packages on ones private repository, not install the configuration files for packages using configuration management instead (e.g. ansible), or any combination of. This would allow for users & admins to provide their own =E2=80=98-conf=E2= =80=99 packages instead of having to build their own base package only changing the configuration file, or having to build their own -conf. The issue with first option is that users would have to manage official aports packages with each =E2=80=98pkgrel=E2=80=99 = change with the user=E2=80=99s own. The issue with the second option is that providing = ones own =E2=80=98-conf=E2=80=99 package would have to use the = =E2=80=98replaces' & =E2=80=98replaces_priority=E2=80=99 in that packages APKBUILD file, = which can result in issues when the base package is upgraded. ## PROs * Makes packages more fine grained * Easy to build an manage ones own =E2=80=98-conf=E2=80=99 packages * Custom =E2=80=98-conf=E2=80=99 packages doesn=E2=80=99t have ownership = contentions with the official packages * Configuration management doesn=E2=80=99t have to violate the ownership = of config files by not installing that packages =E2=80=98-conf=E2=80=99 = sub package. * can utilize apk-fix to verify configurations are not changed or damaged ## CONs * Possibly overly fine grained packages * Adds bloat to packages (note: probably could be fixed with changes to abuild, apk, and apk file schema) * other things (i=E2=80=99m missing) ## Existing Alternatives I understand that there is also the alpine configuration framework, however that seems to be applied better for a centrally administered system(s). Constructive thoughts, comments, and criticisms appreciated. Thank you all for your time. p.s. Finals over! -- keybase.io/systmkor --Apple-Mail=_BEC18916-F558-49DC-8BB2-272A1D4D1A45 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJXWFghAAoJEFPdShcngqsD6bYQALgIPM3j9QM4mYczif47WKaC EouxSc+8Em9FMl9RuxKdd1Fb9bc0SoPGeID1MCfObbZTHww4rN4MIOWMN3k+fxx8 w9gZedNE3K2Ak1FkV/LLmDUYv31xs8IAOg/XhjI2clqR7jsBcNnhu5Lpj0LXyPzb Tjd5f9OBcHeUQlU+pN4WQOZO5zWuUAkGKLNymLI+YtnbYSqYY8CFsnpVWfeAVGQB a9tJGidLUsG//r3r7KXpC5TsmvXqbZSnS4sm8wum85LV3H5pfxAhai6nQeMPqpkN j0RhxG7/2MoHqU1UmwUePYS2j6aVhLqX0NG2GHochBwaa9KAwdVX5sGaC6K402fE OO5EBU/o4VhxEpGBInaNid0rIshbc/cp1+E4WPpS32UnEuyC1wJ6Hbkxz6SF+xmI OE18tQPswemeQl/uutlHoAb5aWy6aFsj9hZhJRbO6Qp4Z/Cquaj336B0FNAqbC4E 2DcvCmoEduda8zsEL76UBV2LacCDe05IWs15frSODPE+TCjeaUZe58EHuMcM6wQN PnTFF4Dfq+U1mcO8U+lOHLqIg9aSr+bYPd1BvdQ7dS1Fc78F2Z5ijW3NtXXSgpWz piiL6IPMAnTr3kUcp9TUVkP5JBnVYd9BqPxrwo694gw4zgg5a1vk5A6RsnDlM/RQ XVFF3TDVuw03WKZfMKu1 =V6B+ -----END PGP SIGNATURE----- --Apple-Mail=_BEC18916-F558-49DC-8BB2-272A1D4D1A45-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---