Skip to content

Commit

Permalink
chore: Remove debug code and improve SPDX license meta data
Browse files Browse the repository at this point in the history
Close #1918 with removing some forgotten debug code.
Add some more SDPX license data.
  • Loading branch information
buhtz authored Nov 8, 2024
1 parent 764a3fe commit 49d37d3
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 4 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ the packages provided by the official repository of your GNU/Linux distribution.
- `flake8`
- `ruff` (>= 0.6.0)
- `codespell`
- `reuse` (>= 4.0.0)

* Dependencies to build documentation
- All runtime, build, testing dependencies including the recommended
Expand Down
11 changes: 10 additions & 1 deletion common/backintime.desktop
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# SPDX-FileCopyrightText: © 2009 Back In Time team
#
# SPDX-License-Identifier: CC0-1.0
#
# This file is released under Creative Commons Zero 1.0 (CC0-1.0) and part of
# the program "Back In Time". The program as a whole is released under GNU
# General Public License v2 or any later version (GPL-2.0-or-later).
# See LICENSES directory or go to <https://spdx.org/licenses/CC0-1.0.html>
# and <https://spdx.org/licenses/GPL-2.0-or-later.html>.
[Desktop Entry]
Version=1.0
Name=Backintime Password Cache
Exec=/bin/sh -c "backintime pw-cache start 2>&1 >/dev/null"
Comment=Cache passwords for non-interactive Backintime cronjobs
Comment=Cache passwords for non-interactive Back In Time cronjobs
Icon=gtk-save
SingleMainWindow=true
Terminal=false
Expand Down
8 changes: 8 additions & 0 deletions common/bash-completion/backintime
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# SPDX-FileCopyrightText: © 2015 Germar Reitze
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This file is part of the program "Back In time" which is released under GNU
# General Public License v2 (GPLv2). See file/folder LICENSE or go to
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.

# extract profile and config arguments
_bit_extr_opts()
{
Expand Down
10 changes: 10 additions & 0 deletions doc/ENCRYPT_TRANSITION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
SPDX-FileCopyrightText: © 2024 Back In Time Team
SPDX-License-Identifier: GPL-2.0-or-later
This file is part of the program "Back In Time" which is released under GNU
General Public License v2 (GPLv2). See LICENSES directory or go to
<https://spdx.org/licenses/GPL-2.0-or-later.html>
-->

# Transition of the encryption feature in _Back In Time_
<sub>July 2024</sub>

Expand Down
2 changes: 1 addition & 1 deletion doc/maintain/1_doc_howto.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2024 Christian Buhtz <[email protected]>
SPDX-FileCopyrightText: © 2024 Christian Buhtz <[email protected]>
SPDX-License-Identifier: GPL-2.0-or-later
Expand Down
9 changes: 9 additions & 0 deletions doc/maintain/2_localization.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
SPDX-FileCopyrightText: 2024 Christian Buhtz <[email protected]>
SPDX-License-Identifier: GPL-2.0-or-later
This file is part of the program "Back In Time" which is released under GNU
General Public License v2 (GPLv2). See file/folder LICENSE or go to
<https://spdx.org/licenses/GPL-2.0-or-later.html>
-->
# Translation and localization (l10n) of Back In Time using Weblate
<sub>Feel free to [open issues](https://github.com/bit-team/backintime/issues) or contact the [maintenance team on the mailing list](https://mail.python.org/mailman3/lists/bit-dev.python.org/) if this text is difficult to understand or not helpful.</sub>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
SPDX-FileCopyrightText: © 2023 Jürgen Altfeld (aryoda)
SPDX-License-Identifier: GPL-2.0-or-later
This file is part of the program "Back In Time" which is released under GNU
General Public License v2 (GPLv2). See file/folder LICENSE or go to
<https://spdx.org/licenses/GPL-2.0-or-later.html>
-->
# How to set up a local `openssh-server` to enable ssh unit tests
<!-- TOC start (generated with https://github.com/derlin/bitdowntoc) -->
- [Motivation](#motivation)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
SPDX-FileCopyrightText: © 2023 Jürgen Altfeld (aryoda)
SPDX-License-Identifier: GPL-2.0-or-later
This file is part of the program "Back In Time" which is released under GNU
General Public License v2 (GPLv2). See file/folder LICENSE or go to
<https://spdx.org/licenses/GPL-2.0-or-later.html>
-->
# Usage of control files in _Back In Time_ (developer documentation)

Table of contents:
Expand Down
6 changes: 4 additions & 2 deletions qt/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,12 +588,14 @@ def _create_actions(self):
_('Restore the selected files or directories to a '
'new destination.')),
'act_restore_parent': (
icon.RESTORE, 'RESTORE PARENT (DEBUG)',
icon.RESTORE,
None, # text label is set elsewhere
self.restoreParent, None,
_('Restore the currently shown directory and all its contents '
'to the original destination.')),
'act_restore_parent_to': (
icon.RESTORE_TO, 'RESTORE PARENT TO (DEBUG)',
icon.RESTORE_TO,
None, # text label is set elsewhere
self.restoreParentTo, None,
_('Restore the currently shown directory and all its contents '
'to a new destination.')),
Expand Down

0 comments on commit 49d37d3

Please sign in to comment.