Merge ~pushkarnk/ubuntu/+source/pgpainless:fix-2044109 into ubuntu/+source/pgpainless:ubuntu/devel

Proposed by Pushkar Kulkarni
Status: Merged
Merge reported by: Pushkar Kulkarni
Merged at revision: f7c3398b0ac863ef49c3eacc959b6da46a7242f4
Proposed branch: ~pushkarnk/ubuntu/+source/pgpainless:fix-2044109
Merge into: ubuntu/+source/pgpainless:ubuntu/devel
Diff against target: 53 lines (+10/-2)
4 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/rules (+1/-1)
debian/tests/upstream-core (+1/-0)
Reviewer Review Type Date Requested Status
Simon Quigley (community) Approve
Vladimir Petko (community) Abstain
git-ubuntu import Pending
Review via email: mp+456008@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :
Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :
Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

Ran autopkgtests against the PPA:

autopkgtest \
  --apt-upgrade \
  --shell-fail \
   --output-dir pgpainless-output \
   --setup-commands="sudo add-apt-repository -y -u -s \
      ppa:pushkarnk/pgpainless-ppa" \
   --no-built-binaries \
   pgpainless \
   -- lxd ubuntu-daily:noble

Results:
------
...
autopkgtest [09:17:14]: @@@@@@@@@@@@@@@@@@@@ summary
upstream-core PASS
upstream-sop PASS
upstream-cli PASS
cli PASS
--------

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Some minor comments:

- Closes: #XXXX tag applies to debian MPs. In Ubuntu the tag is LP: #xxxx
- The patch is not strictly necessary, we can append ' --exclude-classname=investigations.KleopatraCompatibilityTest' to JUNIT_OPTIONS in debian/rules to exclude the class from testing. This also might make it easier to submit to debian and reduce maintenance effort for the next release.

You will need a reviewer with upload rights, so I am marking this review as 'Abstain'

review: Abstain
6f989fb... by Pushkar Kulkarni

Exclude tests in KleopatraCompatibilityTests.java

The tests use a PGP key that expired on Oct 26, 2023.
Upstream has purged these tests on their current dev branch.

7ee1c95... by Pushkar Kulkarni

Update changelog

f7c3398... by Pushkar Kulkarni

Update maintainer

Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

Reworking the patch based on Vladimir's sugestion.

Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

Built and tested the new changes in a different PPA [1]

autopkgtest [16:08:03]: test cli: - - - - - - - - - - results - - - - - - - - - -
autopkgtest [16:08:03]: @@@@@@@@@@@@@@@@@@@@ summary
upstream-core PASS
upstream-sop PASS
upstream-cli PASS
cli PASS

[1] https://launchpad.net/~pushkarnk/+archive/ubuntu/pgpainless-test

Revision history for this message
Simon Quigley (tsimonq2) wrote :

        |
       / \
      / _ \
     |.o '.|
     |'._.'|
     | |
   ,'| | |`.
  / | | | \
  |,-'--|--'-.|

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index c315604..416ea4b 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+pgpainless (1.3.16-1ubuntu1) noble; urgency=medium
7+
8+ * debian/rules: Exclude Kleopatra compatibility tests (LP: #2044109)
9+
10+ -- Pushkar Kulkarni <pushkar.kulkarni@canonical.com> Wed, 22 Nov 2023 10:11:34 +0530
11+
12 pgpainless (1.3.16-1) unstable; urgency=medium
13
14 * New upstream version 1.3.16
15diff --git a/debian/control b/debian/control
16index 24d0dd4..f40a316 100644
17--- a/debian/control
18+++ b/debian/control
19@@ -1,7 +1,8 @@
20 Source: pgpainless
21 Section: java
22 Priority: optional
23-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
24+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
25+XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
26 Uploaders:
27 Jérôme Charaoui <jerome@riseup.net>,
28 Build-Depends:
29diff --git a/debian/rules b/debian/rules
30index 2dcf1e6..53b933d 100755
31--- a/debian/rules
32+++ b/debian/rules
33@@ -8,7 +8,7 @@ export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
34 TEST_CORE_CLASSPATH=/usr/share/java/bcpg.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-simple.jar:pgpainless-core/build/libs/pgpainless-core.jar
35 TEST_SOP_CLASSPATH=$(TEST_CORE_CLASSPATH):/usr/share/java/sop-java.jar:pgpainless-sop/build/libs/pgpainless-sop.jar
36 TEST_CLI_CLASSPATH=$(TEST_SOP_CLASSPATH):/usr/share/java/sop-java-picocli.jar:/usr/share/java/junit5-system-exit.jar:pgpainless-cli/build/libs/pgpainless-cli.jar
37-JUNIT_OPTIONS=--scan-classpath --fail-if-no-tests --disable-ansi-colors
38+JUNIT_OPTIONS=--scan-classpath --fail-if-no-tests --disable-ansi-colors --exclude-classname=investigations.KleopatraCompatibilityTest
39
40 BUILD_TASKS = jar
41
42diff --git a/debian/tests/upstream-core b/debian/tests/upstream-core
43index ac610e0..4a0d8d3 100755
44--- a/debian/tests/upstream-core
45+++ b/debian/tests/upstream-core
46@@ -9,6 +9,7 @@ cd "$AUTOPKGTEST_TMP"
47 java \
48 -jar /usr/share/java/junit-platform-console-standalone.jar \
49 -cp /usr/share/java/pgpainless-core-tests.jar \
50+ --exclude-classname=investigations.KleopatraCompatibilityTest \
51 --scan-classpath \
52 --fail-if-no-tests \
53 --disable-ansi-colors

Subscribers

People subscribed via source and target branches