GitLabSync.Tool
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global GitLabSync.Tool --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local GitLabSync.Tool --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=GitLabSync.Tool&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package GitLabSync.Tool --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
GitLabSync
A tool to help synchronize specific files and folders across repositories in GitLab.
This tool is based on GitHubSync by Simon Cropp.
dotnet tool
This tool allows reading the configuration from a file. This allows customization of the templates and repositories without needing to recompile any code.
Installation
Ensure dotnet CLI is installed.
Install GitLabSync.Tool globally.
dotnet tool install -g GitLabSync.Tool
Usage
Run against the current directory will use gitlabsync.yaml
in the current directory:
gitlabsync
Run against a specific file:
gitlabsync /path/to/gitlabsync.yaml
Configuration definition
The configuration format is yaml. There should be 1 to n number of templates and 1 to n number of (target) repositories.
templates:
- name: [template name]
url: [repository url of the template]
branch: [branch to use, defaults to `master`]
repositories:
- name: [repository name]
url: [repository url of the target repository]
branch: [target branch, defaults to `master`]
templates:
- [list of template names to use in the order to apply]
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.