From 8dc7e297580f6170f62dec31101fc8ad40d50146 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sun, 27 Oct 2024 20:41:35 +0100 Subject: [PATCH] fix: add missing SPDX headers to files --- Vagrantfile | 5 +++++ src/command_factory.cr | 5 +++++ src/commands.cr | 5 +++++ src/commands/abstract_command.cr | 5 +++++ src/commands/config_init.cr | 5 +++++ src/commands/global_completion.cr | 5 +++++ src/commands/global_config.cr | 5 +++++ src/commands/global_help.cr | 5 +++++ src/commands/global_tui.cr | 5 +++++ src/commands/global_version.cr | 5 +++++ src/commands/mapping_create.cr | 5 +++++ src/commands/mapping_delete.cr | 5 +++++ src/commands/mapping_edit.cr | 5 +++++ src/commands/mapping_list.cr | 5 +++++ src/commands/mapping_mount.cr | 5 +++++ src/commands/mapping_umount.cr | 5 +++++ src/file_storage.cr | 5 +++++ src/file_system_manager.cr | 5 +++++ src/models/concerns/base.cr | 5 +++++ src/parsers/base.cr | 5 +++++ src/parsers/completion_parser.cr | 5 +++++ src/parsers/config_parser.cr | 5 +++++ src/parsers/mapping_parser.cr | 5 +++++ src/parsers/options/config_init_options.cr | 5 +++++ src/parsers/options/config_options.cr | 5 +++++ src/parsers/options/help_options.cr | 5 +++++ src/parsers/root_parser.cr | 5 +++++ src/types/modes.cr | 5 +++++ src/utils/breadcrumbs.cr | 5 +++++ src/utils/parser_lines.cr | 5 +++++ src/version.cr | 5 +++++ static/completion.bash | 4 ++++ static/completion.zsh | 6 ++++++ 33 files changed, 165 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 6ea27b7..9d805c0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + # frozen_string_literal: true # -*- mode: ruby -*- diff --git a/src/command_factory.cr b/src/command_factory.cr index c2d7e22..58ef721 100644 --- a/src/command_factory.cr +++ b/src/command_factory.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./commands" module GX diff --git a/src/commands.cr b/src/commands.cr index 034a066..646088a 100644 --- a/src/commands.cr +++ b/src/commands.cr @@ -1 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./commands/*" diff --git a/src/commands/abstract_command.cr b/src/commands/abstract_command.cr index 7591f15..c6f8296 100644 --- a/src/commands/abstract_command.cr +++ b/src/commands/abstract_command.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "../config" module GX::Commands diff --git a/src/commands/config_init.cr b/src/commands/config_init.cr index e4fe50e..df2ecee 100644 --- a/src/commands/config_init.cr +++ b/src/commands/config_init.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" require "../file_storage" diff --git a/src/commands/global_completion.cr b/src/commands/global_completion.cr index 4549818..7451b49 100644 --- a/src/commands/global_completion.cr +++ b/src/commands/global_completion.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" module GX::Commands diff --git a/src/commands/global_config.cr b/src/commands/global_config.cr index b3ff036..4e617d3 100644 --- a/src/commands/global_config.cr +++ b/src/commands/global_config.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" module GX::Commands diff --git a/src/commands/global_help.cr b/src/commands/global_help.cr index 794ec2e..36b87da 100644 --- a/src/commands/global_help.cr +++ b/src/commands/global_help.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" module GX::Commands diff --git a/src/commands/global_tui.cr b/src/commands/global_tui.cr index 58f22ed..9b162dd 100644 --- a/src/commands/global_tui.cr +++ b/src/commands/global_tui.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" require "../file_system_manager" diff --git a/src/commands/global_version.cr b/src/commands/global_version.cr index 9cd6757..944f026 100644 --- a/src/commands/global_version.cr +++ b/src/commands/global_version.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" require "../config" diff --git a/src/commands/mapping_create.cr b/src/commands/mapping_create.cr index e7557ed..54170a0 100644 --- a/src/commands/mapping_create.cr +++ b/src/commands/mapping_create.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" module GX::Commands diff --git a/src/commands/mapping_delete.cr b/src/commands/mapping_delete.cr index bed0534..1849320 100644 --- a/src/commands/mapping_delete.cr +++ b/src/commands/mapping_delete.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" module GX::Commands diff --git a/src/commands/mapping_edit.cr b/src/commands/mapping_edit.cr index b0ef961..216cae9 100644 --- a/src/commands/mapping_edit.cr +++ b/src/commands/mapping_edit.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" module GX::Commands diff --git a/src/commands/mapping_list.cr b/src/commands/mapping_list.cr index 35cd299..3754edd 100644 --- a/src/commands/mapping_list.cr +++ b/src/commands/mapping_list.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" require "../file_system_manager" require "tablo" diff --git a/src/commands/mapping_mount.cr b/src/commands/mapping_mount.cr index 8dcadb4..9e896eb 100644 --- a/src/commands/mapping_mount.cr +++ b/src/commands/mapping_mount.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" require "../file_system_manager" diff --git a/src/commands/mapping_umount.cr b/src/commands/mapping_umount.cr index 11dd92c..77364c2 100644 --- a/src/commands/mapping_umount.cr +++ b/src/commands/mapping_umount.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./abstract_command" require "../file_system_manager" diff --git a/src/file_storage.cr b/src/file_storage.cr index dd01b59..20a9d7b 100644 --- a/src/file_storage.cr +++ b/src/file_storage.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "baked_file_system" class FileStorage diff --git a/src/file_system_manager.cr b/src/file_system_manager.cr index 8b8c97c..5281b7c 100644 --- a/src/file_system_manager.cr +++ b/src/file_system_manager.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + # require "./models/abstract_filesystem_config" require "./utils/fzf" diff --git a/src/models/concerns/base.cr b/src/models/concerns/base.cr index 219a456..99be687 100644 --- a/src/models/concerns/base.cr +++ b/src/models/concerns/base.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + module GX::Models::Concerns module Base def mounted? : Bool diff --git a/src/parsers/base.cr b/src/parsers/base.cr index 8f3573b..e934b7c 100644 --- a/src/parsers/base.cr +++ b/src/parsers/base.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + module GX::Parsers abstract class AbstractParser abstract def build(parser : OptionParser, ancestors : BreadCrumbs, config : Config) diff --git a/src/parsers/completion_parser.cr b/src/parsers/completion_parser.cr index 3a068f9..4a29920 100644 --- a/src/parsers/completion_parser.cr +++ b/src/parsers/completion_parser.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./base.cr" module GX::Parsers diff --git a/src/parsers/config_parser.cr b/src/parsers/config_parser.cr index e3ffc05..1999e8b 100644 --- a/src/parsers/config_parser.cr +++ b/src/parsers/config_parser.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./options/config_options" require "./options/config_init_options" require "./base" diff --git a/src/parsers/mapping_parser.cr b/src/parsers/mapping_parser.cr index 077a811..7c7365f 100644 --- a/src/parsers/mapping_parser.cr +++ b/src/parsers/mapping_parser.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./base.cr" require "../utils/parser_lines" diff --git a/src/parsers/options/config_init_options.cr b/src/parsers/options/config_init_options.cr index 97a31a3..d28065c 100644 --- a/src/parsers/options/config_init_options.cr +++ b/src/parsers/options/config_init_options.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "option_parser" module GX::Parsers::Options diff --git a/src/parsers/options/config_options.cr b/src/parsers/options/config_options.cr index 6cacac0..37b29b8 100644 --- a/src/parsers/options/config_options.cr +++ b/src/parsers/options/config_options.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "option_parser" module GX::Parsers::Options diff --git a/src/parsers/options/help_options.cr b/src/parsers/options/help_options.cr index e81fa2e..0a2b865 100644 --- a/src/parsers/options/help_options.cr +++ b/src/parsers/options/help_options.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "option_parser" module GX::Parsers::Options diff --git a/src/parsers/root_parser.cr b/src/parsers/root_parser.cr index b190985..7c9c908 100644 --- a/src/parsers/root_parser.cr +++ b/src/parsers/root_parser.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./base" require "./config_parser" require "./mapping_parser" diff --git a/src/types/modes.cr b/src/types/modes.cr index 810a8f7..69dbdc8 100644 --- a/src/types/modes.cr +++ b/src/types/modes.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + module GX::Types enum Mode None diff --git a/src/utils/breadcrumbs.cr b/src/utils/breadcrumbs.cr index f12c5f8..01f5833 100644 --- a/src/utils/breadcrumbs.cr +++ b/src/utils/breadcrumbs.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + module GX::Utils class BreadCrumbs def initialize(base : Array(String)) diff --git a/src/utils/parser_lines.cr b/src/utils/parser_lines.cr index 4d9039e..adee77e 100644 --- a/src/utils/parser_lines.cr +++ b/src/utils/parser_lines.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "./breadcrumbs" module GX::Utils diff --git a/src/version.cr b/src/version.cr index 0fd98ff..4adcdb2 100644 --- a/src/version.cr +++ b/src/version.cr @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + require "version_from_shard" module GX diff --git a/static/completion.bash b/static/completion.bash index d990879..cbede6a 100644 --- a/static/completion.bash +++ b/static/completion.bash @@ -1,4 +1,8 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland # mfm Bash completion script diff --git a/static/completion.zsh b/static/completion.zsh index e69de29..f57dc9d 100644 --- a/static/completion.zsh +++ b/static/completion.zsh @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# +# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland +# Copyright © 2024 Glenn Y. Rolland + +