Revision: 1996
Author: [email protected]
Date: Tue Aug 10 06:19:31 2010
Log: Forgot licence header for Python script.
http://code.google.com/p/simal/source/detail?r=1996
Modified:
/trunk/uk.ac.osswatch.simal.web/src/main/python/backupAllProjects.py
=======================================
--- /trunk/uk.ac.osswatch.simal.web/src/main/python/backupAllProjects.py
Tue Aug 10 04:34:23 2010
+++ /trunk/uk.ac.osswatch.simal.web/src/main/python/backupAllProjects.py
Tue Aug 10 06:19:31 2010
@@ -1,3 +1,19 @@
+# Copyright 2010 University of Oxford
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
'''
This script writes a backup of all RDF/XML of the projects of a running
Simal instance. Written in/for Python 3.
@@ -7,7 +23,7 @@
import os
import codecs
-SIMAL_INSTANCE = 'registry.oss-watch.ac.uk'
+SIMAL_INSTANCE = 'localhost:8080'
SIMAL_REST_URL_PREFIX = '/simal-rest/project/source-simal/project-'
SIMAL_REST_URL_SUFFIX = '/xml'
PROJECT_FOLDER = 'allProjects/'
--
You received this message because you are subscribed to the Google Groups "Simal
Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simal-commits?hl=en.