Skip to content

Commit 7f96e5e

Browse files
authored
chore: Complete lincense information as SPDX meta data
Close #1959
1 parent 2889e31 commit 7f96e5e

49 files changed

Lines changed: 336 additions & 487 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Version 1.6.0-dev (development of upcoming release)
44
* Fix: Snapshot compare copy symlink as symlink (#1902) (Peter Sevens @sevens)
55
* Fix: Crash when comparing a snapshot with a symlink pointing to a nonexistent target (Peter Sevens @sevens)
66
* Fix: Crash (KeyError) opening language setup dialog with unknown locale/language
7+
* Changed: Completed license information to conform the REUSE.software and SPDX standards.
78

89
Version 1.5.3 (2024-11-13)
910
* Doc: User manual (build with MkDocs) (#1838) (Kosta Vukicevic @stcksmsh)

REUSE.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ path = [
1717
"VERSION",
1818
"CHANGES",
1919
"TRANSLATIONS",
20+
"common/config-example-*",
21+
"common/test/config",
22+
2023
]
2124
SPDX-License-Identifier = "CC0-1.0"
2225
SPDX-FileCopyrightText = "© 2008 Back In Time Team"

common/applicationinstance.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
# Back In Time
2-
# Copyright (C) 2008-2022 Oprea Dan, Bart de Koning, Richard Bailey,
3-
# Germar Reitze
1+
# SPDX-FileCopyrightText: © 2008-2022 Oprea Dan
2+
# SPDX-FileCopyrightText: © 2008-2022 Bart de Koning
3+
# SPDX-FileCopyrightText: © 2008-2022 Richard Bailey
4+
# SPDX-FileCopyrightText: © 2008-2022 Germar Reitze
45
#
5-
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; either version 2 of the License, or
8-
# (at your option) any later version.
6+
# SPDX-License-Identifier: GPL-2.0-or-later
97
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License along
16-
# with this program; if not, write to the Free Software Foundation, Inc.,
17-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18-
8+
# This file is part of the program "Back In Time" which is released under GNU
9+
# General Public License v2 (GPLv2). See LICENSES directory or go to
10+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
1911
"""
2012
This module holds the ApplicationInstance class, used to handle
2113
the one application instance mechanism.

common/askpass.py

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
# Copyright (C) 2012-2022 Germar Reitze
1+
# SPDX-FileCopyrightText: © 2012-2022 Germar Reitze
22
#
3-
# This program is free software; you can redistribute it and/or modify
4-
# it under the terms of the GNU General Public License as published by
5-
# the Free Software Foundation; either version 2 of the License, or
6-
# (at your option) any later version.
3+
# SPDX-License-Identifier: GPL-2.0-or-later
74
#
8-
# This program is distributed in the hope that it will be useful,
9-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
# GNU General Public License for more details.
12-
#
13-
# You should have received a copy of the GNU General Public License along
14-
# with this program; if not, write to the Free Software Foundation, Inc.,
15-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16-
5+
# This file is part of the program "Back In Time" which is released under GNU
6+
# General Public License v2 (GPLv2). See LICENSES directory or go to
7+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
178
import os
189
import sys
1910
import password

common/backintime.py

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1-
# Back In Time
2-
# Copyright (C) 2008-2022 Oprea Dan, Bart de Koning, Richard Bailey, Germar Reitze
1+
# SPDX-FileCopyrightText: © 2008-2022 Oprea Dan
2+
# SPDX-FileCopyrightText: © 2008-2022 Bart de Koning
3+
# SPDX-FileCopyrightText: © 2008-2022 Richard Bailey
4+
# SPDX-FileCopyrightText: © 2008-2022 Germar Reitze
35
#
4-
# This program is free software; you can redistribute it and/or modify
5-
# it under the terms of the GNU General Public License as published by
6-
# the Free Software Foundation; either version 2 of the License, or
7-
# (at your option) any later version.
6+
# SPDX-License-Identifier: GPL-2.0-or-later
87
#
9-
# This program is distributed in the hope that it will be useful,
10-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
13-
#
14-
# You should have received a copy of the GNU General Public License along
15-
# with this program; if not, write to the Free Software Foundation, Inc.,
16-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17-
8+
# This file is part of the program "Back In Time" which is released under GNU
9+
# General Public License v2 (GPLv2). See LICENSES directory or go to
10+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
1811
import os
1912
import sys
2013
import argparse

common/configfile.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
# Back In Time
2-
# Copyright (C) 2008-2022 Oprea Dan, Bart de Koning, Richard Bailey, Germar
3-
# Reitze
1+
# SPDX-FileCopyrightText: © 2008-2022 Oprea Dan
2+
# SPDX-FileCopyrightText: © 2008-2022 Bart de Koning
3+
# SPDX-FileCopyrightText: © 2008-2022 Richard Bailey
4+
# SPDX-FileCopyrightText: © 2008-2022 Germar Reitze
45
#
5-
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; either version 2 of the License, or
8-
# (at your option) any later version.
6+
# SPDX-License-Identifier: GPL-2.0-or-later
97
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License along
16-
# with this program; if not, write to the Free Software Foundation, Inc.,
17-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18-
8+
# This file is part of the program "Back In Time" which is released under GNU
9+
# General Public License v2 (GPLv2). See LICENSES directory or go to
10+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
1911
import os
2012
import collections
2113
import re

common/exceptions.py

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,71 @@
1-
# Copyright (C) 2015-2022 Germar Reitze
1+
# SPDX-FileCopyrightText: © 2015-2022 Germar Reitze
22
#
3-
# This program is free software; you can redistribute it and/or modify
4-
# it under the terms of the GNU General Public License as published by
5-
# the Free Software Foundation; either version 2 of the License, or
6-
# (at your option) any later version.
3+
# SPDX-License-Identifier: GPL-2.0-or-later
74
#
8-
# This program is distributed in the hope that it will be useful,
9-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
# GNU General Public License for more details.
12-
#
13-
# You should have received a copy of the GNU General Public License along
14-
# with this program; if not, write to the Free Software Foundation, Inc.,
15-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5+
# This file is part of the program "Back In Time" which is released under GNU
6+
# General Public License v2 (GPLv2). See LICENSES directory or go to
7+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
168

179
class BackInTimeException(Exception):
1810
pass
1911

12+
2013
class MountException(BackInTimeException):
2114
pass
2215

16+
2317
class NoPubKeyLogin(MountException):
2418
pass
2519

20+
2621
class KnownHost(MountException):
2722
pass
2823

24+
2925
class HashCollision(BackInTimeException):
3026
pass
3127

28+
3229
class EncodeValueError(BackInTimeException):
3330
pass
3431

32+
3533
class StopException(BackInTimeException):
3634
pass
3735

36+
3837
class Timeout(BackInTimeException):
3938
pass
4039

40+
4141
class LastSnapshotSymlink(BackInTimeException):
4242
pass
4343

44+
4445
class InvalidChar(BackInTimeException):
4546
def __init__(self, msg):
4647
self.msg = msg
4748

4849
def __str__(self):
4950
return self.msg
5051

52+
5153
class InvalidCmd(BackInTimeException):
5254
def __init__(self, msg):
5355
self.msg = msg
5456

5557
def __str__(self):
5658
return self.msg
5759

60+
5861
class LimitExceeded(BackInTimeException):
5962
def __init__(self, msg):
6063
self.msg = msg
6164

6265
def __str__(self):
6366
return self.msg
6467

68+
6569
class PermissionDeniedByPolicy(BackInTimeException):
6670
def __init__(self, msg):
6771
self.msg = msg

common/flock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# SPDX-License-Identifier: GPL-2.0-or-later
44
#
55
# This file is part of the program "Back In Time" which is released under GNU
6-
# General Public License v2 (GPLv2).
7-
# See file LICENSE or go to <https://www.gnu.org/licenses/#GPL>.
6+
# General Public License v2 (GPLv2). See LICENSES directory or go to
7+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
88
"""Manage file lock.
99
1010
Offer context managers to manage file lock (flock) files.

common/guiapplicationinstance.py

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1-
# Back In Time
2-
# Copyright (C) 2008-2022 Oprea Dan, Bart de Koning, Richard Bailey,
3-
# Germar Reitze
1+
# SPDX-FileCopyrightText: © 2008-2022 Oprea Dan
2+
# SPDX-FileCopyrightText: © 2008-2022 Bart de Koning
3+
# SPDX-FileCopyrightText: © 2008-2022 Richard Bailey
4+
# SPDX-FileCopyrightText: © 2008-2022 Germar Reitze
45
#
5-
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; either version 2 of the License, or
8-
# (at your option) any later version.
6+
# SPDX-License-Identifier: GPL-2.0-or-later
97
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License along
16-
# with this program; if not, write to the Free Software Foundation, Inc.,
17-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
8+
# This file is part of the program "Back In Time" which is released under GNU
9+
# General Public License v2 (GPLv2). See LICENSES directory or go to
10+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
1811
import os
1912
import logger
2013
from applicationinstance import ApplicationInstance

common/languages.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# SPDX-FileCopyrightText: © 2023 Christian BUHTZ <c.buhtz@posteo.jp>
2+
#
3+
# SPDX-License-Identifier: GPL-2.0-or-later
4+
#
5+
# This file is part of the program "Back In time" which is released under GNU
6+
# General Public License v2 (GPLv2). See file/folder LICENSE or go to
7+
# <https://spdx.org/licenses/GPL-2.0-or-later.html>.
8+
#
19
# Generated at Wed Nov 13 09:21:14 2024 with help
210
# of package "babel" and "polib".
311
# https://babel.pocoo.org

0 commit comments

Comments
 (0)