Skip to content

Commit

Permalink
UPDATE readme
Browse files Browse the repository at this point in the history
Point to Gitlab and remove old reference.
  • Loading branch information
oelmekki committed Jun 26, 2023
1 parent 1d29928 commit aa4c340
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# PgRebase

> Note to Github user: development is now happening [on Gitlab](https://gitlab.com/oelmekki/pgrebase),
> Github's repository is just a mirror. Please open any issue on Gitlab
> rather than Github.
PgRebase is a tool that allows you to easily handle your postgres codebase for
functions, triggers and views.


## Why

If you started outsourcing data manipulation to your database through
Expand All @@ -17,8 +20,6 @@ The classic tool for this is the migration software, asking you to manage
migration files. This is great for handling tables, not so great to make
frequent changes to your functions. Can we do better?

> Still confused about what the problem is here? See [this more in depth explanation](https://news.ycombinator.com/item?id=12976026) on Hacker News.

## What

Expand Down Expand Up @@ -50,16 +51,13 @@ after your migration task in your deployment pipeline.
## Install

```
go get github.com/oelmekki/pgrebase
go get gitlab.com/oelmekki/pgrebase
```

Binary will be in `$GO_PATH/bin/pgrebase`. This is a static binary, so it's
safe to copy it in your project (providing any system calling it is from the
same architecture).

You can also download prebuilt PgRelease [from release page](https://github.com/oelmekki/pgrebase/releases/)
(only for linux/amd64).


## Usage

Expand Down Expand Up @@ -162,7 +160,7 @@ dependencies?" message and you will have to figure it out for yourself).
Pgrebase is a fairly recent project. I already use it on production and it works
fine for me, but given I'm probably its only user for now, it's probably biased
toward how I write my sql code. If you find any problem while parsing your sql
code, please [let me know](https://github.com/oelmekki/pgrebase/issues)!
code, please [let me know](https://gitlab.com/oelmekki/pgrebase/-/issues)!


## Credits
Expand All @@ -181,7 +179,7 @@ awesome!
<br />
To the extent possible under law,
<a rel="dct:publisher"
href="https://github.com/oelmekki/pgrebase">
href="https://gitlab.com/oelmekki/pgrebase">
<span property="dct:title">Olivier El Mekki</span></a>
has waived all copyright and related or neighboring rights to
<span property="dct:title">PgRebase</span>.
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package main
import (
"flag"
"fmt"
"github.com/oelmekki/pgrebase/core"
"os"

"github.com/oelmekki/pgrebase/core"
)

// Usage shows user how they're supposed to use application.
Expand Down

0 comments on commit aa4c340

Please sign in to comment.