Merge ~utkarsh/ubuntu/+source/at:lp1464051-at-groovy into ubuntu/+source/at:ubuntu/groovy-devel

Proposed by Utkarsh Gupta
Status: Rejected
Rejected by: Christian Ehrhardt 
Proposed branch: ~utkarsh/ubuntu/+source/at:lp1464051-at-groovy
Merge into: ubuntu/+source/at:ubuntu/groovy-devel
Diff against target: 56 lines (+37/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/03-do-not-drop-seconds.patch (+28/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Bryce Harrington (community) Approve
Canonical Server Pending
git-ubuntu developers Pending
Review via email: mp+400019@code.launchpad.net

Description of the change

Hello,

This MP intends to fix LP: #1464051, by making at respecting seconds, which it didn't before.

The fix is trivial and should be easy to consider.
PPA at https://launchpad.net/~utkarsh/+archive/ubuntu/at

There were no tests but I've done a manual test and also ran the DEP8 tests which are now present in hirsute.

Requesting you to please review and sponsor the upload. Let me know if you have questions or suggestion.

To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

Looks straightforward enough, and same changes as already reviewed by Christian and Sergio.
+1 LGTM.

I'll sponsor both this and the focal MP for you, directly.

review: Approve
Revision history for this message
Bryce Harrington (bryce) wrote :

Tagged and uploaded

$ dput ubuntu at_3.1.23-1ubuntu2.1_source.changes
Checking signature on .changes
gpg: /home/bryce/pkg/At/review-mp400019/at_3.1.23-1ubuntu2.1_source.changes: Valid signature from E603B2578FB8F0FB
Checking signature on .dsc
gpg: /home/bryce/pkg/At/review-mp400019/at_3.1.23-1ubuntu2.1.dsc: Valid signature from E603B2578FB8F0FB
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading at_3.1.23-1ubuntu2.1.dsc: done.
  Uploading at_3.1.23-1ubuntu2.1.debian.tar.xz: done.
  Uploading at_3.1.23-1ubuntu2.1_source.buildinfo: done.
  Uploading at_3.1.23-1ubuntu2.1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Thanks, Bryce! \o/

Though it looks like you've either forgot to push the tags or forgot to paste that part;
cf: git push pkg upload/3.1.23-1ubuntu2.1

In case you haven't, please do. If you have and forgot to paste that part, please ignore this. Thanks, again!

Revision history for this message
Bryce Harrington (bryce) wrote :

On Tue, Mar 23, 2021 at 06:19:29PM -0000, Utkarsh Gupta wrote:
> Thanks, Bryce! \o/
>
> Though it looks like you've either forgot to push the tags or forgot to paste that part;
> cf: git push pkg upload/3.1.23-1ubuntu2.1
>
> In case you haven't, please do. If you have and forgot to paste that part, please ignore this. Thanks, again!

I did push it, the scrollback in my buffer was a bit messy (due to tab
completion conflict with the focal upload tag) so I didn't bother
pasting it.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Awesome, thank you for the explanation!

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Per discussion int he bug this was rejected

Unmerged commits

2a28dec... by Utkarsh Gupta

changelog

Signed-off-by: Utkarsh Gupta <email address hidden>

b2e351a... by Utkarsh Gupta

d/patches: add 03-do-not-drop-seconds.patch (cherry-pick).

When calculating time for the job, do not drop seconds.

LP: #1464051
Gbp-Dch: full

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 921f2a5..36f46ad 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+at (3.1.23-1ubuntu2.1) groovy; urgency=medium
7+
8+ * d/patches: add 03-do-not-drop-seconds.patch (cherry-pick).
9+ When calculating time for the job, do not drop seconds.
10+ (LP: #1464051)
11+
12+ -- Utkarsh Gupta <utkarsh.gupta@canonical.com> Tue, 23 Mar 2021 14:29:48 +0530
13+
14 at (3.1.23-1ubuntu2) groovy; urgency=medium
15
16 * No change rebuild against new cet ABI.
17diff --git a/debian/patches/03-do-not-drop-seconds.patch b/debian/patches/03-do-not-drop-seconds.patch
18new file mode 100644
19index 0000000..4aede80
20--- /dev/null
21+++ b/debian/patches/03-do-not-drop-seconds.patch
22@@ -0,0 +1,28 @@
23+From 15ee22de9dfd67d9c97404302623a9d45ce887a2 Mon Sep 17 00:00:00 2001
24+From: Jose M Calhariz <calhariz@debian.org>
25+Date: Wed, 17 Jul 2019 02:18:15 +0100
26+Subject: [PATCH] when calculating time for the job, do not drop seconds
27+Origin: upstream, https://salsa.debian.org/debian/at/-/commit/15ee22de9dfd67d9c97404302623a9d45ce887a2
28+Bug-Debian: https://bugs.debian.org/792040
29+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/at/+bug/1464051
30+
31+---
32+ at.c | 2 --
33+ 1 file changed, 2 deletions(-)
34+
35+diff --git a/at.c b/at.c
36+index 2136e0b..48884ec 100644
37+--- a/at.c
38++++ b/at.c
39+@@ -860,8 +860,6 @@ main(int argc, char **argv)
40+ fprintf(stderr, "invalid date format: %s\n", optarg);
41+ exit(EXIT_FAILURE);
42+ }
43+- /* drop seconds */
44+- timer -= timer % 60;
45+ break;
46+
47+ default:
48+--
49+GitLab
50+
51diff --git a/debian/patches/series b/debian/patches/series
52index e69de29..1dacf3a 100644
53--- a/debian/patches/series
54+++ b/debian/patches/series
55@@ -0,0 +1 @@
56+03-do-not-drop-seconds.patch

Subscribers

People subscribed via source and target branches