summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-23 00:06:21 +0000
committerDavid Robillard <d@drobilla.net>2012-12-23 00:06:21 +0000
commitfa8d43dab70a975be9af7aebaac8eba682c2048e (patch)
tree4088b328260cb7fc75b0b1211879158752114103 /scripts
parentf7b865f9ff03b0796ba3c2732b69f70a24faa4d4 (diff)
downloadingen-fa8d43dab70a975be9af7aebaac8eba682c2048e.tar.gz
ingen-fa8d43dab70a975be9af7aebaac8eba682c2048e.tar.bz2
ingen-fa8d43dab70a975be9af7aebaac8eba682c2048e.zip
Use more sensible URI scheme for Ingen paths.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4889 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ingen.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/ingen.py b/scripts/ingen.py
index dcfe7206..041a7de6 100644
--- a/scripts/ingen.py
+++ b/scripts/ingen.py
@@ -210,14 +210,14 @@ class Remote(Interface):
return self.send('''
[]
a patch:Get ;
- patch:subject <ingen:root%s> .
+ patch:subject <ingen:/root%s> .
''' % path)
def put(self, path, body):
return self.send('''
[]
a patch:Put ;
- patch:subject <ingen:root%s> ;
+ patch:subject <ingen:/root%s> ;
patch:body [
%s
] .
@@ -227,7 +227,7 @@ class Remote(Interface):
return self.send('''
[]
a patch:Set ;
- patch:subject <ingen:root%s> ;
+ patch:subject <ingen:/root%s> ;
patch:body [
%s
] .
@@ -237,11 +237,11 @@ class Remote(Interface):
return self.send('''
[]
a patch:Put ;
- patch:subject <ingen:root%s> ;
+ patch:subject <ingen:/root%s> ;
patch:body [
a ingen:Edge ;
- ingen:tail <ingen:root%s> ;
- ingen:head <ingen:root%s> ;
+ ingen:tail <ingen:/root%s> ;
+ ingen:head <ingen:/root%s> ;
] .
''' % (os.path.commonprefix([tail, head]), tail, head))
@@ -251,8 +251,8 @@ class Remote(Interface):
a patch:Delete ;
patch:body [
a ingen:Edge ;
- ingen:tail <ingen:root%s> ;
- ingen:head <ingen:root%s> ;
+ ingen:tail <ingen:/root%s> ;
+ ingen:head <ingen:/root%s> ;
] .
''' % (tail, head))
@@ -260,6 +260,6 @@ class Remote(Interface):
return self.send('''
[]
a patch:Delete ;
- patch:subject <ingen:root%s> .
+ patch:subject <ingen:/root%s> .
''' % path)