ソースを参照

chore: remove duplicate headers

KernelDeimos 10 ヶ月 前
コミット
5b1924f312
39 ファイル変更1 行追加685 行削除
  1. 0 18
      src/git/src/auth.js
  2. 0 18
      src/git/src/color.js
  3. 0 18
      src/git/src/diff.js
  4. 0 18
      src/git/src/filesystem.js
  5. 0 18
      src/git/src/format.js
  6. 0 18
      src/git/src/git-command-definition.js
  7. 0 18
      src/git/src/git-helpers.js
  8. 0 18
      src/git/src/help.js
  9. 0 18
      src/git/src/main.js
  10. 0 18
      src/git/src/refs.js
  11. 0 18
      src/git/src/subcommands/add.js
  12. 0 18
      src/git/src/subcommands/branch.js
  13. 0 18
      src/git/src/subcommands/checkout.js
  14. 0 18
      src/git/src/subcommands/cherry-pick.js
  15. 0 18
      src/git/src/subcommands/clone.js
  16. 0 18
      src/git/src/subcommands/commit.js
  17. 0 18
      src/git/src/subcommands/config.js
  18. 0 18
      src/git/src/subcommands/diff.js
  19. 0 18
      src/git/src/subcommands/fetch.js
  20. 0 18
      src/git/src/subcommands/help.js
  21. 0 18
      src/git/src/subcommands/init.js
  22. 0 18
      src/git/src/subcommands/log.js
  23. 0 18
      src/git/src/subcommands/pull.js
  24. 0 18
      src/git/src/subcommands/push.js
  25. 0 18
      src/git/src/subcommands/remote.js
  26. 0 18
      src/git/src/subcommands/restore.js
  27. 0 18
      src/git/src/subcommands/show.js
  28. 0 18
      src/git/src/subcommands/status.js
  29. 0 18
      src/git/src/subcommands/version.js
  30. 0 18
      src/gui/utils.js
  31. 0 18
      src/terminal/config/dev.js
  32. 0 18
      src/terminal/config/release.js
  33. 0 18
      src/terminal/rollup.config.js
  34. 0 18
      src/terminal/src/main.js
  35. 0 18
      src/terminal/src/pty/PTT.js
  36. 0 18
      src/terminal/src/pty/PTY.js
  37. 0 18
      src/terminal/src/pty/XDocumentANSIShell.js
  38. 0 18
      tools/check-translations.js
  39. 1 1
      tools/license-headers/main.js

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 /**
  * Authentication manager
  * Eventually this will want to retrieve stored credentials from somewhere, but for now

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import chalk from 'chalk';
 
 export const color_options = {

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import * as Diff from 'diff';
 import git from 'isomorphic-git';
 import path from 'path-browserify';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import { PosixError } from '@heyputer/puter-js-common/src/PosixError.js';
 import path_ from 'path-browserify';
 

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import { shorten_hash } from './git-helpers.js';
 import chalk from 'chalk';
 import { get_matching_refs } from './refs.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 
 /**
  * The command definition for `git` itself, in the same format as subcommands.

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import path from 'path-browserify';
 import git from 'isomorphic-git';
 import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 
 /**
  * Throw this from a subcommand's execute() in order to print its usage text to stderr.

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import { parseArgs } from '@pkgjs/parseargs';
 import subcommands from './subcommands/__exports__.js';
 import git_command from './git-command-definition.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 
 // Map of hash -> array of full reference names
 import git from 'isomorphic-git';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import { find_repo_root } from '../git-helpers.js';
 

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import { find_repo_root, shorten_hash } from '../git-helpers.js';
 import { SHOW_USAGE } from '../help.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import { find_repo_root, resolve_to_commit, shorten_hash } from '../git-helpers.js';
 import { SHOW_USAGE } from '../help.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 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';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import http from 'isomorphic-git/http/web';
 import { SHOW_USAGE } from '../help.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import { find_repo_root, shorten_hash } from '../git-helpers.js';
 

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import { find_repo_root } from '../git-helpers.js';
 import { SHOW_USAGE } from '../help.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 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';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import http from 'isomorphic-git/http/web';
 import { determine_fetch_remote, find_repo_root } from '../git-helpers.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import subcommands from './__exports__.js';
 import git_command from '../git-command-definition.js';
 import { produce_help_string } from '../help.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import path from 'path-browserify';
 

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git, { TREE } from 'isomorphic-git';
 import { find_repo_root, group_positional_arguments } from '../git-helpers.js';
 import {

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import http from 'isomorphic-git/http/web';
 import { determine_fetch_remote, find_repo_root } from '../git-helpers.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 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';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import { find_repo_root } from '../git-helpers.js';
 

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git, { STAGE, TREE, WORKDIR } from 'isomorphic-git';
 import { find_repo_root } from '../git-helpers.js';
 import path from 'path-browserify';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git, { TREE } from 'isomorphic-git';
 import { find_repo_root, resolve_to_oid } from '../git-helpers.js';
 import {

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 import path from 'path-browserify';
 import { find_repo_root, shorten_hash } from '../git-helpers.js';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import git from 'isomorphic-git';
 
 const VERSION = '1.0.0';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
-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 <https://www.gnu.org/licenses/>.
-*/
 import { encode } from 'html-entities';
 import fs from 'fs';
 import path from 'path';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 globalThis.__CONFIG__ = {
     "origin": "http://127.0.0.1:8082",
     "sdk_url": "http://puter.localhost:4100/sdk/puter.js",

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 globalThis.__CONFIG__ = {
     "origin": "https://puter.sh",
     "sdk_url": "https://puter.com/puter.js/v2",

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import { nodeResolve } from '@rollup/plugin-node-resolve'
 import commonjs from '@rollup/plugin-commonjs';
 import copy from 'rollup-plugin-copy';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import { Terminal } from '@xterm/xterm';
 import { FitAddon } from '@xterm/addon-fit';
 import { PTY } from './pty/PTY';

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 /**
  * PTT: pseudo-terminal target; called "slave" in POSIX
  */

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 import { PTT } from "./PTT";
 
 const encoder = new TextEncoder();

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/*
- * 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 <https://www.gnu.org/licenses/>.
- */
 export class XDocumentANSIShell {
     constructor (params) {
         this.internal_ = {};

+ 0 - 18
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 <https://www.gnu.org/licenses/>.
  */
-/**
- * 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 <https://www.gnu.org/licenses/>.
- */
 import translations from '../src/gui/src/i18n/translations/translations.js';
 import fs from 'fs';
 

+ 1 - 1
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] ) {