[Git][java-team/libpostgresql-jdbc-java][master] 3 commits: Defang package-contains-ancient-file caused by 1970 README.md.

Christoph Berg gitlab at salsa.debian.org
Wed Jun 10 21:17:20 BST 2020



Christoph Berg pushed to branch master at Debian Java Maintainers / libpostgresql-jdbc-java


Commits:
d87b379f by Christoph Berg at 2020-06-10T22:04:27+02:00
Defang package-contains-ancient-file caused by 1970 README.md.

- - - - -
f320a42f by Christoph Berg at 2020-06-10T22:15:06+02:00
Test both md5 and scram-sha-256 connections.

- - - - -
c0b0abd7 by Christoph Berg at 2020-06-10T22:16:45+02:00
copyright: Remove Files-Excluded which isn't necessary with the new tarballs

- - - - -


4 changed files:

- debian/changelog
- debian/copyright
- debian/rules
- debian/tests/sqlline


Changes:

=====================================
debian/changelog
=====================================
@@ -9,6 +9,8 @@ libpgjava (42.2.14-1) UNRELEASED; urgency=medium
   * Remove missing test dependencies:
      classloader-leak-test-framework: Not packaged
      junit: Packaged, but mvn doesn't find it
+  * Defang package-contains-ancient-file caused by 1970 README.md.
+  * Test both md5 and scram-sha-256 connections.
 
  -- Christoph Berg <myon at debian.org>  Thu, 30 Apr 2020 12:51:22 +0200
 


=====================================
debian/copyright
=====================================
@@ -1,7 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Postgresql JDBC Driver
 Source: https://github.com/pgjdbc/pgjdbc/
-Files-Excluded: *.jar
 
 Files: *
 Copyright: 1997-2015, PostgreSQL Global Development Group


=====================================
debian/rules
=====================================
@@ -9,6 +9,8 @@ export LC_ALL=C.UTF-8
 override_dh_auto_build:
 	dh_auto_build -- package
 	dh_auto_build -- javadoc:javadoc
+	# defang package-contains-ancient-file
+	touch README.md
 
 override_dh_gencontrol:
 	# the resulting .jar embeds classes from libscram-java. Note the version in Built-Using


=====================================
debian/tests/sqlline
=====================================
@@ -4,9 +4,20 @@ trap 'rm -f sqlline.out' 0 2 3 15
 
 set -eux
 
-pg_virtualenv -i --auth-host=scram-sha-256 <<'EOF'
+: Testing md5 connection
+
+pg_virtualenv <<'EOF'
 	set -eux
 	URL="jdbc:postgresql://$PGHOST:$PGPORT/$PGDATABASE?user=$PGUSER&password=$PGPASSWORD"
 	echo 'SELECT 3*3*3607*3803;' | sqlline -u $URL 2>&1 | tee sqlline.out
 	grep '123456789' sqlline.out
 EOF
+
+: Testing scram-sha-256 connection
+
+pg_virtualenv -i --auth-host=scram-sha-256 <<'EOF'
+	set -eux
+	URL="jdbc:postgresql://$PGHOST:$PGPORT/$PGDATABASE?user=$PGUSER&password=$PGPASSWORD"
+	echo 'SELECT 3*3*17*17*379721;' | sqlline -u $URL 2>&1 | tee sqlline.out
+	grep '987654321' sqlline.out
+EOF



View it on GitLab: https://salsa.debian.org/java-team/libpostgresql-jdbc-java/-/compare/2b725b46a2a3cc05b6f9ae9fc8897555459b64ed...c0b0abd7975d33d9d5a351cf26b30d2ac6ddbf3e

-- 
View it on GitLab: https://salsa.debian.org/java-team/libpostgresql-jdbc-java/-/compare/2b725b46a2a3cc05b6f9ae9fc8897555459b64ed...c0b0abd7975d33d9d5a351cf26b30d2ac6ddbf3e
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-java-commits/attachments/20200610/caffadc1/attachment.html>


More information about the pkg-java-commits mailing list