From 5cc7b3c540096a77d675a91ab5339a154be682e2 Mon Sep 17 00:00:00 2001 From: James Graham <J.Graham@software.ac.uk> Date: Mon, 18 Feb 2019 09:12:10 +0000 Subject: [PATCH] Update references to GitHub location - moved to PEDASI org --- playbook.yml | 4 ++-- provenance/models.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/playbook.yml b/playbook.yml index 0d00be0..74a342f 100644 --- a/playbook.yml +++ b/playbook.yml @@ -79,7 +79,7 @@ - name: Clone / update dev branch from main repo git: - repo: 'ssh://git@github.com/Southampton-RSG/PEDASI-IoT.git' + repo: 'ssh://git@github.com/PEDASI/PEDASI.git' dest: '{{ project_dir }}' accept_hostkey: yes key_file: '~/.deployment-key' @@ -106,7 +106,7 @@ - name: Clone / update master branch git: - repo: 'ssh://git@github.com/Southampton-RSG/PEDASI-IoT.git' + repo: 'ssh://git@github.com/PEDASI/PEDASI.git' dest: '{{ project_dir }}' accept_hostkey: yes key_file: '~/.deployment-key' diff --git a/provenance/models.py b/provenance/models.py index 0716eac..f1aa4a7 100644 --- a/provenance/models.py +++ b/provenance/models.py @@ -80,6 +80,7 @@ class ProvEntry(mongoengine.DynamicDocument): instance_type = ContentType.objects.get_for_model(instance) document = prov.model.ProvDocument(namespaces={ + # TODO set PEDASI PROV namespace 'piot': 'http://www.pedasi-iot.org/', 'foaf': 'http://xmlns.com/foaf/0.1/', 'xsd': 'http://www.w3.org/2001/XMLSchema#', @@ -107,7 +108,7 @@ class ProvEntry(mongoengine.DynamicDocument): # Generate a UUID so we can lookup records belonging to a user # But not identify the user from a given record # TODO how strongly do we want to prevent user identification? - # See https://github.com/Southampton-RSG/PEDASI-IoT/issues/10 + # See https://github.com/PEDASI/PEDASI/issues/10 'piot:u-' + str(uuid.uuid5(uuid.NAMESPACE_URL, user_uri)), other_attributes={ prov.model.PROV_TYPE: 'prov:Person', -- GitLab