├── .editorconfig ├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── homebrew.yml │ └── test.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── example_workspace ├── .gitkeep ├── workspace-github.toml ├── workspace-lock.toml └── workspace.toml ├── images ├── readme-example.gif └── test-lfs.txt ├── release.toml ├── scripts ├── dev.sh └── update_graphql.sh ├── shell.nix ├── src ├── commands │ ├── add_provider.rs │ ├── archive.rs │ ├── completion.rs │ ├── fetch.rs │ ├── list.rs │ ├── lock.rs │ ├── mod.rs │ ├── run.rs │ ├── switch_and_pull.rs │ └── update.rs ├── config.rs ├── lib.rs ├── lockfile.rs ├── main.rs ├── providers │ ├── gitea.rs │ ├── github.rs │ ├── gitlab.rs │ ├── graphql │ │ ├── github │ │ │ ├── .graphqlconfig │ │ │ ├── projects.graphql │ │ │ └── schema.graphql │ │ └── gitlab │ │ │ ├── .graphqlconfig │ │ │ ├── projects.graphql │ │ │ └── schema.json │ └── mod.rs ├── repository.rs └── utils.rs └── tests ├── container ├── gitea.rs └── mod.rs └── gitea_tests.rs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/homebrew.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/.github/workflows/homebrew.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/README.md -------------------------------------------------------------------------------- /example_workspace/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example_workspace/workspace-github.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/example_workspace/workspace-github.toml -------------------------------------------------------------------------------- /example_workspace/workspace-lock.toml: -------------------------------------------------------------------------------- 1 | repo = [] 2 | -------------------------------------------------------------------------------- /example_workspace/workspace.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/example_workspace/workspace.toml -------------------------------------------------------------------------------- /images/readme-example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/images/readme-example.gif -------------------------------------------------------------------------------- /images/test-lfs.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /release.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/release.toml -------------------------------------------------------------------------------- /scripts/dev.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | GIT_WORKSPACE=$(pwd)/example_workspace cargo run -- "${@}" 4 | -------------------------------------------------------------------------------- /scripts/update_graphql.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/scripts/update_graphql.sh -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/shell.nix -------------------------------------------------------------------------------- /src/commands/add_provider.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/add_provider.rs -------------------------------------------------------------------------------- /src/commands/archive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/archive.rs -------------------------------------------------------------------------------- /src/commands/completion.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/completion.rs -------------------------------------------------------------------------------- /src/commands/fetch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/fetch.rs -------------------------------------------------------------------------------- /src/commands/list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/list.rs -------------------------------------------------------------------------------- /src/commands/lock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/lock.rs -------------------------------------------------------------------------------- /src/commands/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/mod.rs -------------------------------------------------------------------------------- /src/commands/run.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/run.rs -------------------------------------------------------------------------------- /src/commands/switch_and_pull.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/switch_and_pull.rs -------------------------------------------------------------------------------- /src/commands/update.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/commands/update.rs -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/lockfile.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/lockfile.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/providers/gitea.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/gitea.rs -------------------------------------------------------------------------------- /src/providers/github.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/github.rs -------------------------------------------------------------------------------- /src/providers/gitlab.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/gitlab.rs -------------------------------------------------------------------------------- /src/providers/graphql/github/.graphqlconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/graphql/github/.graphqlconfig -------------------------------------------------------------------------------- /src/providers/graphql/github/projects.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/graphql/github/projects.graphql -------------------------------------------------------------------------------- /src/providers/graphql/github/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/graphql/github/schema.graphql -------------------------------------------------------------------------------- /src/providers/graphql/gitlab/.graphqlconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/graphql/gitlab/.graphqlconfig -------------------------------------------------------------------------------- /src/providers/graphql/gitlab/projects.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/graphql/gitlab/projects.graphql -------------------------------------------------------------------------------- /src/providers/graphql/gitlab/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/graphql/gitlab/schema.json -------------------------------------------------------------------------------- /src/providers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/providers/mod.rs -------------------------------------------------------------------------------- /src/repository.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/repository.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/src/utils.rs -------------------------------------------------------------------------------- /tests/container/gitea.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/tests/container/gitea.rs -------------------------------------------------------------------------------- /tests/container/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/tests/container/mod.rs -------------------------------------------------------------------------------- /tests/gitea_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orf/git-workspace/HEAD/tests/gitea_tests.rs --------------------------------------------------------------------------------