X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by lists.alpinelinux.org (Postfix) with ESMTP id E424B5C40D9 for ; Sun, 5 Jun 2016 22:42:39 +0000 (GMT) Received: by mail-pf0-f179.google.com with SMTP id y124so910909pfy.0 for ; Sun, 05 Jun 2016 15:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:date:message-id:to:mime-version; bh=1S3NLCLGc7dm8kjntI1zExo9DX8grLNdQU59bN5Jfzo=; b=mzVDvQobL1LIYcmGatXuXS5+jnzZPNYKhnHKwk5m2cdmNwblK96OOa3elUvT1Z4oxH v+hZ0MeHQ5l/ygGNhVTBYBd9I910ymDEozAK913rXijcCXPdcAqpGviJA7Bf1JeVmnwB mGgz2oLeW10/huriB+/2cwSOlIxP/tSACnwU6cBwWXXt1xZPqxzT7iT/keb5WSzPosMJ 2IIeuQ6wuZMEBqOUKNbsVHtrIQwhJtIOc2XjYaUnisOWyLjTIDZ1M8RUx1nhRuquQORz wrk+42PvE4/fNNBlcb/PT9ZHcoYnfqLQi72fa3AAUzvHaxfFW8sOQiBHEsECP0wbB9mh 9ULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:date:message-id:to:mime-version; bh=1S3NLCLGc7dm8kjntI1zExo9DX8grLNdQU59bN5Jfzo=; b=GcnHw69sgKjBY4LucbkCEMpANjSGCGJ8S11o+pIBIFiSwjCOhD9q5v4PTi1QSeMKXl YfFUuW/rJtcCDf8Q0wLmtPLHLdOqcMtBGb7RdXfU/gpjTNDSyQ8wKVSdCSZoqZI+j2fU mOD16KYirmTExaS7uVZ/HYdIR/IyAYDDFEVOjvBDMNnLnuoAQZLEfwUtxhjovbZM24y1 EHQ+PIr7r2assIM48BWzWkzEEsdzbHPZhUQVfipGiIrnynC3AIKnk1rp+sxOCco9uSbU z0GjPthQ1s8SqJHtc/govsAFPuNccGyGb7pjt3x/BiV3vEsMEnzYZOUgu/8Ada1uki3U pccQ== X-Gm-Message-State: ALyK8tLaQLTwfDsNV0S9W8nh27qDWegA1LEev0YsxM1DQD/2obxGBNJkJ0OMGQrjSh/YwA== X-Received: by 10.98.80.134 with SMTP id g6mr21587050pfj.87.1465166559063; Sun, 05 Jun 2016 15:42:39 -0700 (PDT) Received: from pcp068534pcs.wireless.calpoly.edu (pcp068534pcs.wireless.calpoly.edu. [129.65.148.69]) by smtp.gmail.com with ESMTPSA id 4sm22553576pfz.35.2016.06.05.15.42.37 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Jun 2016 15:42:38 -0700 (PDT) From: systmkor X-Pgp-Agent: GPGMail 2.6b2 Content-Type: multipart/signed; boundary="Apple-Mail=_73D49436-22C4-485A-B797-EAAF4BD6F9F7"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: [alpine-devel] [RFC *-conf] Aports Package -conf suffix Date: Sun, 5 Jun 2016 15:42:31 -0700 Message-Id: To: Alpine-devel 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=_73D49436-22C4-485A-B797-EAAF4BD6F9F7 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. I have finals this week, I may not reply until Thursday. -- keybase.io/systmkor --Apple-Mail=_73D49436-22C4-485A-B797-EAAF4BD6F9F7 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 iQIcBAEBCgAGBQJXVKrcAAoJEFPdShcngqsDvEgP/indmbLMzPnw+Pa2KeblpyiY fM35I+Y/6fJoSj3i1xZfMCLkyYe7TO/rG3UEiV8uI1g8NvvMiOGbP4k5E4CN3lBu PkWoENCrTCADVwaCqU61Uaar1LRHeJA736brJ9y7bHWLkC8LRJyyt8I7ADi/+egV bJel94wBa9VYMI9o2VDe5W9e2YoSz9YuqS0dxpX2gPqApaYe1/PUB7DiLwxUZ5Y5 hUVELzMlDcBEagvLeBPPpi2ApAOIjvvyuAM/xhogCBQWFNdINnNCS5nq2UOQEAh5 9YHzkBbbsQovgRD9ntpBmXuNn2s8vD78iEepmPgFgi5CLSFA3EgPOD5OytXEfKnW O4zKKIuMX6G9TQ0uXQpAJ3Y+VELtbk0PsVr38MQatoo0qMGfxWxzBR66lIFGE4cE /LM/bXZ72EywoPkAw+xA+4y5O1R0rZKB14hNsXxIaOR6dWYSFMitmijqUPIIg+g8 5DGdZEEBGNhnMu3OSyhyjvx61ExLl9vrKPmSV9r15vtDclTiHNrWkHkpPkGAIdrH oMCCr5b6XJSGoS9BSc66HKEKFqK39m07paIQFEihRBSy5Lq9rwHOq7AlYThPahiS yrEyGW1AcFr17tQqv92hBp3saGVmZn8IR9R472IVxlOzLJVNLKAd+6R+AYolf906 0YAB64pT0hvvnZratsD5 =r8Mu -----END PGP SIGNATURE----- --Apple-Mail=_73D49436-22C4-485A-B797-EAAF4BD6F9F7-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---