• Joined on 2023-02-08
Soumik_Dutta commented on issue borgmatic-collective/borgmatic#298 2024-06-28 09:06:26 +00:00
Borgmatic delete?

No, I am not working on this code anymore. Please feel free to assign this to someone else @witten

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-26 04:31:37 +00:00
Add option to disable syslog output

I think I have completed most of the tests. So please review. 😄

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-26 04:25:45 +00:00
Add option to disable syslog output

In tests/unit/test_logger.py Line 316

flexmock(module.os.path).should_receive('exists').with_args('/dev/log').and_return(True)

shouldn't this be

flexmock(module.o
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-21 16:57:03 +00:00
Add option to disable syslog output

It's the test_run_configuration_bails_for_monitor_log_soft_failure test in tests/unit/commands/test_borgmatic.py, line 119

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-12 14:41:10 +00:00
Add option to disable syslog output

I have updated the tests. However I faced one issue. It seems to me that in the tests in the file tests/unit/commands/test_borgmatic.py, for the line where we set the monitoring_verbosity,

`…

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-03 15:30:35 +00:00
Add option to disable syslog output

While writing unit tests for Healthchecks in tests/unit/hooks/test_healthchecks.py, I noticed that monitoring_log_level is set to 1 while monitoring_log_level should actually correspond…

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-03 14:12:58 +00:00
Add option to disable syslog output

Considering the second option of not sending logs if --monitoring-verbosity is set to -2, I have disabled the addition of Forgetful_buffering_handler.

Soumik_Dutta commented on issue borgmatic-collective/borgmatic#687 2023-05-01 19:17:44 +00:00
Trouble running custom config

Thanks! Now everything is working fine again.

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-04-30 22:29:19 +00:00
Add option to disable syslog output

For verbosity level for monitoring services, I see that for all the definitions of ping_monitor :

def ping_monitor(hook_config, config_filename, state, monitoring_log_level,
Soumik_Dutta opened issue borgmatic-collective/borgmatic#687 2023-04-30 21:53:01 +00:00
Trouble running custom config
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-04-13 07:08:07 +00:00
Add option to disable syslog output

Yes I agree, adding verbosity level -2 will be better. Its better to show log level (as done by syslog) in output instead of indicating the log level by its colour (from console_logs) to…

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-04-13 06:58:57 +00:00
Add option to disable syslog output

Yes it will be good for consistency. Otherwise we will have to document around this.

Soumik_Dutta created pull request borgmatic-collective/borgmatic#675 2023-04-12 10:01:12 +00:00
Add option to disable syslog output
Soumik_Dutta commented on issue borgmatic-collective/borgmatic#298 2023-03-22 23:10:09 +00:00
Borgmatic delete?

In the arguments, is it necessary to mention default=False if action='store_true' is passed? From the docs it seems unnecessary to…

Soumik_Dutta commented on issue borgmatic-collective/borgmatic#298 2023-03-22 22:33:54 +00:00
Borgmatic delete?

Also, if --repository is not mentioned, by default, it should delete all repositories or if an archive is mentioned, it should delete that archive from all configured repositories, right?

Soumik_Dutta commented on issue borgmatic-collective/borgmatic#298 2023-03-22 21:40:27 +00:00
Borgmatic delete?

I have a question in general, between Borg 1 and Borg 2, a lot of commands have changed. For example between these versions,

Soumik_Dutta commented on issue borgmatic-collective/borgmatic#298 2023-03-21 02:22:33 +00:00
Borgmatic delete?

I want to work on this issue if this is available 😄

Soumik_Dutta created pull request borgmatic-collective/borgmatic#654 2023-03-17 20:20:24 +00:00
WIP: add option to set borg_files_cache_ttl in config
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#645 2023-03-07 22:08:31 +00:00
Add support for healthchecks "log" feature #628

Yes, I have "format-on-save" turned-on on VSCode with the default Python formatter but it didn't pickup the rule. Though I would be happy to setup pre-commit rules to run black (with custom rules)…

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#645 2023-03-06 15:02:09 +00:00
Add support for healthchecks "log" feature #628

Sorry that was in issue on my part 😅 . The tests work fine. I was checking if the state existed in the values instead of the keys of the dict MONITOR_STATES_TO.... I have updated the code…