Commit Graph

75 Commits

Author SHA1 Message Date
Marcus Stoegbauer 1f12b78ef3 ignore .swp files when creating file_list, bumped version 2024-04-01 11:08:48 +02:00
Marcus Stoegbauer f28e231185 install with pipx, do not clone .userconfig if already available 2024-04-01 10:59:51 +02:00
lysis 875e6a4831 Merge pull request 'reorg_checks' (#2) from reorg_checks into main
Reviewed-on: #2
2024-04-01 10:56:07 +02:00
Marcus Stoegbauer 1ea2450261 bumped version to 2.0 2024-04-01 10:55:17 +02:00
Marcus Stoegbauer f67a8ed01f removed .idea, added to .gitignore 2024-04-01 10:54:57 +02:00
Marcus Stoegbauer 3b747f56ba fixed syntax problems with previous python versions, added additional error messages 2024-04-01 01:41:27 +02:00
Marcus Stoegbauer 378ebcebf6 second revision, logging output polished 2024-04-01 00:49:03 +02:00
Marcus Stoegbauer 5cd56f5f97 foo 2024-04-01 00:48:33 +02:00
Marcus Stoegbauer 1a32b4e096 removed tools, moved functions into userconfig 2024-03-31 23:28:11 +02:00
Marcus Stoegbauer e43dd9013c first revision 2024-03-31 22:20:47 +02:00
Marcus Stoegbauer a986a70800 call Conf with full set of parameters, including debug 2024-03-30 21:42:38 +01:00
Marcus Stoegbauer e6d2b9a7bc typo in exception handling for get, NoSectionError will be caught as well; initialise ConfigParser in __init__, not in class 2024-03-30 21:42:06 +01:00
Marcus Stoegbauer 37954e432c adjusted start/end debug output for functions, print directory name and end marker 2024-03-30 21:40:58 +01:00
Marcus Stoegbauer 4640a5edc3 filename supplied in __init__ will be read last, so it has highest priority 2024-03-30 20:49:42 +01:00
Marcus Stoegbauer c6405e9c2a fixed typo for debug output reverse_sort 2024-03-30 20:41:51 +01:00
Marcus Stoegbauer 6171ca5bb1 debug output for reverse_sort 2024-03-30 20:40:49 +01:00
Marcus Stoegbauer 7684033903 only add HOME from environ to ConfigParser, set _cfgfiles on loading, add comment on default ocnfig file locations 2024-03-30 20:40:30 +01:00
lysis 015ea337f2 Merge pull request 'Refactoring & install with pyproject.toml' (#1) from toml into main
Reviewed-on: #1
2024-03-30 10:16:16 +01:00
lysis 3cd4e224d1 Merge branch 'main' into toml 2024-03-30 10:15:16 +01:00
Marcus Stoegbauer ac41bc7fb6 use venv etc/userconfig2.conf if it exists 2024-03-30 09:19:38 +01:00
Marcus Stoegbauer d8bb56cb7b pass debug to Conf init, so it can print from the beginnig 2024-03-30 09:19:19 +01:00
Marcus Stoegbauer ee19f4b1b1 install userconfig2.conf 2024-03-30 09:18:53 +01:00
Marcus Stoegbauer 7ed282057f removed old userconfig.cfg, added new userconfig2.cfg 2024-03-30 09:18:38 +01:00
Marcus Stoegbauer b5c898035a fixed cfg.get syntax 2024-03-30 00:57:14 +01:00
Marcus Stoegbauer 2c06ecca77 output commentstring as well 2024-03-30 00:56:58 +01:00
Marcus Stoegbauer e82fd99a16 fixes for configparser.get for files in configdir 2024-03-30 00:25:35 +01:00
Marcus Stoegbauer 4790429f24 introduce force_filename to set filename exclusively 2024-03-30 00:24:55 +01:00
Marcus Stoegbauer 57b3600d47 set verbose 2024-03-30 00:24:24 +01:00
Marcus Stoegbauer e46c8249de ignore .swp 2024-03-30 00:24:14 +01:00
Marcus Stoegbauer 16020e8fbb fixed debug outputs 2024-03-29 23:36:16 +01:00
Marcus Stoegbauer d747df7aa4 foo 2024-03-29 22:48:52 +01:00
Marcus Stoegbauer 81d38a93a0 ignore everything in .idea 2024-03-29 22:47:20 +01:00
Marcus Stoegbauer baebb052b8 first draft refactor 2024-03-29 22:36:07 +01:00
Marcus Stoegbauer 3048437081 ignore entire .idea directory 2024-03-29 21:54:05 +01:00
Marcus Stoegbauer ef0efba96a unfinished changes, needs to be continued 2024-03-29 21:48:06 +01:00
Marcus Stoegbauer cba08629cb checkout userconfig repository and create silly workaround for directory 2020-04-10 10:49:51 +02:00
Marcus Stoegbauer e0ff28056f modes 2020-01-07 22:42:53 +01:00
Marcus Stoegbauer 732a272a9a Merge branch 'master' of git.lys.is:lysis/pyuserconfig 2019-10-19 23:19:49 +02:00
Marcus Stoegbauer 82132e78f5 create destination directory if it does not exist 2019-10-19 23:19:27 +02:00
Marcus Stoegbauer 8c69866bde added install script 2019-08-16 09:36:26 +08:00
Marcus Stoegbauer 55829ad298 look for cfg file in ~/.local as well 2019-08-15 12:16:52 +08:00
Marcus Stoegbauer ee30935983 execute install.sh in directory if it exists 2019-07-04 22:19:16 +02:00
Marcus Stoegbauer 24c51481dc catch get exception in cfgfile, not in other places 2019-07-03 23:05:04 +02:00
Marcus Stoegbauer a029c096c8 return classes in reverse sorting order if desired 2019-07-03 22:54:08 +02:00
Marcus Stoegbauer 92a96343e1 add reverse flag to userconfig.cfg to turn around classes (host last) 2019-07-03 22:53:49 +02:00
Marcus Stoegbauer 81d8a074cc additional debug output, dont store hostclasses but generate new 2019-06-19 00:04:42 +02:00
Marcus Stoegbauer 7779ff5f70 add venv ignore files 2019-06-18 22:56:55 +02:00
Marcus Stoegbauer 104fe407ef check that classes function returns a tuple of length 3 2019-06-15 11:30:11 +02:00
Marcus Stoegbauer 22bd6ed278 removed header 2019-06-12 23:40:04 +02:00
Marcus Stoegbauer 2114d9a77d rewrite to python3 2019-06-12 23:32:05 +02:00