Package: icemac.install.addressbook
icemac.install.addressbookScripts to ease the installation and update an existing installation oficemac.addressbookto a new version of the package.Contentsicemac.install.addressbookCopyrightInstallation of the scriptsUsageinstall-addressbookmake-current-addressbookarchive-addressbookchange-addressbook-configHackingChange log1.5.3 (2020-03-23)1.5.2 (2019-10-09)1.5.1 (2019-10-04)1.4 (2019-09-26)1.3.1 (2018-08-04)1.3 (2018-08-03)1.2.post1 (2017-12-26)1.2 (2017-04-08)1.1.1 (2017-01-07)1.1 (2017-01-07)1.0 (2017-01-06)CopyrightCopyright (c) 2016-2020 Michael HowitzThis package is licensed under the MIT License, see LICENSE.txt inside the
package.Installation of the scriptsInstall the packageicemac.install.addressbookusing pip:$ pip install icemac.install.addressbookThis creates two scripts in thebindirectory:install-addressbookarchive-addressbookUsageinstall-addressbookStart the script using:$ bin/install-addressbook [VERSION_NUMBER]WhereVERSION_NUMBERis the number of the version you want to install resp.
you want to update to. If you leave it out the newest version is used.The script executes the following steps:Download the source distribution oficemac.addressbookto a temporary
directory.Extract the source distribution to the current working directory.Run the install script. If there is a symlink namedcurrentpointing to
a previousicemac.addressbookinstallation it uses its
configuration as default answers for the questions in the installation
process.Create or replace the new symlink namedcurrentpointing to the new
installation.make-current-addressbookThis script is helpful if you want to switch back to an older installed address
book version in case of an error.Start the script using:$ bin/make-current-addressbook VERSION_NUMBERWhereVERSION_NUMBERis the number of the version you want to make the
current one.The script executes the following steps:Create or replace the new symlink namedcurrentpointing to the new
installation.archive-addressbookAfter installing a new version of the address book you could archive the
previous one using this script.Start the script using:$ bin/archive-addressbook 4.1Where4.1is the version number of the installation you want to archive.The script executes the following steps:Create an archive of the requestedicemac.addressbookinstallation (as installed byinstall-addressbook) in
a directory namedarchive. (Thearchivedirectory is created if it
not yet exists.)Delete the requestedicemac.addressbookinstallation.change-addressbook-configIf you want change some answers to the questions asked during the installation,
you can run this script.Start the script using:$ bin/change-addressbook-configThe script executes the following steps:The configuration questions get re-presented to you with your previously
entered values as defaults.The address book instance has to be restarted afterwards. This can be done
automatically by the script or manually.HackingClone the repository:$ git clone https://github.com/icemac/icemac.install.addressbookCreate a virtualenv, install the installer and run it:$ cd icemac.install.addressbook
$ virtualenv-2.7 .
$ bin/pip install zc.buildout
$ bin/buildout -nChange log1.5.3 (2020-03-23)Pin dependencies to older versions to keep supporting Python 2.1.5.2 (2019-10-09)When already using an address book version with an encrypted admin password
and then omitting the password when updating to the next version theadmin.zcmlfile from the previous installation is copied. (This was not
the case before leading to a broken installation because of a missingadmin.zcml.)1.5.1 (2019-10-04)Add install dependency forzc.lockfilebecause it cannot be loaded in the
buildout environment whenzc.buildoutis installed viapip.1.4 (2019-09-26)Remove entries in crontab generated by the previous address book version
when updating to a new one.Move whole installation code here fromicemac.addressbooksupporting its
versions >= 9.Add scriptbin/change-addressbook-configto change configuration without
installing a new addressbook version.Hash the admin password in the createdadmin.zcmland force to change the
plain text password during install resp. config update.1.3.1 (2018-08-04)Use virtualenv instead ofbootstrap.pyofzc.buildout.1.3 (2018-08-03)Change license from ZPL to MIT.1.2.post1 (2017-12-26)Also release as wheel.1.2 (2017-04-08)install-addressbooknow prints a message before starting the download.archive-addressbooknow prints a message before starting archiving.1.1.1 (2017-01-07)Prevent an error inarchive-addressbookif thebz2module is not
available.1.1 (2017-01-07)Addmake-current-addressbookscript to ease usage of thecurrentsymlink in case of an error.1.0 (2017-01-06)Initial release.