From 0bb27576a37de4bf76dab35c73fa8790fcfa706a Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Mon, 29 Sep 2025 21:53:16 +0200 Subject: convert license headers to SPDX format --- internal/cli/command.go | 19 ++----------------- internal/cli/interface.go | 19 ++----------------- internal/cli/query.go | 19 ++----------------- internal/prompt/cloud.go | 19 ++----------------- internal/prompt/git.go | 19 ++----------------- internal/prompt/login.go | 19 ++----------------- internal/prompt/main.go | 19 ++----------------- internal/prompt/misc.go | 19 ++----------------- internal/prompt/pwd.go | 19 ++----------------- internal/prompt/term.go | 19 ++----------------- internal/rtree/get_test.go | 19 ++----------------- internal/rtree/index.go | 19 ++----------------- internal/rtree/init.go | 19 ++----------------- internal/rtree/main.go | 19 ++----------------- internal/rtree/remote.go | 19 ++----------------- internal/rtree/remote_test.go | 19 ++----------------- internal/rtree/repo.go | 19 ++----------------- internal/rtree/shared_test.go | 19 ++----------------- main.go | 19 ++----------------- 19 files changed, 38 insertions(+), 323 deletions(-) diff --git a/internal/cli/command.go b/internal/cli/command.go index a9938d1..8208aac 100644 --- a/internal/cli/command.go +++ b/internal/cli/command.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package cli diff --git a/internal/cli/interface.go b/internal/cli/interface.go index a5879f6..4ceb0b5 100644 --- a/internal/cli/interface.go +++ b/internal/cli/interface.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package cli diff --git a/internal/cli/query.go b/internal/cli/query.go index 3aaa495..94edb12 100644 --- a/internal/cli/query.go +++ b/internal/cli/query.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package cli diff --git a/internal/prompt/cloud.go b/internal/prompt/cloud.go index 14cd18a..6eaaa62 100644 --- a/internal/prompt/cloud.go +++ b/internal/prompt/cloud.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/prompt/git.go b/internal/prompt/git.go index 26291c4..b77404b 100644 --- a/internal/prompt/git.go +++ b/internal/prompt/git.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/prompt/login.go b/internal/prompt/login.go index 187ae79..bdcbd8a 100644 --- a/internal/prompt/login.go +++ b/internal/prompt/login.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/prompt/main.go b/internal/prompt/main.go index 84d258c..5257290 100644 --- a/internal/prompt/main.go +++ b/internal/prompt/main.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/prompt/misc.go b/internal/prompt/misc.go index 124015a..382c6cd 100644 --- a/internal/prompt/misc.go +++ b/internal/prompt/misc.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/prompt/pwd.go b/internal/prompt/pwd.go index 27fe84b..b549a39 100644 --- a/internal/prompt/pwd.go +++ b/internal/prompt/pwd.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/prompt/term.go b/internal/prompt/term.go index dcf614e..70a3b27 100644 --- a/internal/prompt/term.go +++ b/internal/prompt/term.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2021 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2021 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package prompt diff --git a/internal/rtree/get_test.go b/internal/rtree/get_test.go index 789e903..4d0d8f3 100644 --- a/internal/rtree/get_test.go +++ b/internal/rtree/get_test.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/index.go b/internal/rtree/index.go index a329cd7..f1af07d 100644 --- a/internal/rtree/index.go +++ b/internal/rtree/index.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/init.go b/internal/rtree/init.go index 13947a8..3a8e08f 100644 --- a/internal/rtree/init.go +++ b/internal/rtree/init.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/main.go b/internal/rtree/main.go index 7e27428..842a67b 100644 --- a/internal/rtree/main.go +++ b/internal/rtree/main.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/remote.go b/internal/rtree/remote.go index a8d5564..afcdf9b 100644 --- a/internal/rtree/remote.go +++ b/internal/rtree/remote.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/remote_test.go b/internal/rtree/remote_test.go index 3a8de82..b61f47a 100644 --- a/internal/rtree/remote_test.go +++ b/internal/rtree/remote_test.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2020 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2020 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/repo.go b/internal/rtree/repo.go index 397df4f..c8e8ff3 100644 --- a/internal/rtree/repo.go +++ b/internal/rtree/repo.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/internal/rtree/shared_test.go b/internal/rtree/shared_test.go index 0a5e2df..c435110 100644 --- a/internal/rtree/shared_test.go +++ b/internal/rtree/shared_test.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package rtree diff --git a/main.go b/main.go index d9985b1..0dcc267 100644 --- a/main.go +++ b/main.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2017 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2017 Stefan Majewsky +// SPDX-License-Identifier: GPL-3.0-only package main -- cgit v1.3.1