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

Commit

Permalink
Bump major to v4 in preperation for new features (#108)
Browse files Browse the repository at this point in the history
for weight and label changes that are coming
  • Loading branch information
prince-chrismc authored Jan 27, 2023
1 parent 792db34 commit f10ff9d
Show file tree
Hide file tree
Showing 22 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ It's always benifical to see the output of the commands, so it's encouraged to p

### Enviroment

We current test against Golang `^1.17`. You can follow [the official installation instructions](https://golang.org/doc/install) for your operating system.
We current test against Golang `^1.19`. You can follow [the official installation instructions](https://golang.org/doc/install) for your operating system.

### Working Locally

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
Expand All @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: ^1.17
go-version: ^1.19
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions cmd/cpr/comment_body.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"fmt"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/format"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/format"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// MakeCommentBody to render human friendly version that can be published to GitHub Issues
Expand Down
2 changes: 1 addition & 1 deletion cmd/cpr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/app"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/app"
"github.com/urfave/cli/v2"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/cpr/pending_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"time"

"github.com/google/go-github/v45/github"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// PendingReview analysis of open pull requests
Expand Down
4 changes: 2 additions & 2 deletions cmd/ovm/download_recent.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"image/png"
"strings"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// GetOvmPngFromThisWeek returns the last sevent PNGs that have been uploaded.
Expand Down
2 changes: 1 addition & 1 deletion cmd/ovm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/app"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/app"
"github.com/urfave/cli/v2"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/ovm/opened_versus_merged.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"time"

"github.com/google/go-github/v45/github"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/charts"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/charts"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
"github.com/wcharczuk/go-chart/v2"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/tir/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/app"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/app"
"github.com/urfave/cli/v2"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/tir/time_in_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"time"

"github.com/google/go-github/v45/github"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/charts"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/charts"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
"github.com/wcharczuk/go-chart/v2"
)

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/prince-chrismc/conan-center-index-pending-review/v3
module github.com/prince-chrismc/conan-center-index-pending-review/v4

go 1.17
go 1.19

require (
github.com/go-git/go-git/v5 v5.5.2
Expand Down
2 changes: 1 addition & 1 deletion internal/charts/line_chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sort"
"time"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
"github.com/wcharczuk/go-chart/v2"
"github.com/wcharczuk/go-chart/v2/drawing"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/charts/stacked_chart.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package charts

import (
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
"github.com/wcharczuk/go-chart/v2"
"github.com/wcharczuk/go-chart/v2/drawing"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

git "github.com/go-git/go-git/v5/plumbing"
"github.com/google/go-github/v45/github"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// GetCommits returns a list of of number from the raw-data branch
Expand Down
2 changes: 1 addition & 1 deletion internal/commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"testing"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
"github.com/stretchr/testify/assert"
gock "gopkg.in/h2non/gock.v1"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/format/merge_ready.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package format
import (
"fmt"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// ReadyToMerge formats the pull request summaries into a markdown table for those considered 'ready to merge'
Expand Down
4 changes: 2 additions & 2 deletions internal/format/reviews.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"
"time"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// ReviewsToMarkdownRows Converts pull request review status to GitHub markdown table rows
Expand Down
2 changes: 1 addition & 1 deletion internal/format/reviews_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/format/statistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/stats"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/stats"
)

// Statistics makes a markdown section and unordered list
Expand Down
2 changes: 1 addition & 1 deletion internal/format/under_way.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package format
import (
"fmt"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
)

// UnderReview formats the pull request summaries into a markdown table for those **not** considered 'ready to merge'
Expand Down
2 changes: 1 addition & 1 deletion internal/make_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

"github.com/prince-chrismc/conan-center-index-pending-review/v3/pending_review"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/pending_review"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/stats/stats.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package stats

import (
"github.com/prince-chrismc/conan-center-index-pending-review/v3/internal/duration"
"github.com/prince-chrismc/conan-center-index-pending-review/v4/internal/duration"
)

// Stats for the open pull requests being evaluated
Expand Down

0 comments on commit f10ff9d

Please sign in to comment.