From bc2e4040094732438b333807746277c67def3ea7 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Mon, 26 Sep 2022 12:28:21 -0700 Subject: [PATCH] Add GPL headers --- build.go | 18 ++++++++++++++++++ config.go | 18 ++++++++++++++++++ distro/osrelease.go | 18 ++++++++++++++++++ download/download.go | 18 ++++++++++++++++++ install.go | 18 ++++++++++++++++++ internal/shutils/decoder/decoder.go | 18 ++++++++++++++++++ internal/shutils/exec.go | 18 ++++++++++++++++++ internal/shutils/nop.go | 18 ++++++++++++++++++ main.go | 18 ++++++++++++++++++ manager/apk.go | 18 ++++++++++++++++++ manager/apt.go | 18 ++++++++++++++++++ manager/dnf.go | 18 ++++++++++++++++++ manager/managers.go | 18 ++++++++++++++++++ manager/pacman.go | 18 ++++++++++++++++++ manager/yum.go | 18 ++++++++++++++++++ manager/zypper.go | 18 ++++++++++++++++++ repo.go | 18 ++++++++++++++++++ upgrade.go | 18 ++++++++++++++++++ version.go | 18 ++++++++++++++++++ version_test.go | 18 ++++++++++++++++++ 20 files changed, 360 insertions(+) diff --git a/build.go b/build.go index 7d9c3d6..f645dd0 100644 --- a/build.go +++ b/build.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/config.go b/config.go index c8379bf..6126070 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/distro/osrelease.go b/distro/osrelease.go index 6131d4e..bc53db8 100644 --- a/distro/osrelease.go +++ b/distro/osrelease.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package distro import ( diff --git a/download/download.go b/download/download.go index 470acfe..b823b08 100644 --- a/download/download.go +++ b/download/download.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package download import ( diff --git a/install.go b/install.go index 6f8fbd7..0183941 100644 --- a/install.go +++ b/install.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/internal/shutils/decoder/decoder.go b/internal/shutils/decoder/decoder.go index c0c1051..d170f3c 100644 --- a/internal/shutils/decoder/decoder.go +++ b/internal/shutils/decoder/decoder.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package decoder import ( diff --git a/internal/shutils/exec.go b/internal/shutils/exec.go index b953357..ef1cb41 100644 --- a/internal/shutils/exec.go +++ b/internal/shutils/exec.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package shutils import ( diff --git a/internal/shutils/nop.go b/internal/shutils/nop.go index 7af363f..8c4d905 100644 --- a/internal/shutils/nop.go +++ b/internal/shutils/nop.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package shutils import ( diff --git a/main.go b/main.go index c06ad94..10fa6d3 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/manager/apk.go b/manager/apk.go index 4f12b18..75551f9 100644 --- a/manager/apk.go +++ b/manager/apk.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/manager/apt.go b/manager/apt.go index c1d93c8..078c83d 100644 --- a/manager/apt.go +++ b/manager/apt.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/manager/dnf.go b/manager/dnf.go index 2a11e99..5fd0521 100644 --- a/manager/dnf.go +++ b/manager/dnf.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/manager/managers.go b/manager/managers.go index a94e122..507ded8 100644 --- a/manager/managers.go +++ b/manager/managers.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/manager/pacman.go b/manager/pacman.go index 0a4fd8f..60472ef 100644 --- a/manager/pacman.go +++ b/manager/pacman.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/manager/yum.go b/manager/yum.go index 7186361..615cf3c 100644 --- a/manager/yum.go +++ b/manager/yum.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/manager/zypper.go b/manager/zypper.go index b0d0652..97f90b7 100644 --- a/manager/zypper.go +++ b/manager/zypper.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package manager import ( diff --git a/repo.go b/repo.go index 58c05fe..df34dde 100644 --- a/repo.go +++ b/repo.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/upgrade.go b/upgrade.go index 122e7d7..16db042 100644 --- a/upgrade.go +++ b/upgrade.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/version.go b/version.go index 6700799..d1e4cd7 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import ( diff --git a/version_test.go b/version_test.go index 863798c..461cbb8 100644 --- a/version_test.go +++ b/version_test.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2022 Arsen Musayelyan + * + * 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 . + */ + package main import (