Commit graph

191 commits

Author SHA1 Message Date
Lance Edgar 8ab21914bd fix: avoid rich traceback for backup script 2024-07-25 10:08:41 -05:00
Lance Edgar 9eb44fa172 fix: avoid rich traceback for overnight luigi commands 2024-07-18 10:09:56 -05:00
Lance Edgar 65a9a7c9be fix: install more dependencies for borg 2024-07-18 10:09:47 -05:00
Lance Edgar 5ffcf0297c fix: install emacs-common-non-dfsg only if available
which it is not always, depending on apt sources
2024-07-12 12:00:39 -05:00
Lance Edgar 7d031e1a41 bump: version 0.4.1 → 0.4.2 2024-07-05 11:10:21 -05:00
Lance Edgar 04c586a11e fix: install non-dfsg package for emacs
for sake of tramp info manual

cf. https://www.reddit.com/r/emacs/comments/d6r3dt/comment/f0vujx6/
2024-07-03 14:18:29 -05:00
Lance Edgar d0425115da fix: remove references, dependency for six package 2024-07-01 16:35:08 -05:00
Lance Edgar 8b5bb956ae bump: version 0.4.0 → 0.4.1 2024-06-30 11:12:39 -05:00
Lance Edgar 5c5038144f fix: always install venv pkg when bootstrapping python 2024-06-15 21:17:42 -05:00
Lance Edgar 014982028b bump: version 0.3.6 → 0.4.0 2024-06-10 19:14:58 -05:00
Lance Edgar 8c51ee8735 feat: switch from setup.cfg to pyproject.toml + hatchling 2024-06-10 19:12:50 -05:00
Lance Edgar 4e3b8f6520 Update changelog 2024-05-31 17:47:41 -05:00
Lance Edgar be728e9bb3 Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change?

and stop declaring explicit support for python 3.5, that makes no sense
2024-05-31 17:44:56 -05:00
Lance Edgar 284e55c05c Update changelog 2024-05-31 17:43:30 -05:00
Lance Edgar 88acb15c1c Fix command line args in scripts, per typer 2024-05-29 06:31:41 -05:00
Lance Edgar 8f8013aee0 Update changelog 2024-05-07 14:14:33 -05:00
Lance Edgar 305e4c40c7 Fix shell when creating new linux user account 2024-05-07 14:13:46 -05:00
Lance Edgar 6a15b5ae5e Add docstring to explain param 2023-11-06 21:25:13 -06:00
Lance Edgar c13e9ff23c Update changelog 2023-09-25 18:09:31 -05:00
Lance Edgar ae7cb45ab3 Remove bash -c prefix for pg_dump command
need to keep the `sudo -u postgres pg_dump ..` part as simple as
possible, since must declare `sudoers` allowance for that
2023-09-17 11:10:48 -05:00
Lance Edgar 24d632b7e3 Add option to skip raw SQL file when dumping postgres DB
trying to cut down on disk space, we'll see how well this works..
2023-09-16 16:57:10 -05:00
Lance Edgar 8e9a685006 Try again, to move postgres dump file to /tmp before restoring
so the postgres can cd to current workdir without error..fingers
crossed this doesn't break anything else again
2023-08-08 19:19:33 -05:00
Lance Edgar bedca74ca1 Revert "Move sql file to temp path when restoring postgres db"
This reverts commit 94945fbc30.

apparently that breaks some nightly cloning (prod -> stage)
2023-08-06 19:20:53 -05:00
Lance Edgar e2369b1f53 Add mysql.get_version_string() convenience function 2023-08-04 16:32:42 -05:00
Lance Edgar ab1baaa6d2 Add clang workaround for pythonz
needed that to install python 3.6.8 on debian 12
2023-08-03 21:26:47 -05:00
Lance Edgar 94945fbc30 Move sql file to temp path when restoring postgres db
otherwise postgres may throw an error, if it can't cd to current workdir
2023-08-03 10:54:33 -05:00
Lance Edgar 6479af6a57 Preserve correct owner for .bashrc when configuring nodejs 2023-08-03 10:53:59 -05:00
Lance Edgar 075f931b5e Add separate functions for dump, restore of mysql DB 2023-07-18 15:17:18 -05:00
Lance Edgar 989f1574dc Update changelog 2023-06-10 19:03:49 -05:00
Lance Edgar d713bbe522 Let caller override default fannie/config.php
also make `deploy.full_path()` honor absolute path when given one
2023-06-10 18:57:57 -05:00
Lance Edgar 64c69aab3c Update changelog 2023-06-10 16:13:11 -05:00
Lance Edgar 9eab7a7555 Add password support for make_normal_user() 2023-06-09 18:19:49 -05:00
Lance Edgar 3f931445a0 Touch fannie.log when installing CORE Office 2023-06-09 18:19:15 -05:00
Lance Edgar 8bafaef796 Update changelog 2023-06-08 21:10:03 -05:00
Lance Edgar 753e939422 Do not define rattail mail templates by default
pretty sure that value was/is already fallback default anyway
2023-06-02 14:42:53 -05:00
Lance Edgar 88e92588f2 Add a couple more options for rsync()
sometimes you just need something different to happen..
2023-06-01 15:18:27 -05:00
Lance Edgar 47bc4ce01d Add __version__ attr to root namespace
for sake of `setup.cfg`
2023-05-17 07:22:09 -05:00
Lance Edgar 1356bd0310 Replace setup.py contents with setup.cfg 2023-05-16 13:47:10 -05:00
Lance Edgar 86d922708a Make installing composer packages optional, for CORE-POS 2023-05-15 18:36:29 -05:00
Lance Edgar cf32571c83 Pass LUIGI2 context when generating config file 2023-03-09 15:31:03 -06:00
Lance Edgar 21a071d324 Touch debug_fannie.log when installing CORE
just to prevent the warning
2023-02-28 21:21:06 -06:00
Lance Edgar 43d8df3c5d Add MAILTO for backup crontab 2023-02-23 13:05:54 -06:00
Lance Edgar 2097136844 Use --global when allowing Composer plugins for CORE
this keeps allowances out of the local `composer.json` file and
therefore keeps the working folder clean
2023-02-19 12:40:11 -06:00
Lance Edgar 20a3871522 Use composer install instead of composer update for CORE 2023-02-19 12:05:22 -06:00
Lance Edgar bdd89db30d Add install_collectd() function 2023-02-19 11:19:37 -06:00
Lance Edgar 6c78d3c1d5 Add new/improved install_corepos() function
probably needs still more improvement, but getting here.  so far it
only does the office setup
2023-02-17 22:16:30 -06:00
Lance Edgar cde124b916 Add logrotate support for backup apps 2023-02-17 11:01:29 -06:00
Lance Edgar a76d38c201 Add make_normal_user() function
also add `disabled_password` kwarg for `make_system_user()`
2023-02-17 11:00:31 -06:00
Lance Edgar 9e0a1cde19 Warn if caller deploys old-style soffice daemon 2023-01-10 20:40:36 -06:00
Lance Edgar c8ab84e462 Install libssl-dev when installing pythonz 2023-01-09 09:01:31 -06:00