Skip to content

Commit

Permalink
Update refs (#943)
Browse files Browse the repository at this point in the history
* Update refs to new org

* Update code coverage

* Coverage
  • Loading branch information
markphelps authored Jul 16, 2022
1 parent dc42080 commit e308c98
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
],
"contributorsPerLine": 7,
"projectName": "flipt",
"projectOwner": "markphelps",
"projectOwner": "flipt-io",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
60 changes: 29 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
![Flipt](demo.gif)

<div align="center">
<a href="/markphelps/flipt/releases">
<img src="https://img.shields.io/github/release/markphelps/flipt.svg?style=flat" alt="Releases" />
<a href="/flipt-io/flipt/releases">
<img src="https://img.shields.io/github/release/flipt-io/flipt.svg?style=flat" alt="Releases" />
</a>
<a href="/markphelps/flipt/actions">
<img src="https://github.com/markphelps/flipt/workflows/Tests/badge.svg" alt="Build Status" />
<a href="/flipt-io/flipt/actions">
<img src="https://github.com/flipt-io/flipt/workflows/Tests/badge.svg" alt="Build Status" />
</a>
<a href="/markphelps/flipt/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/markphelps/flipt.svg" alt="GPL 3.0" />
<a href="/flipt-io/flipt/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/flipt-io/flipt.svg" alt="GPL 3.0" />
</a>
<a href="https://hub.docker.com/r/markphelps/flipt">
<img src="https://img.shields.io/docker/pulls/markphelps/flipt.svg" alt="Docker Pulls" />
</a>
<a href="https://codecov.io/gh/markphelps/flipt">
<img src="https://codecov.io/gh/markphelps/flipt/branch/main/graph/badge.svg" alt="Coverage" />
<a href="https://codecov.io/gh/flipt-io/flipt">
<img src="https://codecov.io/gh/flipt-io/flipt/branch/main/graph/badge.svg" alt="Coverage" />
</a>
<a href="https://goreportcard.com/report/github.com/markphelps/flipt">
<img src="https://goreportcard.com/badge/github.com/markphelps/flipt" alt="Go Report Card" />
<a href="https://goreportcard.com/report/github.com/flipt-io/flipt">
<img src="https://goreportcard.com/badge/github.com/flipt-io/flipt" alt="Go Report Card" />
</a>
<a href="https://bestpractices.coreinfrastructure.org/projects/3498">
<img src="https://bestpractices.coreinfrastructure.org/projects/3498/badge">
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -209,27 +207,27 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="http://aaronraff.github.io"><img src="https://avatars0.githubusercontent.com/u/16910064?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aaron Raff</b></sub></a><br /><a href="/markphelps/flipt/commits?author=aaronraff" title="Code">💻</a></td>
<td align="center"><a href="http://twitter.com/rochacon"><img src="https://avatars2.githubusercontent.com/u/321351?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rodrigo Chacon</b></sub></a><br /><a href="/markphelps/flipt/commits?author=rochacon" title="Code">💻</a></td>
<td align="center"><a href="http://christopherdiehl.github.io"><img src="https://avatars0.githubusercontent.com/u/10383665?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christopher Diehl</b></sub></a><br /><a href="/markphelps/flipt/commits?author=christopherdiehl" title="Code">💻</a></td>
<td align="center"><a href="https://www.andrewzallen.com"><img src="https://avatars3.githubusercontent.com/u/37206?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrew Z Allen</b></sub></a><br /><a href="/markphelps/flipt/commits?author=achew22" title="Documentation">📖</a></td>
<td align="center"><a href="http://sf.khepin.com"><img src="https://avatars3.githubusercontent.com/u/455656?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sebastien Armand</b></sub></a><br /><a href="/markphelps/flipt/commits?author=khepin" title="Code">💻</a></td>
<td align="center"><a href="/badboyd"><img src="https://avatars0.githubusercontent.com/u/20040686?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dat Tran</b></sub></a><br /><a href="/markphelps/flipt/commits?author=badboyd" title="Code">💻</a></td>
<td align="center"><a href="http://twitter.com/jon_perl"><img src="https://avatars2.githubusercontent.com/u/1136652?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jon Perl</b></sub></a><br /><a href="/markphelps/flipt/commits?author=jperl" title="Tests">⚠️</a> <a href="/markphelps/flipt/commits?author=jperl" title="Code">💻</a></td>
<td align="center"><a href="http://aaronraff.github.io"><img src="https://avatars0.githubusercontent.com/u/16910064?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aaron Raff</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=aaronraff" title="Code">💻</a></td>
<td align="center"><a href="http://twitter.com/rochacon"><img src="https://avatars2.githubusercontent.com/u/321351?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rodrigo Chacon</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=rochacon" title="Code">💻</a></td>
<td align="center"><a href="http://christopherdiehl.github.io"><img src="https://avatars0.githubusercontent.com/u/10383665?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christopher Diehl</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=christopherdiehl" title="Code">💻</a></td>
<td align="center"><a href="https://www.andrewzallen.com"><img src="https://avatars3.githubusercontent.com/u/37206?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrew Z Allen</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=achew22" title="Documentation">📖</a></td>
<td align="center"><a href="http://sf.khepin.com"><img src="https://avatars3.githubusercontent.com/u/455656?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sebastien Armand</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=khepin" title="Code">💻</a></td>
<td align="center"><a href="/badboyd"><img src="https://avatars0.githubusercontent.com/u/20040686?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dat Tran</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=badboyd" title="Code">💻</a></td>
<td align="center"><a href="http://twitter.com/jon_perl"><img src="https://avatars2.githubusercontent.com/u/1136652?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jon Perl</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=jperl" title="Tests">⚠️</a> <a href="/flipt-io/flipt/commits?author=jperl" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://or-e.net"><img src="https://avatars1.githubusercontent.com/u/2883824?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Or Elimelech</b></sub></a><br /><a href="/markphelps/flipt/commits?author=vic3lord" title="Code">💻</a></td>
<td align="center"><a href="/giddel"><img src="https://avatars0.githubusercontent.com/u/10463018?v=4?s=100" width="100px;" alt=""/><br /><sub><b>giddel</b></sub></a><br /><a href="/markphelps/flipt/commits?author=giddel" title="Code">💻</a></td>
<td align="center"><a href="http://eduar.do"><img src="https://avatars.githubusercontent.com/u/959623?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Eduardo</b></sub></a><br /><a href="/markphelps/flipt/commits?author=edumucelli" title="Documentation">📖</a> <a href="/markphelps/flipt/commits?author=edumucelli" title="Code">💻</a></td>
<td align="center"><a href="/itaischwartz"><img src="https://avatars.githubusercontent.com/u/60180089?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Itai Schwartz</b></sub></a><br /><a href="/markphelps/flipt/commits?author=itaischwartz" title="Code">💻</a></td>
<td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="/markphelps/flipt/commits?author=eltociear" title="Documentation">📖</a></td>
<td align="center"><a href="https://sagikazarmark.hu"><img src="https://avatars.githubusercontent.com/u/1226384?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Márk Sági-Kazár</b></sub></a><br /><a href="/markphelps/flipt/commits?author=sagikazarmark" title="Code">💻</a></td>
<td align="center"><a href="/pietdaniel"><img src="https://avatars.githubusercontent.com/u/1924983?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dan Piet</b></sub></a><br /><a href="/markphelps/flipt/commits?author=pietdaniel" title="Code">💻</a></td>
<td align="center"><a href="https://or-e.net"><img src="https://avatars1.githubusercontent.com/u/2883824?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Or Elimelech</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=vic3lord" title="Code">💻</a></td>
<td align="center"><a href="/giddel"><img src="https://avatars0.githubusercontent.com/u/10463018?v=4?s=100" width="100px;" alt=""/><br /><sub><b>giddel</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=giddel" title="Code">💻</a></td>
<td align="center"><a href="http://eduar.do"><img src="https://avatars.githubusercontent.com/u/959623?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Eduardo</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=edumucelli" title="Documentation">📖</a> <a href="/flipt-io/flipt/commits?author=edumucelli" title="Code">💻</a></td>
<td align="center"><a href="/itaischwartz"><img src="https://avatars.githubusercontent.com/u/60180089?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Itai Schwartz</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=itaischwartz" title="Code">💻</a></td>
<td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=eltociear" title="Documentation">📖</a></td>
<td align="center"><a href="https://sagikazarmark.hu"><img src="https://avatars.githubusercontent.com/u/1226384?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Márk Sági-Kazár</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=sagikazarmark" title="Code">💻</a></td>
<td align="center"><a href="/pietdaniel"><img src="https://avatars.githubusercontent.com/u/1924983?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dan Piet</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=pietdaniel" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="/amayvs"><img src="https://avatars.githubusercontent.com/u/842194?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Amay Shah</b></sub></a><br /><a href="/markphelps/flipt/commits?author=amayvs" title="Code">💻</a></td>
<td align="center"><a href="/kevin-ip"><img src="https://avatars.githubusercontent.com/u/28875408?v=4?s=100" width="100px;" alt=""/><br /><sub><b>kevin-ip</b></sub></a><br /><a href="/markphelps/flipt/commits?author=kevin-ip" title="Code">💻</a></td>
<td align="center"><a href="/albertchae"><img src="https://avatars.githubusercontent.com/u/217050?v=4?s=100" width="100px;" alt=""/><br /><sub><b>albertchae</b></sub></a><br /><a href="/markphelps/flipt/commits?author=albertchae" title="Code">💻</a></td>
<td align="center"><a href="/amayvs"><img src="https://avatars.githubusercontent.com/u/842194?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Amay Shah</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=amayvs" title="Code">💻</a></td>
<td align="center"><a href="/kevin-ip"><img src="https://avatars.githubusercontent.com/u/28875408?v=4?s=100" width="100px;" alt=""/><br /><sub><b>kevin-ip</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=kevin-ip" title="Code">💻</a></td>
<td align="center"><a href="/albertchae"><img src="https://avatars.githubusercontent.com/u/217050?v=4?s=100" width="100px;" alt=""/><br /><sub><b>albertchae</b></sub></a><br /><a href="/flipt-io/flipt/commits?author=albertchae" title="Code">💻</a></td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions cmd/flipt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
}
Expand Down Expand Up @@ -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)
}
Expand Down
27 changes: 13 additions & 14 deletions rpc/flipt/flipt.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rpc/flipt/flipt.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ 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: {
title: "Flipt API";
version: "latest";
contact: {
name: "Mark Phelps";
url: "https://github.com/markphelps/flipt";
url: "https://github.com/flipt-io/flipt";
};
};
external_docs: {
Expand Down
2 changes: 1 addition & 1 deletion storage/sql/evaluation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion swagger/flipt.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "latest",
"contact": {
"name": "Mark Phelps",
"url": "https://github.com/markphelps/flipt"
"url": "https://github.com/flipt-io/flipt"
}
},
"tags": [
Expand Down
Loading

0 comments on commit e308c98

Please sign in to comment.