From fe5baef8b519d43fa98f0aae0ceb73cc3dc5f818 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Thu, 11 Dec 2025 12:34:10 +0800 Subject: [PATCH] Add GPLv3 license headers to source files Added GNU General Public License v3 headers to protocol and utility modules for Xget, clarifying copyright and licensing information. This ensures compliance and transparency regarding the project's open source status. --- src/protocols/ai.js | 18 ++++++++++++++++++ src/protocols/docker.js | 18 ++++++++++++++++++ src/protocols/git.js | 18 ++++++++++++++++++ src/utils/performance.js | 18 ++++++++++++++++++ src/utils/security.js | 18 ++++++++++++++++++ src/utils/validation.js | 18 ++++++++++++++++++ 6 files changed, 108 insertions(+) diff --git a/src/protocols/ai.js b/src/protocols/ai.js index 22a2ae8..bc68053 100644 --- a/src/protocols/ai.js +++ b/src/protocols/ai.js @@ -1,3 +1,21 @@ +/** + * Xget - High-performance acceleration engine for developer resources + * Copyright (C) 2025 Xi Xu + * + * 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 . + */ + /** * AI Inference protocol handler for Xget */ diff --git a/src/protocols/docker.js b/src/protocols/docker.js index 5a20615..9beb0f3 100644 --- a/src/protocols/docker.js +++ b/src/protocols/docker.js @@ -1,3 +1,21 @@ +/** + * Xget - High-performance acceleration engine for developer resources + * Copyright (C) 2025 Xi Xu + * + * 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 . + */ + /** * Docker/OCI Registry protocol handler for Xget */ diff --git a/src/protocols/git.js b/src/protocols/git.js index 7cc93eb..cb8e973 100644 --- a/src/protocols/git.js +++ b/src/protocols/git.js @@ -1,3 +1,21 @@ +/** + * Xget - High-performance acceleration engine for developer resources + * Copyright (C) 2025 Xi Xu + * + * 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 . + */ + /** * Git protocol handler for Xget */ diff --git a/src/utils/performance.js b/src/utils/performance.js index d8eb5ec..a505ef3 100644 --- a/src/utils/performance.js +++ b/src/utils/performance.js @@ -1,3 +1,21 @@ +/** + * Xget - High-performance acceleration engine for developer resources + * Copyright (C) 2025 Xi Xu + * + * 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 . + */ + /** * Performance monitoring utilities for Xget */ diff --git a/src/utils/security.js b/src/utils/security.js index 4eb8c33..e37535c 100644 --- a/src/utils/security.js +++ b/src/utils/security.js @@ -1,3 +1,21 @@ +/** + * Xget - High-performance acceleration engine for developer resources + * Copyright (C) 2025 Xi Xu + * + * 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 . + */ + /** * Security utility functions for Xget */ diff --git a/src/utils/validation.js b/src/utils/validation.js index 2353ece..a2f623c 100644 --- a/src/utils/validation.js +++ b/src/utils/validation.js @@ -1,3 +1,21 @@ +/** + * Xget - High-performance acceleration engine for developer resources + * Copyright (C) 2025 Xi Xu + * + * 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 . + */ + /** * Request validation utilities for Xget */