Skip to content

Commit

Permalink
fix: Improve the default User-agent string. (#10606)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Jun 26, 2021
1 parent 75bdc0f commit c077f15
Show file tree
Hide file tree
Showing 57 changed files with 2,046 additions and 2,035 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "Bearer abc",
"host": "git.company.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
"x-atlassian-token": "no-check",
},
"method": "GET",
Expand All @@ -31,7 +31,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "Bearer abc",
"host": "git.company.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
"x-atlassian-token": "no-check",
},
"method": "GET",
Expand All @@ -48,7 +48,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "Bearer abc",
"host": "git.company.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
"x-atlassian-token": "no-check",
},
"method": "GET",
Expand All @@ -65,7 +65,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "Bearer abc",
"host": "git.company.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
"x-atlassian-token": "no-check",
},
"method": "GET",
Expand All @@ -82,7 +82,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "Bearer abc",
"host": "api.github.example.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
"x-atlassian-token": "no-check",
},
"method": "GET",
Expand All @@ -99,7 +99,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "Bearer abc",
"host": "api.github.example.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
"x-atlassian-token": "no-check",
},
"method": "GET",
Expand Down
6 changes: 3 additions & 3 deletions lib/config/presets/bitbucket/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Array [
"headers": Object {
"accept-encoding": "gzip, deflate, br",
"host": "api.bitbucket.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/some-filename.json",
Expand All @@ -20,7 +20,7 @@ Array [
"headers": Object {
"accept-encoding": "gzip, deflate, br",
"host": "api.bitbucket.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/some-filename.json",
Expand All @@ -34,7 +34,7 @@ Array [
"headers": Object {
"accept-encoding": "gzip, deflate, br",
"host": "api.bitbucket.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/some-filename.json",
Expand Down
26 changes: 13 additions & 13 deletions lib/config/presets/gitea/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/some-filename.json?",
Expand All @@ -30,7 +30,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/path%2Fcustom.json?",
Expand All @@ -46,7 +46,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/somefile.json?",
Expand All @@ -62,7 +62,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/somefile.json?",
Expand All @@ -78,7 +78,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/custom.json?",
Expand All @@ -94,7 +94,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
Expand All @@ -110,7 +110,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/somefile.json?",
Expand All @@ -126,7 +126,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
Expand All @@ -142,7 +142,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
Expand All @@ -158,7 +158,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
Expand All @@ -169,7 +169,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/renovate.json?",
Expand All @@ -185,7 +185,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.gitea.example.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.gitea.example.org/repos/some/repo/contents/default.json?",
Expand All @@ -201,7 +201,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "gitea.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
Expand Down
26 changes: 13 additions & 13 deletions lib/config/presets/github/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/some-filename.json",
Expand All @@ -30,7 +30,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/path/custom.json",
Expand All @@ -46,7 +46,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/somefile.json",
Expand All @@ -62,7 +62,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/somefile.json",
Expand All @@ -78,7 +78,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/custom.json",
Expand All @@ -94,7 +94,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/default.json",
Expand All @@ -110,7 +110,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/somefile.json",
Expand All @@ -126,7 +126,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/default.json",
Expand All @@ -142,7 +142,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/default.json",
Expand All @@ -158,7 +158,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/default.json",
Expand All @@ -169,7 +169,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/renovate.json",
Expand All @@ -185,7 +185,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.example.org",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.example.org/repos/some/repo/contents/default.json",
Expand All @@ -201,7 +201,7 @@ Array [
"accept-encoding": "gzip, deflate, br",
"authorization": "token abc",
"host": "api.github.com",
"user-agent": "https://github.com/renovatebot/renovate",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"method": "GET",
"url": "https://api.github.com/repos/some/repo/contents/default.json",
Expand Down
Loading

0 comments on commit c077f15

Please sign in to comment.