diff options
author | David Robillard <d@drobilla.net> | 2015-05-25 09:12:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-05-25 09:12:44 +0000 |
commit | ccb7d738d37fb21245a563cd41727f2609f0bc07 (patch) | |
tree | f13f750311b3b768b87b6dd64b47cd82584a6262 /scripts | |
parent | 4f00b8a2ae7148b3a13fd6af0e79eb9b6abf5634 (diff) | |
download | ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.tar.gz ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.tar.bz2 ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.zip |
Use ingen:/ as base URI on the wire.
This allows referring to non-graph items, which are converted to
bundle-relative URIs on save, resolving issue #1049.
Change root graph URI to ingen:/graph.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5687 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ingen.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/ingen.py b/scripts/ingen.py index 12f52e92..de1c8ec2 100644 --- a/scripts/ingen.py +++ b/scripts/ingen.py @@ -220,14 +220,14 @@ class Remote(Interface): return self.send(''' [] a patch:Get ; - patch:subject <ingen:/root%s> . + patch:subject <ingen:/graph%s> . ''' % path) def put(self, path, body): return self.send(''' [] a patch:Put ; - patch:subject <ingen:/root%s> ; + patch:subject <ingen:/graph%s> ; patch:body [ %s ] . @@ -237,7 +237,7 @@ class Remote(Interface): return self.send(''' [] a patch:Set ; - patch:subject <ingen:/root%s> ; + patch:subject <ingen:/graph%s> ; patch:body [ %s ] . @@ -247,11 +247,11 @@ class Remote(Interface): return self.send(''' [] a patch:Put ; - patch:subject <ingen:/root%s> ; + patch:subject <ingen:/graph%s> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root%s> ; - ingen:head <ingen:/root%s> ; + ingen:tail <ingen:/graph%s> ; + ingen:head <ingen:/graph%s> ; ] . ''' % (os.path.commonprefix([tail, head]), tail, head)) @@ -261,8 +261,8 @@ class Remote(Interface): a patch:Delete ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root%s> ; - ingen:head <ingen:/root%s> ; + ingen:tail <ingen:/graph%s> ; + ingen:head <ingen:/graph%s> ; ] . ''' % (tail, head)) @@ -270,5 +270,5 @@ class Remote(Interface): return self.send(''' [] a patch:Delete ; - patch:subject <ingen:/root%s> . + patch:subject <ingen:/graph%s> . ''' % path) |