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

Making Qubes Manager REUSE compliant #322

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

*.pyc
*.pyo
*~
Expand Down
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

include:
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-base.yml'
Expand Down
4 changes: 4 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

[MASTER]
persistent=no
ignore=tests,
Expand Down
8 changes: 8 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Qubes
Upstream-Contact: Michael Carbone <[email protected]>
Source: https://github.com/NSfsfe/qubes-manager.git

Files: icons/*
Copyright: 2015 Qubes
License: GPL-2.0-only
339 changes: 339 additions & 0 deletions LICENSES/GPL-2.0-only.txt

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.

SPDX-License-Identifier: GPL-2.0-only
-->

Qubes Manager
==============

Expand Down
4 changes: 4 additions & 0 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

# WARNING: those requirements are used only for travis-ci.org
# they SHOULD NOT be used under normal conditions; use system package manager
coverage
Expand Down
3 changes: 3 additions & 0 deletions icons/on-icon/off.png.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.

SPDX-License-Identifier: GPL-2.0-only
4 changes: 4 additions & 0 deletions qubesmanager/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

qrc_resources.py
resources_rc.py
ui_*.py
Expand Down
4 changes: 4 additions & 0 deletions qubesmanager/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

6 changes: 6 additions & 0 deletions qubesmanager/about.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only


# coding=utf-8
#
# The Qubes OS Project, http://www.qubes-os.org
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/backup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/python3
#

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

# The Qubes OS Project, http://www.qubes-os.org
#
# Copyright (C) 2012 Agnieszka Kostrzewa <[email protected]>
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/backup_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python2

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, http://www.qubes-os.org
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/clipboard.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, http://www.qubes-os.org
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/clone_vm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, http://www.qubes-os.org
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/common_threads.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/python3
#

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

# The Qubes OS Project, http://www.qubes-os.org
#
# Copyright (C) 2018 Donoban <[email protected]>
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/global_settings.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
*
* SPDX-License-Identifier: GPL-2.0-only
*/

QPushButton {
padding: 10px;
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/global_settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, http://www.qubes-os.org
#
Expand Down
4 changes: 4 additions & 0 deletions qubesmanager/i18n/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# SPDX-FileCopyrightText: 2015 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

*.qm
5 changes: 5 additions & 0 deletions qubesmanager/i18n/qubesmanager_en.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
//
// SPDX-License-Identifier: GPL-2.0-only


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="2.0" language="en" sourcelanguage="">
<context>
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/i18n/qubesmanager_es.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
//
// SPDX-License-Identifier: GPL-2.0-only



<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="2.0" language="es" sourcelanguage="">
<context>
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/informationnotes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only


# coding=utf-8
#
# The Qubes OS Project, http://www.qubes-os.org
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/log_dialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/python3


# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, http://www.qubes-os.org
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/mount_for_backup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only


#args:
# 1) device path
# 2) mountpoint name
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/multiselectwidget.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



from PyQt5 import QtCore, QtWidgets # pylint: disable=import-error
from . import ui_multiselectwidget # pylint: disable=no-name-in-module

Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/qube_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/python3


# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, http://www.qubes-os.org
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/qvm_about.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/sh

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

xl info|grep xen_version
uname -sr
echo " "
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/qvm_template_gui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



import asyncio
import collections
from datetime import datetime
Expand Down
7 changes: 7 additions & 0 deletions qubesmanager/releasenotes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



# coding=utf-8
#
# The Qubes OS Project, http://www.qubes-os.org
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



import asyncio
import sys

Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/tests/test_backup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, https://www.qubes-os.org/
#
Expand Down
6 changes: 6 additions & 0 deletions qubesmanager/tests/test_backup_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/python3


# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, https://www.qubes-os.org/
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/tests/test_clone_vm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, https://www.qubes-os.org/
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/tests/test_global_settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, https://www.qubes-os.org/
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/tests/test_vm_settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3

# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only

#
# The Qubes OS Project, https://www.qubes-os.org/
#
Expand Down
5 changes: 5 additions & 0 deletions qubesmanager/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only


#
# The Qubes OS Project, https://www.qubes-os.org
#
Expand Down
6 changes: 6 additions & 0 deletions test-packages/qubesadmin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



class Qubes(object):
pass

Expand Down
8 changes: 7 additions & 1 deletion test-packages/qubesadmin/backup/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
pass
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



pass
5 changes: 5 additions & 0 deletions test-packages/qubesadmin/backup/restore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only


class BackupRestore(object):

options = object()
Expand Down
5 changes: 5 additions & 0 deletions test-packages/qubesadmin/devices.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only


### mock qubesadmin.devices module

class DeviceAssignment(object):
Expand Down
6 changes: 6 additions & 0 deletions test-packages/qubesadmin/events.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



class EventsDispatcher(object):

def add_handler(self, *args):
Expand Down
6 changes: 6 additions & 0 deletions test-packages/qubesadmin/exc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



### mock qubesadmin.exc module
# pylint: disable=unused-variable

Expand Down
6 changes: 6 additions & 0 deletions test-packages/qubesadmin/firewall.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2015 Michael Carbone, <[email protected]> et al.
#
# SPDX-License-Identifier: GPL-2.0-only



### mock qubesadmin.firewall module

class Rule(object):
Expand Down
Loading