Skip to content

Commit 25844d5

Browse files
Migrates from 47deg to 47degrees GH organization (#370)
* Migrates from 47deg to 47degrees GH organization * Updates docs * Changes owner in TestData class * Updates test data for projects
1 parent 04e36ef commit 25844d5

18 files changed

Lines changed: 388 additions & 381 deletions

CHANGELOG.md

Lines changed: 154 additions & 154 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributing
22

33
Discussion around Github4s happens in the [Gitter channel](https://gitter.im/47deg/github4s) as well as on
4-
[GitHub issues](https://github.com/47deg/github4s/issues) and [pull requests](https://github.com/47deg/github4s/pulls).
4+
[GitHub issues](https://github.com/47degrees/github4s/issues) and [pull requests](https://github.com/47degrees/github4s/pulls).
55

66
Feel free to open an issue if you notice a bug, have an idea for a feature, or have a question about
77
the code. Pull requests are also welcome.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[comment]: # (Start Badges)
33

4-
[![Build Status](https://travis-ci.org/47deg/github4s.svg?branch=master)](https://travis-ci.org/47deg/github4s) [![Join the chat at https://gitter.im/47deg/github4s](https://badges.gitter.im/47deg/github4s.svg)](https://gitter.im/47deg/github4s?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![codecov.io](http://codecov.io/gh/47deg/github4s/branch/master/graph/badge.svg)](http://codecov.io/gh/47deg/github4s) [![Maven Central](https://img.shields.io/badge/maven%20central-0.22.0-green.svg)](https://oss.sonatype.org/#nexus-search;gav~com.47deg~github4s*) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47deg/github4s/master/LICENSE) [![Latest version](https://img.shields.io/badge/github4s-0.22.0-green.svg)](https://index.scala-lang.org/47deg/github4s) [![GitHub Issues](https://img.shields.io/github/issues/47deg/github4s.svg)](https://github.com/47deg/github4s/issues)
4+
[![Build Status](https://travis-ci.org/47degrees/github4s.svg?branch=master)](https://travis-ci.org/47degrees/github4s) [![Join the chat at https://gitter.im/47deg/github4s](https://badges.gitter.im/47deg/github4s.svg)](https://gitter.im/47deg/github4s?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![codecov.io](http://codecov.io/gh/47deg/github4s/branch/master/graph/badge.svg)](http://codecov.io/gh/47deg/github4s) [![Maven Central](https://img.shields.io/badge/maven%20central-0.22.0-green.svg)](https://oss.sonatype.org/#nexus-search;gav~com.47deg~github4s*) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47deg/github4s/master/LICENSE) [![Latest version](https://img.shields.io/badge/github4s-0.22.0-green.svg)](https://index.scala-lang.org/47deg/github4s) [![GitHub Issues](https://img.shields.io/github/issues/47deg/github4s.svg)](https://github.com/47degrees/github4s/issues)
55

66
[comment]: # (End Badges)
77

docs/docs/activity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ You can list the users starring a specific repository with `listStargazers`; it
7070
- `timeline`: whether or not to return the date at which point the user starred the repository.
7171
- `pagination`: Limit and Offset for pagination, optional.
7272

73-
To list the stargazers of 47deg/github4s:
73+
To list the stargazers of 47degrees/github4s:
7474

7575
```scala mdoc:compile-only
76-
val listStargazers = Github[IO](accessToken).activities.listStargazers("47deg", "github4s", true)
76+
val listStargazers = Github[IO](accessToken).activities.listStargazers("47degrees", "github4s", true)
7777
val response = listStargazers.unsafeRunSync()
7878
response.result match {
7979
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -118,4 +118,4 @@ As you can see, a few features of the activity endpoint are missing.
118118

119119
As a result, if you'd like to see a feature supported, feel free to create an issue and/or a pull request!
120120

121-
[activity-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/Activity.scala
121+
[activity-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/Activity.scala

docs/docs/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ As you can see, a few features of the authorization endpoint are missing.
123123

124124
As a result, if you'd like to see a feature supported, feel free to create an issue and/or a pull request!
125125

126-
[auth-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/Authorization.scala
126+
[auth-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/Authorization.scala

docs/docs/contributing.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ We're just checking that our API defined above hits the right endpoint, here:
191191
# Documentation
192192

193193
Finally, we can add documentation to http://47deg.github.io/github4s/. Github4s uses
194-
[sbt-microsites](https://github.com/47deg/sbt-microsites) and [mdoc](https://github.com/scalameta/mdoc)
194+
[sbt-microsites](https://github.com/47degrees/sbt-microsites) and [mdoc](https://github.com/scalameta/mdoc)
195195
to generate and publish its documentation.
196196

197197
It shouldn't come as a surprise at this point, but the documentation is grouped by API. As a result,
@@ -209,7 +209,7 @@ To list the statuses for a specific ref:
209209
210210
{triple backtick}scala mdoc:silent
211211
val listStatuses =
212-
Github[IO](accessToken).repos.listStatuses("47deg", "github4s", "heads/master")
212+
Github[IO](accessToken).repos.listStatuses("47degrees", "github4s", "heads/master")
213213
214214
val response = listStatuses.unsafeRunSync()
215215
response.result match {
@@ -232,14 +232,14 @@ cd docs/target/site/ && jekyll serve
232232
```
233233

234234
[api-doc]: https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
235-
[repos-domain]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/Repository.scala
236-
[domain-pkg]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/
237-
[repos-algebra]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/algebras/Repositories.scala
238-
[algebra-pkg]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/algebras/
239-
[repos-interpreter]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/interpreters/RepositoriesInterpreter.scala
240-
[httpclient]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/http/HttpClient.scala
241-
[integ-pkg]: https://github.com/47deg/github4s/blob/master/github4s/src/test/scala/github4s/integration/
242-
[repos-integ-spec]: https://github.com/47deg/github4s/blob/master/github4s/src/test/scala/github4s/integration/GHReposSpec.scala
243-
[unit-pkg]: https://github.com/47deg/github4s/tree/master/github4s/src/test/scala/github4s/unit
244-
[repos-interpreter-spec]: https://github.com/47deg/github4s/blob/master/github4s/src/test/scala/github4s/unit/ReposSpec.scala
245-
[repos-md]: https://github.com/47deg/github4s/blob/master/docs/docs/repository.md
235+
[repos-domain]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/Repository.scala
236+
[domain-pkg]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/
237+
[repos-algebra]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/algebras/Repositories.scala
238+
[algebra-pkg]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/algebras/
239+
[repos-interpreter]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/interpreters/RepositoriesInterpreter.scala
240+
[httpclient]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/http/HttpClient.scala
241+
[integ-pkg]: https://github.com/47degrees/github4s/blob/master/github4s/src/test/scala/github4s/integration/
242+
[repos-integ-spec]: https://github.com/47degrees/github4s/blob/master/github4s/src/test/scala/github4s/integration/GHReposSpec.scala
243+
[unit-pkg]: https://github.com/47degrees/github4s/tree/master/github4s/src/test/scala/github4s/unit
244+
[repos-interpreter-spec]: https://github.com/47degrees/github4s/blob/master/github4s/src/test/scala/github4s/unit/ReposSpec.scala
245+
[repos-md]: https://github.com/47degrees/github4s/blob/master/docs/docs/repository.md

docs/docs/gist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ See [the API doc](https://developer.github.com/v3/gists/#edit-a-gist) for full r
124124
As you can see, a few features of the gist endpoint are missing. As a result, if you'd like to see a
125125
feature supported, feel free to create an issue and/or a pull request!
126126

127-
[gist-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/Gist.scala
127+
[gist-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/Gist.scala

docs/docs/git_data.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ You can get a reference using `getReference`, it takes as arguments:
5757
- `ref`: ref formatted as `heads/branch`.
5858

5959
```scala mdoc:compile-only
60-
val getReference = Github[IO](accessToken).gitData.getReference("47deg", "github4s", "heads/master")
60+
val getReference = Github[IO](accessToken).gitData.getReference("47degrees", "github4s", "heads/master")
6161
val response = getReference.unsafeRunSync()
6262
response.result match {
6363
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -138,7 +138,7 @@ You can get a commit using `getCommit`; it takes as arguments:
138138
- `sha`: the sha of the commit.
139139

140140
```scala mdoc:compile-only
141-
val getCommit = Github[IO](accessToken).gitData.getCommit("47deg", "github4s", "d3b048c1f500ee5450e5d7b3d1921ed3e7645891")
141+
val getCommit = Github[IO](accessToken).gitData.getCommit("47degrees", "github4s", "d3b048c1f500ee5450e5d7b3d1921ed3e7645891")
142142
val response = getCommit.unsafeRunSync()
143143
response.result match {
144144
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -193,7 +193,7 @@ You can create a blob using `createBlob`; it takes as arguments:
193193
- `encoding`: the encoding used for content. Currently, "utf-8" and "base64" are supported. Default: "utf-8".
194194

195195
```scala mdoc:compile-only
196-
val createBlob = Github[IO](accessToken).gitData.createBlob("47deg", "github4s", "New access token", Some("utf-8"))
196+
val createBlob = Github[IO](accessToken).gitData.createBlob("47degrees", "github4s", "New access token", Some("utf-8"))
197197
val response = createBlob.unsafeRunSync()
198198
response.result match {
199199
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -224,7 +224,7 @@ You can get a tree using `getTree`; it takes as arguments:
224224
- `recursive`: flag whether to get the tree recursively.
225225

226226
```scala mdoc:compile-only
227-
val getTree = Github[IO](accessToken).gitData.getTree("47deg", "github4s", "d3b048c1f500ee5450e5d7b3d1921ed3e7645891", true)
227+
val getTree = Github[IO](accessToken).gitData.getTree("47degrees", "github4s", "d3b048c1f500ee5450e5d7b3d1921ed3e7645891", true)
228228
val response = getTree.unsafeRunSync()
229229
response.result match {
230230
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -320,4 +320,4 @@ As you can see, a few features of the git data endpoint are missing.
320320

321321
As a result, if you'd like to see a feature supported, feel free to create an issue and/or a pull request!
322322

323-
[gitdata-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/GitData.scala
323+
[gitdata-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/GitData.scala

docs/docs/issue.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To create an issue:
6161

6262
```scala mdoc:compile-only
6363
val createIssue =
64-
Github[IO](accessToken).issues.createIssue("47deg", "github4s", "Github4s", "is awesome", None, List("Label"), List("Assignee"))
64+
Github[IO](accessToken).issues.createIssue("47degrees", "github4s", "Github4s", "is awesome", None, List("Label"), List("Assignee"))
6565
val response = createIssue.unsafeRunSync()
6666
response.result match {
6767
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -89,7 +89,7 @@ To edit an issue:
8989

9090
```scala mdoc:compile-only
9191
val editIssue =
92-
Github[IO](accessToken).issues.editIssue("47deg", "github4s", 1, "open", "Github4s", "is still awesome", None, List("Label"), List("Assignee"))
92+
Github[IO](accessToken).issues.editIssue("47degrees", "github4s", 1, "open", "Github4s", "is still awesome", None, List("Label"), List("Assignee"))
9393
val response = editIssue.unsafeRunSync()
9494
response.result match {
9595
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -111,7 +111,7 @@ You can also list issues for a repository through `listIssues`; it takes as argu
111111
To list the issues for a repository:
112112

113113
```scala mdoc:compile-only
114-
val listIssues = Github[IO](accessToken).issues.listIssues("47deg", "github4s")
114+
val listIssues = Github[IO](accessToken).issues.listIssues("47degrees", "github4s")
115115
val response = listIssues.unsafeRunSync()
116116
response.result match {
117117
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -135,7 +135,7 @@ You can also get a single issue of a repository through `getIssue`; it takes as
135135
To get a single issue from a repository:
136136

137137
```scala mdoc:compile-only
138-
val issue = Github[IO](accessToken).issues.getIssue("47deg", "github4s", 17)
138+
val issue = Github[IO](accessToken).issues.getIssue("47degrees", "github4s", 17)
139139
val response = issue.unsafeRunSync()
140140
response.result match {
141141
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -155,7 +155,7 @@ Lastly, you can also search issues all across Github thanks to `searchIssues`; i
155155
arguments:
156156

157157
- a `query` string (the URL encoding is taken care of by Github4s).
158-
- a list of [SearchParam](https://github.com/47deg/github4s/blob/master/github4s/shared/src/main/scala/github4s/free/domain/SearchParam.scala).
158+
- a list of [SearchParam](https://github.com/47degrees/github4s/blob/master/github4s/shared/src/main/scala/github4s/free/domain/SearchParam.scala).
159159

160160
Let's say we want to search for the Scala bugs (<https://github.com/scala/bug>) which contain
161161
the "existential" keyword in their title:
@@ -191,7 +191,7 @@ You can list comments of an issue with the following parameters:
191191
To list comments:
192192

193193
```scala mdoc:compile-only
194-
val commentList = Github[IO](accessToken).issues.listComments("47deg", "github4s", 17)
194+
val commentList = Github[IO](accessToken).issues.listComments("47degrees", "github4s", 17)
195195
val response = commentList.unsafeRunSync()
196196
response.result match {
197197
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -214,7 +214,7 @@ You can create a comment for an issue with the following parameters:
214214
To create a comment:
215215

216216
```scala mdoc:compile-only
217-
val createcomment = Github[IO](accessToken).issues.createComment("47deg", "github4s", 17, "this is the comment")
217+
val createcomment = Github[IO](accessToken).issues.createComment("47degrees", "github4s", 17, "this is the comment")
218218
val response = createcomment.unsafeRunSync()
219219
response.result match {
220220
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -238,7 +238,7 @@ You can edit a comment from an issue with the following parameters:
238238
To edit a comment:
239239

240240
```scala mdoc:compile-only
241-
val editComment = Github[IO](accessToken).issues.editComment("47deg", "github4s", 20, "this is the new comment")
241+
val editComment = Github[IO](accessToken).issues.editComment("47degrees", "github4s", 20, "this is the new comment")
242242
val response = editComment.unsafeRunSync()
243243
response.result match {
244244
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -261,7 +261,7 @@ You can delete a comment from an issue with the following parameters:
261261
To delete a comment:
262262

263263
```scala mdoc:compile-only
264-
val deleteComment = Github[IO](accessToken).issues.deleteComment("47deg", "github4s", 20)
264+
val deleteComment = Github[IO](accessToken).issues.deleteComment("47degrees", "github4s", 20)
265265
val response = deleteComment.unsafeRunSync()
266266
response.result match {
267267
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -285,7 +285,7 @@ You can list labels for an issue with the following parameters:
285285
To list labels:
286286

287287
```scala mdoc:compile-only
288-
val labelListRepository = Github[IO](accessToken).issues.listLabelsRepository("47deg", "github4s")
288+
val labelListRepository = Github[IO](accessToken).issues.listLabelsRepository("47degrees", "github4s")
289289
val response = labelListRepository.unsafeRunSync()
290290
response.result match {
291291
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -308,7 +308,7 @@ You can list labels for an issue with the following parameters:
308308
To list labels:
309309

310310
```scala mdoc:compile-only
311-
val labelList = Github[IO](accessToken).issues.listLabels("47deg", "github4s", 17)
311+
val labelList = Github[IO](accessToken).issues.listLabels("47degrees", "github4s", 17)
312312
val response = labelList.unsafeRunSync()
313313
response.result match {
314314
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -331,7 +331,7 @@ You can add existing labels to an issue with the following parameters:
331331
To add existing labels to an issue:
332332

333333
```scala mdoc:compile-only
334-
val assignedLabelList = Github[IO](accessToken).issues.addLabels("47deg", "github4s", 17, List("bug", "code review"))
334+
val assignedLabelList = Github[IO](accessToken).issues.addLabels("47degrees", "github4s", 17, List("bug", "code review"))
335335
val response = assignedLabelList.unsafeRunSync()
336336
response.result match {
337337
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -354,7 +354,7 @@ You can remove a label from an issue with the following parameters:
354354
To remove an existing label from an issue:
355355

356356
```scala mdoc:compile-only
357-
val removedLabelList = Github[IO](accessToken).issues.removeLabel("47deg", "github4s", 17, "bug")
357+
val removedLabelList = Github[IO](accessToken).issues.removeLabel("47degrees", "github4s", 17, "bug")
358358
val response = removedLabelList.unsafeRunSync()
359359
response.result match {
360360
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -378,7 +378,7 @@ You can list available assignees for issues in repo with the following parameter
378378
To list available assignees:
379379

380380
```scala mdoc:compile-only
381-
val assignees = Github[IO](accessToken).issues.listAvailableAssignees("47deg", "github4s")
381+
val assignees = Github[IO](accessToken).issues.listAvailableAssignees("47degrees", "github4s")
382382
val response = assignees.unsafeRunSync()
383383
response.result match {
384384
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -394,8 +394,8 @@ As you can see, a few features of the issue endpoint are missing.
394394

395395
As a result, if you'd like to see a feature supported, feel free to create an issue and/or a pull request!
396396

397-
[issue-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/Issue.scala
398-
[user-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/User.scala
397+
[issue-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/Issue.scala
398+
[user-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/User.scala
399399

400400
## Milestones
401401

@@ -414,7 +414,7 @@ You can list the milestone for a particular organization and repository with `li
414414
To list the milestone for owner `47deg` and repository `github4s`:
415415

416416
```scala mdoc:compile-only
417-
val milestones = Github[IO](accessToken).issues.listMilestones("47deg", "github4s", Some("open"), None, None)
417+
val milestones = Github[IO](accessToken).issues.listMilestones("47degrees", "github4s", Some("open"), None, None)
418418
val response = milestones.unsafeRunSync()
419419
response.result match {
420420
case Left(e) => println(s"Something went wrong: ${e.getMessage}")
@@ -426,4 +426,4 @@ The `result` on the right is the corresponding [List[Milestone]][milestone-scala
426426

427427
See [the API doc](https://developer.github.com/v3/issues/milestones/#list-milestones-for-a-repository) for full reference.
428428

429-
[milestone-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/Milestone.scala
429+
[milestone-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/Milestone.scala

docs/docs/organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ As you can see, a few features of the organization endpoint are missing.
8585

8686
As a result, if you'd like to see a feature supported, feel free to create an issue and/or a pull request!
8787

88-
[user-scala]: https://github.com/47deg/github4s/blob/master/github4s/src/main/scala/github4s/domain/User.scala
88+
[user-scala]: https://github.com/47degrees/github4s/blob/master/github4s/src/main/scala/github4s/domain/User.scala

0 commit comments

Comments
 (0)