Skip to content

Commit 9196cc8

Browse files
committed
docs: fix typos in docs
correct invalid image url in labels remove non existing arg from docs
1 parent c5b612a commit 9196cc8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ Desktop.ini
5555
*.pub
5656

5757
mirroring.json
58-
go.sum
58+
go.sum
59+
sonar-project.properties

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ARG BUILD_DATE="1970-01-01T00:00:00Z" \
2323
LABEL org.opencontainers.image.title="gitlab-sync" \
2424
org.opencontainers.image.description="synchronize GitLab projects and groups between two GitLab instances" \
2525
org.opencontainers.image.source="${SOURCE}" \
26-
org.opencontainers.image.url="gitlab.com/boxboxjason/gitlab-sync" \
26+
org.opencontainers.image.url="ghcr.io/boxboxjason/gitlab-sync" \
2727
org.opencontainers.image.created="${BUILD_DATE}" \
2828
org.opencontainers.image.revision="${REVISION}" \
2929
org.opencontainers.image.version="${VERSION}" \

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ You can run the CLI using Docker. It is available on GitHub Container Registry.
2020

2121
1. Pull the Docker image: `docker pull ghcr.io/boxboxjason/gitlab-sync:latest`
2222
2. Run the Docker container with the required command line arguments / env variables (don't forget to mount the JSON file):
23+
2324
```bash
2425
docker run --rm \
2526
-e SOURCE_GITLAB_URL=<source_gitlab_url> \
@@ -61,7 +62,6 @@ If mandatory arguments are not provided, the program will prompt for them.
6162
| `--destination-url` | `DESTINATION_GITLAB_URL` | Yes | URL of the destination GitLab instance |
6263
| `--destination-token` | `DESTINATION_GITLAB_TOKEN` | Yes | Access token for the destination GitLab instance |
6364
| `--mirror-mapping` | `MIRROR_MAPPING` | Yes | Path to a JSON file containing the mirror mapping |
64-
| `--concurrency` or `-C` | N/A | No | Max number of concurrent requests to the GitLab API (default: 10) |
6565
| `--timeout` or `-t` | N/A | No | Timeout for GitLab API requests in seconds (default: 30) |
6666
| `--retry` or `-r` | N/A | No | Number of retries for failed GitLab API requests (does not apply to GraphQL requests) (default: 3) |
6767

@@ -81,6 +81,7 @@ gitlab-sync \
8181
The JSON mapping file is used to define the projects and groups to be synchronized between the two GitLab instances. You also define the copy options for each project / group.
8282

8383
Allowed options are:
84+
8485
| Option | Description |
8586
|--------|-------------|
8687
| `destination_path` | The path to the project / group on the destination GitLab instance. |

0 commit comments

Comments
 (0)