Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mail encoding and typos #161

Merged

Conversation

CodeShakingSheep
Copy link
Member

@CodeShakingSheep CodeShakingSheep commented Jun 9, 2024

Problem

Mail encoding
In the mails sent from borg at the end of some lines there were these signs …. See screenshot.
image

Typos
Furthermore, when the backups were successful, the mail subject was like this [borg] Backup succeed from [...] which is incorrect past tense of succeed.

Solution

Mail encoding
The affected lines originate from the borg log files in which instead of … there are 3 points ... at the end of those lines. So, I believe that this is an encoding issue. See https://www.i18nqa.com/debug/utf8-debug.html . I applied the solution suggested here using -a parameter in the mail command.

Typos
I fixed the typos so that the mail subject is like this now [borg] Backup succeeded from [...] which is correct past tense of succeed. Additionally, I fixed a typo in backup-with-borg's comments.

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@CodeShakingSheep CodeShakingSheep changed the base branch from master to testing June 9, 2024 14:55
@CodeShakingSheep
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

📚
Test Badge

@yunohost-bot
Copy link
Contributor

🚀
Test Badge

@ericgaspar ericgaspar merged commit 053e269 into YunoHost-Apps:testing Jun 10, 2024
@ericgaspar ericgaspar mentioned this pull request Jun 10, 2024
@CodeShakingSheep CodeShakingSheep deleted the fix-mail-encoding-and-typos branch July 30, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants