[Git][debian-gis-team/pycsw][master] Fixed test generator cofig paths

Angelos Tzotsos gitlab at salsa.debian.org
Mon Jan 4 17:31:25 GMT 2021



Angelos Tzotsos pushed to branch master at Debian GIS Project / pycsw


Commits:
a28c7e44 by Angelos Tzotsos at 2021-01-04T19:31:10+02:00
Fixed test generator cofig paths

- - - - -


2 changed files:

- debian/patches/series
- + debian/patches/tests_config_path.patch


Changes:

=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@
 0006-Don-t-include-external-references-to-images.patch
 version-requirements.patch
 interpreter-path.patch
+tests_config_path.patch


=====================================
debian/patches/tests_config_path.patch
=====================================
@@ -0,0 +1,47 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ pycsw (2.6.0+dfsg-1~focal0) focal; urgency=medium
+ .
+   * Config path patch added.
+Author: Angelos Tzotsos <gcpp.kalxas at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2020-12-19
+
+--- pycsw-2.6.0+dfsg.orig/tests/gen_html.py
++++ pycsw-2.6.0+dfsg/tests/gen_html.py
+@@ -61,7 +61,7 @@ print('''
+                             dataType: 'text',
+                             success: function(data) {
+                                 $('.request').val(data);
+-                                $('.server').val('../csw.py?config=' + arr[0]);
++                                $('.server').val('../csw.py?config=/usr/share/pycsw/' + arr[0]);
+                             }
+                         });
+                     }
+--- pycsw-2.6.0+dfsg.orig/tests/index.html
++++ pycsw-2.6.0+dfsg/tests/index.html
+@@ -27,7 +27,7 @@
+                             dataType: 'text',
+                             success: function(data) {
+                                 $('.request').val(data);
+-                                $('.server').val('../csw.py?config=' + arr[0]);
++                                $('.server').val('../csw.py?config=/usr/share/pycsw/' + arr[0]);
+                             }
+                         });
+                     }



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/a28c7e444e750fbf58768189182dd7cc6cd07858

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/a28c7e444e750fbf58768189182dd7cc6cd07858
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210104/a1993b69/attachment-0001.html>


More information about the Pkg-grass-devel mailing list