export-pull-requests 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changes +5 -0
- data/README.md +3 -1
- data/bin/epr +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88245d15b5031425be423a98f42b42451a5e7810
|
|
4
|
+
data.tar.gz: 1d60dce9efefbb4d282110b537756ac31a8d6a06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49af965c7fb6817c8bf8dcdbfbf07608e4b384abf35b2af56692b1f04dcdac63378e8f01bcb015b3d3af78395b431c1a5a5c4090b0199045a15516b5b15c9e49
|
|
7
|
+
data.tar.gz: c3f868be0eaeb4a760ae8e71f5a49d3a855dba2662149b361b8ef5e6fcdbfe9316f1b458bcce5bead831a629966edb3a8007724fff77d40823ddeb7f63fb5404
|
data/Changes
CHANGED
data/README.md
CHANGED
|
@@ -66,7 +66,9 @@ Export all issues from a GitLab project:
|
|
|
66
66
|
|
|
67
67
|
## Service Notes
|
|
68
68
|
|
|
69
|
-
To connect to a custom/"Enterprise" installation of any of the supported services use the endpoint option (`-e`)
|
|
69
|
+
To connect to a custom/"Enterprise" installation of any of the supported services use the endpoint option (`-e`).
|
|
70
|
+
|
|
71
|
+
The provided URL must point the API endpoint, not the user-facing site. For GitHub this is `http(s)://YOUR-SITE/api/v3`.
|
|
70
72
|
|
|
71
73
|
### Bitbucket
|
|
72
74
|
|
data/bin/epr
CHANGED
|
@@ -9,7 +9,7 @@ require "github_api"
|
|
|
9
9
|
require "gitlab"
|
|
10
10
|
require "bitbucket_rest_api"
|
|
11
11
|
|
|
12
|
-
VERSION = "0.3.
|
|
12
|
+
VERSION = "0.3.4"
|
|
13
13
|
SERVICES = %w[github gitlab bitbucket]
|
|
14
14
|
GIT_CONFIGS = %w[epr.token github.oauth-token]
|
|
15
15
|
|
|
@@ -70,13 +70,14 @@ def bitbucket(user, repo)
|
|
|
70
70
|
|
|
71
71
|
prs = $bitbucket.repos.pull_request.all(user, repo, :page => page, :state => $filter.upcase)
|
|
72
72
|
prs["values"].each do |pr|
|
|
73
|
-
next if pr.author && skip_user?(pr.author.
|
|
73
|
+
next if pr.author && (skip_user?(pr.author.display_name) || skip_user?(pr.author.nickname))
|
|
74
74
|
|
|
75
75
|
rows << [
|
|
76
76
|
repo_name,
|
|
77
77
|
TYPE_PR,
|
|
78
78
|
pr.id,
|
|
79
|
-
|
|
79
|
+
# With the 2.0 API is this check necessary?
|
|
80
|
+
pr.author ? pr.author.display_name : no_user,
|
|
80
81
|
pr.title,
|
|
81
82
|
pr.state,
|
|
82
83
|
localtime(pr.created_on),
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: export-pull-requests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Skye Shaw
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github_api
|