From aa4c340858fc1acb0e5d4ca1868155b136bce4f2 Mon Sep 17 00:00:00 2001 From: Olivier El Mekki Date: Mon, 26 Jun 2023 14:47:18 +0200 Subject: [PATCH] UPDATE readme Point to Gitlab and remove old reference. --- README.md | 16 +++++++--------- main.go | 3 ++- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 640151a..99f35d0 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 @@ -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 @@ -181,7 +179,7 @@ awesome!
To the extent possible under law, + href="https://gitlab.com/oelmekki/pgrebase"> Olivier El Mekki has waived all copyright and related or neighboring rights to PgRebase. diff --git a/main.go b/main.go index 1a703cf..77d9f49 100644 --- a/main.go +++ b/main.go @@ -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.