diff --git a/.existdb.json b/.existdb.json index 83e0b10..119e835 100644 --- a/.existdb.json +++ b/.existdb.json @@ -19,13 +19,13 @@ ] }, "package": { - "author": "Dom&Jörn", + "author": "TEI-publisher project team", "target": "tuttle", - "description": "tuttle - github integration.", - "namespace": "http://exist-db.org/apps/tuttle", - "website": "http://exist-db.org/apps/tuttle", + "description": "Synchronize data with git services", + "namespace": "http://e-editiones.org/tuttle", + "website": "https://github.com/eeditiones/tuttle", "status": "dev", - "title": "tuttle - github integration", + "title": "tuttle - pull data from git APIs", "license": "GPLv3" } } diff --git a/src/modules/api.xql b/src/modules/api.xql index de55473..1652367 100644 --- a/src/modules/api.xql +++ b/src/modules/api.xql @@ -9,9 +9,9 @@ import module namespace errors="http://e-editiones.org/roaster/errors"; import module namespace xmldb="http://exist-db.org/xquery/xmldb"; import module namespace compression="http://exist-db.org/xquery/compression"; -import module namespace vcs="http://exist-db.org/apps/tuttle/vcs" at "vcs.xqm"; -import module namespace app="http://exist-db.org/apps/tuttle/app" at "app.xql"; -import module namespace config="http://exist-db.org/apps/tuttle/config" at "config.xql"; +import module namespace vcs="http://e-editiones.org/tuttle/vcs" at "vcs.xqm"; +import module namespace app="http://e-editiones.org/tuttle/app" at "app.xql"; +import module namespace config="http://e-editiones.org/tuttle/config" at "config.xql"; (:~ diff --git a/src/modules/app.xql b/src/modules/app.xql index 647d7ec..a159396 100644 --- a/src/modules/app.xql +++ b/src/modules/app.xql @@ -1,6 +1,6 @@ xquery version "3.1"; -module namespace app="http://exist-db.org/apps/tuttle/app"; +module namespace app="http://e-editiones.org/tuttle/app"; declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization"; import module namespace xmldb="http://exist-db.org/xquery/xmldb"; @@ -10,7 +10,7 @@ import module namespace repo="http://exist-db.org/xquery/repo"; import module namespace sm="http://exist-db.org/xquery/securitymanager"; import module namespace dbutil="http://exist-db.org/xquery/dbutil"; -import module namespace config="http://exist-db.org/apps/tuttle/config" at "config.xql"; +import module namespace config="http://e-editiones.org/tuttle/config" at "config.xql"; (:~ : Unzip helper function diff --git a/src/modules/config.xql b/src/modules/config.xql index 372efe0..88b51b4 100644 --- a/src/modules/config.xql +++ b/src/modules/config.xql @@ -1,6 +1,6 @@ xquery version "3.1"; -module namespace config="http://exist-db.org/apps/tuttle/config"; +module namespace config="http://e-editiones.org/tuttle/config"; (:~ : Configurtion file diff --git a/src/modules/github.xql b/src/modules/github.xql index 3a53845..fac8ec0 100644 --- a/src/modules/github.xql +++ b/src/modules/github.xql @@ -1,11 +1,11 @@ xquery version "3.1"; -module namespace github="http://exist-db.org/apps/tuttle/github"; +module namespace github="http://e-editiones.org/tuttle/github"; import module namespace crypto="http://expath.org/ns/crypto"; -import module namespace app="http://exist-db.org/apps/tuttle/app" at "app.xql"; -import module namespace config="http://exist-db.org/apps/tuttle/config" at "config.xql"; +import module namespace app="http://e-editiones.org/tuttle/app" at "app.xql"; +import module namespace config="http://e-editiones.org/tuttle/config" at "config.xql"; declare namespace http="http://expath.org/ns/http-client"; diff --git a/src/modules/gitlab.xql b/src/modules/gitlab.xql index 4d78d9e..8063ca8 100644 --- a/src/modules/gitlab.xql +++ b/src/modules/gitlab.xql @@ -1,9 +1,9 @@ xquery version "3.1"; -module namespace gitlab="http://exist-db.org/apps/tuttle/gitlab"; +module namespace gitlab="http://e-editiones.org/tuttle/gitlab"; -import module namespace app="http://exist-db.org/apps/tuttle/app" at "app.xql"; -import module namespace config="http://exist-db.org/apps/tuttle/config" at "config.xql"; +import module namespace app="http://e-editiones.org/tuttle/app" at "app.xql"; +import module namespace config="http://e-editiones.org/tuttle/config" at "config.xql"; declare namespace http="http://expath.org/ns/http-client"; diff --git a/src/modules/vcs.xqm b/src/modules/vcs.xqm index e11418c..d611c9c 100644 --- a/src/modules/vcs.xqm +++ b/src/modules/vcs.xqm @@ -1,8 +1,8 @@ -module namespace vcs="http://exist-db.org/apps/tuttle/vcs"; +module namespace vcs="http://e-editiones.org/tuttle/vcs"; -import module namespace github="http://exist-db.org/apps/tuttle/github" at "github.xql"; -import module namespace gitlab="http://exist-db.org/apps/tuttle/gitlab" at "gitlab.xql"; +import module namespace github="http://e-editiones.org/tuttle/github" at "github.xql"; +import module namespace gitlab="http://e-editiones.org/tuttle/gitlab" at "gitlab.xql"; declare variable $vcs:mappings as map(*) := map {