diff --git a/src/git/src/auth.js b/src/git/src/auth.js
index 54828f15..29fbec8d 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 48d46cab..096199d6 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 86da0ed2..726f9d39 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 2378bd0a..8ad0cbce 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 3c721d95..cfd2ad99 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 a710df31..4961e2d1 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 22c3531d..a68a1b51 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 6b703e74..f83cbc72 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 86e060a0..ef26fd7b 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 eaae6878..3b37a695 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 8233fcba..11a414b6 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 1866e046..479ef97b 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 ddd848b4..fe58083f 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 377e7334..a094886d 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 c93da28b..f34b7610 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 0af26fcb..a835a0cd 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 2b604e55..fa2e3642 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 a46b7f1e..53b6f43c 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 d65e0772..dc844d0d 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 af48792d..9e78d6e1 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 df7e3ddf..59d989e2 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 2741df39..b616dc92 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 daff7c71..fa15b00e 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 4d878876..f631aa28 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 f3fd32b5..24c6bfdb 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 d49f64f7..b1b0ee8e 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 77cf6f5b..dd321c5f 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 c4c053bd..e28cf6d1 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 6bf82f3b..713fa7d6 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 d5b1d21a..b3394f88 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 9323fe98..b8c70bbc 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 65604283..f795ca13 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 85f3ac7a..5d3864a1 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 ab3e8f2f..cf7347f1 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 7261a755..b38bff8c 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 736724a4..716ddd4f 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 24bd65d2..953659ec 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 d5932770..17e5361e 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 12632cfd..2a6a734e 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] ) {