diff --git a/.all-contributorsrc b/.all-contributorsrc index d13d090073..1c5c452cf8 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -163,7 +163,7 @@ ], "contributorsPerLine": 7, "projectName": "flipt", - "projectOwner": "markphelps", + "projectOwner": "flipt-io", "repoType": "github", "repoHost": "https://github.com", "skipCi": true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a42d19481..5c07142883 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,7 +69,7 @@ jobs: ${{ runner.os }}-go- - name: Unit Test (SQLite) - run: go test -covermode=count -coverprofile=coverage.txt -count=1 ./... + run: go test -race -covermode=atomic -coverprofile=coverage.txt -count=1 ./... - - name: Coverage + - name: Upload Coverage uses: codecov/codecov-action@v3.1.0 diff --git a/README.md b/README.md index 235242ad70..14b39bb05a 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,23 @@ ![Flipt](demo.gif)
- - Releases + + Releases - - Build Status + + Build Status - - GPL 3.0 + + GPL 3.0 Docker Pulls - - Coverage + + Coverage - - Go Report Card + + Go Report Card @@ -58,8 +58,6 @@ Flipt supports use cases such as: - Rolling out features to a percentage of your customers - Using advanced segmentation to target and serve users based on custom properties that you define -**Note: Flipt is in the process of moving to it's new home under the [flipt-io organization](https://github.com/flipt-io/).** - ## Features - Fast. Written in Go. Optimized for performance @@ -133,13 +131,13 @@ Client libraries built by awesome people from the Open Source community: ### Generate Your Own -If a client in your language is not available for download, you can easily generate one yourself using the existing [protobuf definition](https://github.com/markphelps/flipt/blob/main/rpc/flipt/flipt.proto). The [GRPC documentation](https://grpc.io/docs/) has extensive examples on how to generate GRPC clients in each supported language. +If a client in your language is not available for download, you can easily generate one yourself using the existing [protobuf definition](https://github.com/flipt-io/flipt/blob/main/rpc/flipt/flipt.proto). The [GRPC documentation](https://grpc.io/docs/) has extensive examples on how to generate GRPC clients in each supported language. ## Examples Check out the [examples](/examples) to see how Flipt works. -Here's a [basic one](https://github.com/markphelps/flipt/tree/main/examples/basic) to get started! +Here's a [basic one](https://github.com/flipt-io/flipt/tree/main/examples/basic) to get started! ## Licensing @@ -209,27 +207,27 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - + + +

Aaron Raff

๐Ÿ’ป

Rodrigo Chacon

๐Ÿ’ป

Christopher Diehl

๐Ÿ’ป

Andrew Z Allen

๐Ÿ“–

Sebastien Armand

๐Ÿ’ป

Dat Tran

๐Ÿ’ป

Jon Perl

โš ๏ธ ๐Ÿ’ป

Aaron Raff

๐Ÿ’ป

Rodrigo Chacon

๐Ÿ’ป

Christopher Diehl

๐Ÿ’ป

Andrew Z Allen

๐Ÿ“–

Sebastien Armand

๐Ÿ’ป

Dat Tran

๐Ÿ’ป

Jon Perl

โš ๏ธ ๐Ÿ’ป

Or Elimelech

๐Ÿ’ป

giddel

๐Ÿ’ป

Eduardo

๐Ÿ“– ๐Ÿ’ป

Itai Schwartz

๐Ÿ’ป

Ikko Ashimine

๐Ÿ“–

Mรกrk Sรกgi-Kazรกr

๐Ÿ’ป

Dan Piet

๐Ÿ’ป

Or Elimelech

๐Ÿ’ป

giddel

๐Ÿ’ป

Eduardo

๐Ÿ“– ๐Ÿ’ป

Itai Schwartz

๐Ÿ’ป

Ikko Ashimine

๐Ÿ“–

Mรกrk Sรกgi-Kazรกr

๐Ÿ’ป

Dan Piet

๐Ÿ’ป

Amay Shah

๐Ÿ’ป

kevin-ip

๐Ÿ’ป

albertchae

๐Ÿ’ป

Amay Shah

๐Ÿ’ป

kevin-ip

๐Ÿ’ป

albertchae

๐Ÿ’ป
diff --git a/build/Dockerfile b/build/Dockerfile index e15ba8a193..146cbbe5aa 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -6,7 +6,7 @@ FROM alpine:3.16.0 LABEL maintainer="dev@flipt.io" LABEL org.opencontainers.image.name="flipt" -LABEL org.opencontainers.image.source="https://github.com/markphelps/flipt" +LABEL org.opencontainers.image.source="https://github.com/flipt-io/flipt" RUN apk add --no-cache postgresql-client \ openssl \ diff --git a/cmd/flipt/main.go b/cmd/flipt/main.go index 0aa6fb5eb2..f6f5e41baa 100644 --- a/cmd/flipt/main.go +++ b/cmd/flipt/main.go @@ -482,7 +482,7 @@ func run(_ []string) error { // // See: rpc/flipt/marshal.go // - // See: https://github.com/markphelps/flipt/issues/664 + // See: https://github.com/flipt-io/flipt/issues/664 muxOpts = []grpc_gateway.ServeMuxOption{ grpc_gateway.WithMarshalerOption(grpc_gateway.MIMEWildcard, pb.NewV1toV2MarshallerAdapter()), } @@ -629,7 +629,7 @@ func run(_ []string) error { func getLatestRelease(ctx context.Context) (*github.RepositoryRelease, error) { client := github.NewClient(nil) - release, _, err := client.Repositories.GetLatestRelease(ctx, "markphelps", "flipt") + release, _, err := client.Repositories.GetLatestRelease(ctx, "flipt-io", "flipt") if err != nil { return nil, fmt.Errorf("checking for latest version: %w", err) } diff --git a/rpc/flipt/flipt.pb.go b/rpc/flipt/flipt.pb.go index adc7258eaa..8a3180b319 100644 --- a/rpc/flipt/flipt.pb.go +++ b/rpc/flipt/flipt.pb.go @@ -3344,20 +3344,19 @@ var file_flipt_proto_rawDesc = []byte{ 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0x92, 0x41, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x1a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x42, 0xc2, 0x01, 0x5a, 0x2b, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x70, - 0x68, 0x65, 0x6c, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x69, 0x70, 0x74, 0x2f, 0x72, 0x70, 0x63, 0x2f, - 0x66, 0x6c, 0x69, 0x70, 0x74, 0x2f, 0x66, 0x6c, 0x69, 0x70, 0x74, 0x92, 0x41, 0x91, 0x01, 0x12, - 0x47, 0x0a, 0x09, 0x46, 0x6c, 0x69, 0x70, 0x74, 0x20, 0x41, 0x50, 0x49, 0x22, 0x32, 0x0a, 0x0b, - 0x4d, 0x61, 0x72, 0x6b, 0x20, 0x50, 0x68, 0x65, 0x6c, 0x70, 0x73, 0x12, 0x23, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x6d, 0x61, 0x72, 0x6b, 0x70, 0x68, 0x65, 0x6c, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x69, 0x70, 0x74, - 0x32, 0x06, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x2a, 0x02, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, - 0x72, 0x1e, 0x0a, 0x0a, 0x46, 0x6c, 0x69, 0x70, 0x74, 0x20, 0x44, 0x6f, 0x63, 0x73, 0x12, 0x10, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x66, 0x6c, 0x69, 0x70, 0x74, 0x2e, 0x69, 0x6f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x42, 0xb6, 0x01, 0x5a, 0x21, + 0x67, 0x6f, 0x2e, 0x66, 0x6c, 0x69, 0x70, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x66, 0x6c, 0x69, 0x70, + 0x74, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x66, 0x6c, 0x69, 0x70, 0x74, 0x2f, 0x66, 0x6c, 0x69, 0x70, + 0x74, 0x92, 0x41, 0x8f, 0x01, 0x12, 0x45, 0x0a, 0x09, 0x46, 0x6c, 0x69, 0x70, 0x74, 0x20, 0x41, + 0x50, 0x49, 0x22, 0x30, 0x0a, 0x0b, 0x4d, 0x61, 0x72, 0x6b, 0x20, 0x50, 0x68, 0x65, 0x6c, 0x70, + 0x73, 0x12, 0x21, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x69, 0x70, 0x74, 0x2d, 0x69, 0x6f, 0x2f, 0x66, + 0x6c, 0x69, 0x70, 0x74, 0x32, 0x06, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x2a, 0x02, 0x01, 0x02, + 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x6a, 0x73, 0x6f, 0x6e, 0x72, 0x1e, 0x0a, 0x0a, 0x46, 0x6c, 0x69, 0x70, 0x74, 0x20, 0x44, 0x6f, + 0x63, 0x73, 0x12, 0x10, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x66, 0x6c, 0x69, 0x70, + 0x74, 0x2e, 0x69, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/rpc/flipt/flipt.proto b/rpc/flipt/flipt.proto index bc098adb53..4d79d16558 100644 --- a/rpc/flipt/flipt.proto +++ b/rpc/flipt/flipt.proto @@ -6,7 +6,7 @@ import "protoc-gen-openapiv2/options/annotations.proto"; package flipt; -option go_package = "github.com/markphelps/flipt/rpc/flipt/flipt"; +option go_package = "go.flipt.io/flipt/rpc/flipt/flipt"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info: { @@ -14,7 +14,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { version: "latest"; contact: { name: "Mark Phelps"; - url: "https://github.com/markphelps/flipt"; + url: "https://github.com/flipt-io/flipt"; }; }; external_docs: { diff --git a/storage/sql/evaluation_test.go b/storage/sql/evaluation_test.go index 9d6ebf3493..7130147993 100644 --- a/storage/sql/evaluation_test.go +++ b/storage/sql/evaluation_test.go @@ -185,7 +185,7 @@ func TestGetEvaluationDistributions(t *testing.T) { assert.Equal(t, float32(50.00), evaluationDistributions[1].Rollout) } -// https://github.com/markphelps/flipt/issues/229 +// https://github.com/flipt-io/flipt/issues/229 func TestGetEvaluationDistributions_MaintainOrder(t *testing.T) { flag, err := store.CreateFlag(context.TODO(), &flipt.CreateFlagRequest{ Key: t.Name(), diff --git a/swagger/flipt.swagger.json b/swagger/flipt.swagger.json index e1bb3ae00f..26bf171654 100644 --- a/swagger/flipt.swagger.json +++ b/swagger/flipt.swagger.json @@ -5,7 +5,7 @@ "version": "latest", "contact": { "name": "Mark Phelps", - "url": "https://github.com/markphelps/flipt" + "url": "https://github.com/flipt-io/flipt" } }, "tags": [ diff --git a/ui/src/components/Footer.vue b/ui/src/components/Footer.vue index 1f5002b317..b861212f90 100644 --- a/ui/src/components/Footer.vue +++ b/ui/src/components/Footer.vue @@ -2,7 +2,7 @@