diff --git a/src/git/src/auth.js b/src/git/src/auth.js index 54828f154..29fbec8d2 100644 --- a/src/git/src/auth.js +++ b/src/git/src/auth.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Authentication manager * Eventually this will want to retrieve stored credentials from somewhere, but for now diff --git a/src/git/src/color.js b/src/git/src/color.js index 48d46cab8..096199d61 100644 --- a/src/git/src/color.js +++ b/src/git/src/color.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import chalk from 'chalk'; export const color_options = { diff --git a/src/git/src/diff.js b/src/git/src/diff.js index 86da0ed2a..726f9d399 100644 --- a/src/git/src/diff.js +++ b/src/git/src/diff.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import * as Diff from 'diff'; import git from 'isomorphic-git'; import path from 'path-browserify'; diff --git a/src/git/src/filesystem.js b/src/git/src/filesystem.js index 2378bd0aa..8ad0cbce5 100644 --- a/src/git/src/filesystem.js +++ b/src/git/src/filesystem.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import { PosixError } from '@heyputer/puter-js-common/src/PosixError.js'; import path_ from 'path-browserify'; diff --git a/src/git/src/format.js b/src/git/src/format.js index 3c721d95d..cfd2ad994 100644 --- a/src/git/src/format.js +++ b/src/git/src/format.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import { shorten_hash } from './git-helpers.js'; import chalk from 'chalk'; import { get_matching_refs } from './refs.js'; diff --git a/src/git/src/git-command-definition.js b/src/git/src/git-command-definition.js index a710df310..4961e2d18 100644 --- a/src/git/src/git-command-definition.js +++ b/src/git/src/git-command-definition.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * The command definition for `git` itself, in the same format as subcommands. diff --git a/src/git/src/git-helpers.js b/src/git/src/git-helpers.js index 22c3531db..a68a1b51c 100644 --- a/src/git/src/git-helpers.js +++ b/src/git/src/git-helpers.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import path from 'path-browserify'; import git from 'isomorphic-git'; import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js'; diff --git a/src/git/src/help.js b/src/git/src/help.js index 6b703e746..f83cbc725 100644 --- a/src/git/src/help.js +++ b/src/git/src/help.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Throw this from a subcommand's execute() in order to print its usage text to stderr. diff --git a/src/git/src/main.js b/src/git/src/main.js index 86e060a00..ef26fd7b3 100644 --- a/src/git/src/main.js +++ b/src/git/src/main.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import { parseArgs } from '@pkgjs/parseargs'; import subcommands from './subcommands/__exports__.js'; import git_command from './git-command-definition.js'; diff --git a/src/git/src/refs.js b/src/git/src/refs.js index eaae68782..3b37a695c 100644 --- a/src/git/src/refs.js +++ b/src/git/src/refs.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ // Map of hash -> array of full reference names import git from 'isomorphic-git'; diff --git a/src/git/src/subcommands/add.js b/src/git/src/subcommands/add.js index 8233fcbad..11a414b68 100644 --- a/src/git/src/subcommands/add.js +++ b/src/git/src/subcommands/add.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import { find_repo_root } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/branch.js b/src/git/src/subcommands/branch.js index 1866e046c..479ef97b1 100644 --- a/src/git/src/subcommands/branch.js +++ b/src/git/src/subcommands/branch.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import { find_repo_root, shorten_hash } from '../git-helpers.js'; import { SHOW_USAGE } from '../help.js'; diff --git a/src/git/src/subcommands/checkout.js b/src/git/src/subcommands/checkout.js index ddd848b4f..fe58083fd 100644 --- a/src/git/src/subcommands/checkout.js +++ b/src/git/src/subcommands/checkout.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import { find_repo_root, resolve_to_commit, shorten_hash } from '../git-helpers.js'; import { SHOW_USAGE } from '../help.js'; diff --git a/src/git/src/subcommands/cherry-pick.js b/src/git/src/subcommands/cherry-pick.js index 377e7334d..a094886d9 100644 --- a/src/git/src/subcommands/cherry-pick.js +++ b/src/git/src/subcommands/cherry-pick.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git, { TREE } from 'isomorphic-git'; import { find_repo_root, has_staged_changes, resolve_to_commit, shorten_hash } from '../git-helpers.js'; import { SHOW_USAGE } from '../help.js'; diff --git a/src/git/src/subcommands/clone.js b/src/git/src/subcommands/clone.js index c93da28b3..f34b76106 100644 --- a/src/git/src/subcommands/clone.js +++ b/src/git/src/subcommands/clone.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import http from 'isomorphic-git/http/web'; import { SHOW_USAGE } from '../help.js'; diff --git a/src/git/src/subcommands/commit.js b/src/git/src/subcommands/commit.js index 0af26fcb4..a835a0cd0 100644 --- a/src/git/src/subcommands/commit.js +++ b/src/git/src/subcommands/commit.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import { find_repo_root, shorten_hash } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/config.js b/src/git/src/subcommands/config.js index 2b604e55c..fa2e36422 100644 --- a/src/git/src/subcommands/config.js +++ b/src/git/src/subcommands/config.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import { find_repo_root } from '../git-helpers.js'; import { SHOW_USAGE } from '../help.js'; diff --git a/src/git/src/subcommands/diff.js b/src/git/src/subcommands/diff.js index a46b7f1e2..53b6f43c6 100644 --- a/src/git/src/subcommands/diff.js +++ b/src/git/src/subcommands/diff.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git, { STAGE, TREE, WORKDIR } from 'isomorphic-git'; import { find_repo_root, group_positional_arguments, resolve_to_commit, resolve_to_oid } from '../git-helpers.js'; import { SHOW_USAGE } from '../help.js'; diff --git a/src/git/src/subcommands/fetch.js b/src/git/src/subcommands/fetch.js index d65e0772c..dc844d0de 100644 --- a/src/git/src/subcommands/fetch.js +++ b/src/git/src/subcommands/fetch.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import http from 'isomorphic-git/http/web'; import { determine_fetch_remote, find_repo_root } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/help.js b/src/git/src/subcommands/help.js index af48792d4..9e78d6e1c 100644 --- a/src/git/src/subcommands/help.js +++ b/src/git/src/subcommands/help.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import subcommands from './__exports__.js'; import git_command from '../git-command-definition.js'; import { produce_help_string } from '../help.js'; diff --git a/src/git/src/subcommands/init.js b/src/git/src/subcommands/init.js index df7e3ddf6..59d989e28 100644 --- a/src/git/src/subcommands/init.js +++ b/src/git/src/subcommands/init.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import path from 'path-browserify'; diff --git a/src/git/src/subcommands/log.js b/src/git/src/subcommands/log.js index 2741df397..b616dc92a 100644 --- a/src/git/src/subcommands/log.js +++ b/src/git/src/subcommands/log.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git, { TREE } from 'isomorphic-git'; import { find_repo_root, group_positional_arguments } from '../git-helpers.js'; import { diff --git a/src/git/src/subcommands/pull.js b/src/git/src/subcommands/pull.js index daff7c713..fa15b00e7 100644 --- a/src/git/src/subcommands/pull.js +++ b/src/git/src/subcommands/pull.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import http from 'isomorphic-git/http/web'; import { determine_fetch_remote, find_repo_root } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/push.js b/src/git/src/subcommands/push.js index 4d8788760..f631aa28b 100644 --- a/src/git/src/subcommands/push.js +++ b/src/git/src/subcommands/push.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import http from 'isomorphic-git/http/web'; import { determine_fetch_remote, find_repo_root, resolve_to_oid, shorten_hash } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/remote.js b/src/git/src/subcommands/remote.js index f3fd32b56..24c6bfdba 100644 --- a/src/git/src/subcommands/remote.js +++ b/src/git/src/subcommands/remote.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import { find_repo_root } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/restore.js b/src/git/src/subcommands/restore.js index d49f64f7b..b1b0ee8eb 100644 --- a/src/git/src/subcommands/restore.js +++ b/src/git/src/subcommands/restore.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git, { STAGE, TREE, WORKDIR } from 'isomorphic-git'; import { find_repo_root } from '../git-helpers.js'; import path from 'path-browserify'; diff --git a/src/git/src/subcommands/show.js b/src/git/src/subcommands/show.js index 77cf6f5b4..dd321c5f6 100644 --- a/src/git/src/subcommands/show.js +++ b/src/git/src/subcommands/show.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git, { TREE } from 'isomorphic-git'; import { find_repo_root, resolve_to_oid } from '../git-helpers.js'; import { diff --git a/src/git/src/subcommands/status.js b/src/git/src/subcommands/status.js index c4c053bd6..e28cf6d13 100644 --- a/src/git/src/subcommands/status.js +++ b/src/git/src/subcommands/status.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; import path from 'path-browserify'; import { find_repo_root, shorten_hash } from '../git-helpers.js'; diff --git a/src/git/src/subcommands/version.js b/src/git/src/subcommands/version.js index 6bf82f3b0..713fa7d64 100644 --- a/src/git/src/subcommands/version.js +++ b/src/git/src/subcommands/version.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Git client. - * - * Puter's Git client is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import git from 'isomorphic-git'; const VERSION = '1.0.0'; diff --git a/src/gui/utils.js b/src/gui/utils.js index d5b1d21a3..b3394f882 100644 --- a/src/gui/utils.js +++ b/src/gui/utils.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* -Copyright (C) 2024 Puter Technologies Inc. - -This file is part of Puter.com. - -Puter.com is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -*/ import { encode } from 'html-entities'; import fs from 'fs'; import path from 'path'; diff --git a/src/terminal/config/dev.js b/src/terminal/config/dev.js index 9323fe988..b8c70bbca 100644 --- a/src/terminal/config/dev.js +++ b/src/terminal/config/dev.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ globalThis.__CONFIG__ = { "origin": "http://127.0.0.1:8082", "sdk_url": "http://puter.localhost:4100/sdk/puter.js", diff --git a/src/terminal/config/release.js b/src/terminal/config/release.js index 656042830..f795ca139 100644 --- a/src/terminal/config/release.js +++ b/src/terminal/config/release.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ globalThis.__CONFIG__ = { "origin": "https://puter.sh", "sdk_url": "https://puter.com/puter.js/v2", diff --git a/src/terminal/rollup.config.js b/src/terminal/rollup.config.js index 85f3ac7a9..5d3864a15 100644 --- a/src/terminal/rollup.config.js +++ b/src/terminal/rollup.config.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import { nodeResolve } from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs'; import copy from 'rollup-plugin-copy'; diff --git a/src/terminal/src/main.js b/src/terminal/src/main.js index ab3e8f2fd..cf7347f1d 100644 --- a/src/terminal/src/main.js +++ b/src/terminal/src/main.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import { Terminal } from '@xterm/xterm'; import { FitAddon } from '@xterm/addon-fit'; import { PTY } from './pty/PTY'; diff --git a/src/terminal/src/pty/PTT.js b/src/terminal/src/pty/PTT.js index 7261a7553..b38bff8c8 100644 --- a/src/terminal/src/pty/PTT.js +++ b/src/terminal/src/pty/PTT.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * PTT: pseudo-terminal target; called "slave" in POSIX */ diff --git a/src/terminal/src/pty/PTY.js b/src/terminal/src/pty/PTY.js index 736724a4e..716ddd4ff 100644 --- a/src/terminal/src/pty/PTY.js +++ b/src/terminal/src/pty/PTY.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import { PTT } from "./PTT"; const encoder = new TextEncoder(); diff --git a/src/terminal/src/pty/XDocumentANSIShell.js b/src/terminal/src/pty/XDocumentANSIShell.js index 24bd65d20..953659ec2 100644 --- a/src/terminal/src/pty/XDocumentANSIShell.js +++ b/src/terminal/src/pty/XDocumentANSIShell.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter's Terminal. - * - * Puter's Terminal is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ export class XDocumentANSIShell { constructor (params) { this.internal_ = {}; diff --git a/tools/check-translations.js b/tools/check-translations.js index d59327708..17e5361e8 100644 --- a/tools/check-translations.js +++ b/tools/check-translations.js @@ -16,24 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -/** - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ import translations from '../src/gui/src/i18n/translations/translations.js'; import fs from 'fs'; diff --git a/tools/license-headers/main.js b/tools/license-headers/main.js index 12632cfdb..2a6a734ed 100644 --- a/tools/license-headers/main.js +++ b/tools/license-headers/main.js @@ -434,7 +434,7 @@ const cmd_sync_fn = async () => { const cut_diff_infos = []; while ( cut_diff_info.has_header ) { cut_diff_infos.push(cut_diff_info); - cut_range[1] = cut_diff_info.range[1]; + cut_range[1] += cut_diff_info.range[1]; await cut_header(); } if ( cut_range[0] !== cut_range[1] ) {