dokploy/packages/server
Yusoof Moh cc5a3e6873 Add option to disable recurse submodules
Add option to disable recurse submodules under "Provider Select the source of your code" form.

* Add a checkbox to disable recurse submodules in `apps/dokploy/components/dashboard/application/general/generic/save-git-provider.tsx`, `apps/dokploy/components/dashboard/application/general/generic/save-github-provider.tsx`, and `apps/dokploy/components/dashboard/application/general/generic/save-gitlab-provider.tsx`.
* Update the form schema in the above files to include the new option.
* Conditionally include the `--recurse-submodules` flag in the `git clone` command in the above files.
* Update the "Provider Select the source of your code" form in `apps/dokploy/components/dashboard/application/general/generic/show.tsx` to include the new option.
* Conditionally include the `--recurse-submodules` flag in the `git clone` command in `packages/server/src/utils/providers/bitbucket.ts`, `packages/server/src/utils/providers/git.ts`, `packages/server/src/utils/providers/github.ts`, and `packages/server/src/utils/providers/gitlab.ts`.
* Add the `--depth` flag to optimize submodule cloning performance in the `git clone` command in `packages/server/src/utils/providers/bitbucket.ts`, `packages/server/src/utils/providers/git.ts`, `packages/server/src/utils/providers/github.ts`, and `packages/server/src/utils/providers/gitlab.ts`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Dokploy/dokploy?shareId=XXXX-XXXX-XXXX-XXXX).
2025-03-25 22:04:35 +07:00
..
scripts fix(server): update build paths 2024-10-26 15:48:30 -06:00
src Add option to disable recurse submodules 2025-03-25 22:04:35 +07:00
auth-schema.ts Reapply "Merge branch 'canary' into kucherenko/canary" 2025-03-02 00:30:02 -06:00
esbuild.config.ts refactor: remove save on build on next app and integrate turbopack 2024-10-24 23:13:24 -06:00
package.json Revert "feat(i18n): update zh-Hans translation" 2025-03-15 22:08:49 -06:00
tsconfig.json Revert "chore: disable TypeScript declaration generation in server tsconfig" 2025-02-23 00:13:35 -06:00
tsconfig.server.json Reapply "Merge branch 'canary' into kucherenko/canary" 2025-03-02 00:30:02 -06:00