You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@casbin.apache.org by hs...@apache.org on 2026/06/16 14:01:50 UTC

(casbin-pg-adapter) branch master updated (581bda7 -> 53df25a)

This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-pg-adapter.git


 discard 581bda7  feat: update repo path
     new 53df25a  feat: update repo path

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (581bda7)
            \
             N -- N -- N   refs/heads/master (53df25a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org


(casbin-pg-adapter) 01/01: feat: update repo path

Posted by hs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-pg-adapter.git

commit 53df25a131c9f6bcfd800b398da20e97ac046be0
Author: Yang Luo <hs...@gmail.com>
AuthorDate: Tue Jun 16 21:38:53 2026 +0800

    feat: update repo path
---
 .github/workflows/ci.yml |  2 +-
 README.md                | 12 ++++++------
 docker-compose.yml       |  2 +-
 go.mod                   |  2 +-
 pgexample/main.go        |  2 +-
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9f02b63..a5ee391 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -41,7 +41,7 @@ jobs:
 
       - uses: actions/checkout@v2
       - name: Run semantic-release
-        if: github.repository == 'casbin/casbin-pg-adapter' && github.event_name == 'push'
+        if: github.repository == 'apache/casbin-pg-adapter' && github.event_name == 'push'
         run: |
           npm install --save-dev semantic-release@17.2.4
           npx semantic-release
diff --git a/README.md b/README.md
index ee3321a..c3c4dd3 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
 # Go-pg Adapter
 
-[![Go](https://github.com/casbin/casbin-pg-adapter/actions/workflows/ci.yml/badge.svg)](https://github.com/casbin/casbin-pg-adapter/actions/workflows/ci.yml)
+[![Go](https://github.com/apache/casbin-pg-adapter/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/casbin-pg-adapter/actions/workflows/ci.yml)
 [![Coverage Status](https://coveralls.io/repos/github/casbin/casbin-pg-adapter/badge.svg?branch=master)](https://coveralls.io/github/casbin/casbin-pg-adapter?branch=master)
 
 Go-pg Adapter is the [Go-pg](https://github.com/go-pg/pg) adapter for [Casbin](https://github.com/casbin/casbin). With this library, Casbin can load policy from PostgreSQL or save policy to it.
 
 ## Installation
 
-    go get github.com/casbin/casbin-pg-adapter
+    go get github.com/apache/casbin-pg-adapter
 
 ## Simple Postgres Example
 
@@ -15,7 +15,7 @@ Go-pg Adapter is the [Go-pg](https://github.com/go-pg/pg) adapter for [Casbin](h
 package main
 
 import (
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 	"github.com/casbin/casbin/v2"
 )
 
@@ -63,7 +63,7 @@ package main
 
 import (
 	"github.com/casbin/casbin/v2"
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 )
 
 func main() {
@@ -87,7 +87,7 @@ package main
 
 import (
 	"github.com/casbin/casbin/v2"
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 	"github.com/go-pg/pg/v9"
 )
 
@@ -109,7 +109,7 @@ func main() {
 
 ## Debug tests
 
-    docker-compose run --rm go dlv test github.com/casbin/casbin-pg-adapter
+    docker-compose run --rm go dlv test github.com/apache/casbin-pg-adapter
 
 ## Getting Help
 
diff --git a/docker-compose.yml b/docker-compose.yml
index c92aaa3..cde3093 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -22,7 +22,7 @@ services:
     command:
       - go
       - test
-      - github.com/casbin/casbin-pg-adapter
+      - github.com/apache/casbin-pg-adapter
 
 volumes:
   gopkg:
diff --git a/go.mod b/go.mod
index 093e371..0596dd9 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/casbin/casbin-pg-adapter
+module github.com/apache/casbin-pg-adapter
 
 go 1.18
 
diff --git a/pgexample/main.go b/pgexample/main.go
index 4c597e5..864c101 100644
--- a/pgexample/main.go
+++ b/pgexample/main.go
@@ -1,7 +1,7 @@
 package main
 
 import (
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 	"github.com/casbin/casbin/v3"
 )
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org