Skip to content

Commit

Permalink
fix: namespaces and package info
Browse files Browse the repository at this point in the history
  • Loading branch information
line-o committed Oct 4, 2023
1 parent 2ac3ada commit fc7fe1d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .existdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
6 changes: 3 additions & 3 deletions src/modules/api.xql
Original file line number Diff line number Diff line change
Expand Up @@ -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";


(:~
Expand Down
4 changes: 2 additions & 2 deletions src/modules/app.xql
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/modules/config.xql
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/modules/github.xql
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
6 changes: 3 additions & 3 deletions src/modules/gitlab.xql
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
6 changes: 3 additions & 3 deletions src/modules/vcs.xqm
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit fc7fe1d

Please sign in to comment.