Skip to content

Commit

Permalink
Merge branch 'master' into wait-for-network
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeigler authored Dec 25, 2024
2 parents 3051178 + f2b4274 commit 098cc04
Show file tree
Hide file tree
Showing 6 changed files with 950 additions and 842 deletions.
2 changes: 1 addition & 1 deletion src/vorta/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.10.2"
__version__ = "0.10.3"
2 changes: 1 addition & 1 deletion src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</screenshot>
</screenshots>
<releases>
<release version="v0.10.2" date="2024-12-05" urgency="low">
<release version="v0.10.3" date="2024-12-23" urgency="low">
<description>
See Github for detailed release notes: github.com/borgbase/vorta/releases
</description>
Expand Down
4 changes: 3 additions & 1 deletion src/vorta/borg/borg_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ def run(self):
profile=self.params.get('profile_id', None),
)
log_entry.save()
logger.info('Running command %s', ' '.join(self.cmd))
cmd_log_tmp = [s.replace(" ", "\\ ") for s in self.cmd] # escape whitespace - for logs
logger.info('Running command %s', ' '.join(cmd_log_tmp))
del cmd_log_tmp

p = Popen(
self.cmd,
Expand Down
5 changes: 3 additions & 2 deletions src/vorta/borg/create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import shlex
import subprocess
import tempfile
from datetime import datetime as dt
Expand Down Expand Up @@ -102,8 +103,8 @@ def prepare(cls, profile):
suffix_command = []
if profile.repo.create_backup_cmd:
s1, sep, s2 = profile.repo.create_backup_cmd.partition('-- ')
extra_cmd_options = s1.split()
suffix_command = (sep + s2).split()
extra_cmd_options = shlex.split(s1)
suffix_command = shlex.split(sep + s2)

if n_backup_folders == 0 and '--paths-from-command' not in extra_cmd_options:
ret['message'] = trans_late('messages', 'Add some folders to back up first.')
Expand Down
Binary file modified src/vorta/i18n/qm/vorta.cs.qm
Binary file not shown.
Loading

0 comments on commit 098cc04

Please sign in to comment.