Commit Graph

62 Commits

Author SHA1 Message Date
4640a5edc3 filename supplied in __init__ will be read last, so it has highest priority 2024-03-30 20:49:42 +01:00
c6405e9c2a fixed typo for debug output reverse_sort 2024-03-30 20:41:51 +01:00
6171ca5bb1 debug output for reverse_sort 2024-03-30 20:40:49 +01:00
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
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
3cd4e224d1 Merge branch 'main' into toml 2024-03-30 10:15:16 +01:00
ac41bc7fb6 use venv etc/userconfig2.conf if it exists 2024-03-30 09:19:38 +01:00
d8bb56cb7b pass debug to Conf init, so it can print from the beginnig 2024-03-30 09:19:19 +01:00
ee19f4b1b1 install userconfig2.conf 2024-03-30 09:18:53 +01:00
7ed282057f removed old userconfig.cfg, added new userconfig2.cfg 2024-03-30 09:18:38 +01:00
b5c898035a fixed cfg.get syntax 2024-03-30 00:57:14 +01:00
2c06ecca77 output commentstring as well 2024-03-30 00:56:58 +01:00
e82fd99a16 fixes for configparser.get for files in configdir 2024-03-30 00:25:35 +01:00
4790429f24 introduce force_filename to set filename exclusively 2024-03-30 00:24:55 +01:00
57b3600d47 set verbose 2024-03-30 00:24:24 +01:00
e46c8249de ignore .swp 2024-03-30 00:24:14 +01:00
16020e8fbb fixed debug outputs 2024-03-29 23:36:16 +01:00
d747df7aa4 foo 2024-03-29 22:48:52 +01:00
81d38a93a0 ignore everything in .idea 2024-03-29 22:47:20 +01:00
baebb052b8 first draft refactor 2024-03-29 22:36:07 +01:00
3048437081 ignore entire .idea directory 2024-03-29 21:54:05 +01:00
ef0efba96a unfinished changes, needs to be continued 2024-03-29 21:48:06 +01:00
cba08629cb checkout userconfig repository and create silly workaround for directory 2020-04-10 10:49:51 +02:00
e0ff28056f modes 2020-01-07 22:42:53 +01:00
732a272a9a Merge branch 'master' of git.lys.is:lysis/pyuserconfig 2019-10-19 23:19:49 +02:00
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
55829ad298 look for cfg file in ~/.local as well 2019-08-15 12:16:52 +08:00
ee30935983 execute install.sh in directory if it exists 2019-07-04 22:19:16 +02:00
24c51481dc catch get exception in cfgfile, not in other places 2019-07-03 23:05:04 +02:00
a029c096c8 return classes in reverse sorting order if desired 2019-07-03 22:54:08 +02:00
92a96343e1 add reverse flag to userconfig.cfg to turn around classes (host last) 2019-07-03 22:53:49 +02:00
81d8a074cc additional debug output, dont store hostclasses but generate new 2019-06-19 00:04:42 +02:00
7779ff5f70 add venv ignore files 2019-06-18 22:56:55 +02:00
104fe407ef check that classes function returns a tuple of length 3 2019-06-15 11:30:11 +02:00
22bd6ed278 removed header 2019-06-12 23:40:04 +02:00
2114d9a77d rewrite to python3 2019-06-12 23:32:05 +02:00
32aa6ff7d2 Konzept 2016-01-23 18:26:58 +00:00
059a5517dc Rancid hinzugefuegt, funktioniert noch nicht 2013-04-12 09:00:17 +00:00
7391ced8d7 ignore .svn in classesdirs 2013-01-20 22:53:28 +00:00
12db28a7e8 install with --home, don't need sys.prefix anymore 2013-01-17 23:44:06 +00:00
4e609856c3 Forgot level 2013-01-14 22:24:37 +00:00
6c339db86b debug angepasst und konsequenter gemacht 2013-01-14 22:23:48 +00:00
3e40027923 Replace $HOME in configdir with real home directory 2013-01-14 16:17:15 +00:00
a45a6a48ec Verschoben 2013-01-14 16:07:22 +00:00
dc900ac8d4 Nach install verschoben 2013-01-14 15:49:20 +00:00
cfafc1d3bf Initial version 2013-01-14 15:47:04 +00:00
046a6badc9 Config-File installieren, default auf ~/etc/userconfig.cfg wenn nicht mit -c ueberschrieben 2013-01-14 15:06:52 +00:00
7fe7c87ca2 Grossschreibung 2013-01-13 21:49:18 +00:00
8e3f351266 Initial version 2013-01-13 21:47:16 +00:00