Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Add Go report card badge into README (#60)
Browse files Browse the repository at this point in the history
Fixes #59
  • Loading branch information
Mathias M authored Mar 4, 2023
1 parent e3ae886 commit b17cd56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
v 0.8
v 0.8.0
- Use go.mod instead of Gopkg and upgrade dependencies. #55
- Built with Go 1.20.1

v 0.7
v 0.7.0
- Use GitLab API v4. #29
- Better testing through API mocking and unit tests. #41
- Issue linked attachments are transferred. #15
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# GitLab Copy

[![Build Status](https://travis-ci.org/gotsunami/gitlab-copy.svg?branch=master)](https://travis-ci.org/gotsunami/gitlab-copy)
[![Go Report Card](https://goreportcard.com/badge/github.com/gotsunami/gitlab-copy)](https://goreportcard.com/report/github.com/gotsunami/gitlab-copy)

`gitlab-copy` is a simple tool for copying issues/labels/milestones/notes from one GitLab project to another, possibly running on different GitLab instances.

Expand All @@ -17,8 +18,8 @@ Installing `gitlab-copy` is very easy since it comes as a static binary with no

The following features are available:

- Support for GitLab instances with self-signed TLS certificates by using the `-k` CLI flag (since `v0.8`)
- Support for different GitLab hosts/instances (since `v0.8`)
- Support for GitLab instances with self-signed TLS certificates by using the `-k` CLI flag (since `v0.8.0`)
- Support for different GitLab hosts/instances (since `v0.8.0`)
- Copy milestones if not existing on target (use `milestonesOnly` to copy milestones only, see below)
- Copy all source labels on target (use `labelsOnly` to copy labels only, see below)
- Copy issues if not existing on target (by title)
Expand Down Expand Up @@ -62,7 +63,7 @@ instances (they can be the same):
$ ./gitlab-copy -y gitlab.yml
```

If one of the GitLab instances uses a self-signed TLS certificate, use the `-k` flag (available in `v0.8`) to skip the TLS verification process:
If one of the GitLab instances uses a self-signed TLS certificate, use the `-k` flag (available in `v0.8.0`) to skip the TLS verification process:

```
$ ./gitlab-copy -k -y gitlab.yml
Expand Down
2 changes: 1 addition & 1 deletion gitlab/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewClient() GitLaber {

var skipTLSVerification bool

// SkipTLSVerificationProcess skips the TLS verfication process by using a custom HTTP transport.
// SkipTLSVerificationProcess skips the TLS verification process by using a custom HTTP transport.
func SkipTLSVerificationProcess() {
skipTLSVerification = true
}
Expand Down

0 comments on commit b17cd56

Please sign in to comment.