Commit graph

8 commits

Author SHA1 Message Date
260ab2ba22 chore: fix pylint complains 2024-06-10 12:09:05 +02:00
3bf7fc2255 feat: enhance logging
- remove `*` from stack log entry
- prefix log messages with arrow symbol for better readability
2023-12-22 22:44:17 +01:00
f889ff5050 fix: split command string before running subprocess
- use command.split(" ") to convert command to a list before running

🤖
2023-12-21 20:33:30 +01:00
b4ac46f925 refactor: optimize git fetch process
- replace direct git fetch call with origin.fetch method for better error handling
- use fetch result to check for new commits instead of comparing HEAD with active branch

🤖
2023-12-21 18:38:28 +01:00
130b26ba5f feat: add self-update functionality
- add new configuration option `self-update` to enable automatic updates
- implement `do_selfupdate` function in `lib/helper.py` to perform the update
- call `do_selfupdate` in `dc-ops` if `self-update` is enabled

🤖
2023-12-21 18:38:03 +01:00
db6fd25741 feat: add command line argument to irgnore new git commits
- add new argument `--ignore-git-status` to continue even if there are no new commits
- update `update_git_repo` function to accept new argument and skip git status check if argument is passed
- update README.md with new Parameters section

🤖
2023-12-21 15:54:55 +01:00
16bc0974e1 fix: improve subprocess logging
- show subprocess.run call on DEBUG loglevel

🤖
2023-12-20 14:49:48 +01:00
72611fe619 refactor: move helper functions to separate module
🤖
2023-12-20 14:10:01 +01:00