Merge lp:~tjguthrie4600/ubuntu/trusty/apt/bug-1206047 into lp:ubuntu/trusty/apt

Proposed by TJ Guthrie
Status: Merged
Merge reported by: Michael Terry
Merged at revision: not available
Proposed branch: lp:~tjguthrie4600/ubuntu/trusty/apt/bug-1206047
Merge into: lp:ubuntu/trusty/apt
Diff against target: 33 lines (+10/-2)
2 files modified
debian/apt.cron.daily (+2/-2)
debian/changelog (+8/-0)
To merge this branch: bzr merge lp:~tjguthrie4600/ubuntu/trusty/apt/bug-1206047
Reviewer Review Type Date Requested Status
Michael Terry Approve
Review via email: mp+195553@code.launchpad.net

Description of the change

In debian/apt.cron.daily

Changed line 200:
From: debug_echo "skip remove by archive size: $file, delta=$delta < $MinAgeSec"
To: debug_echo "skip remove by archive size: $file, delta=$delta < $MinAge"

Changed line 204:
From: debug_echo "remove by archive size: $file, delta=$delta >= $MinAgeSec (sec), size=$size >=$MaxSize"
To: debug_echo "remove by archive size: $file, delta=$delta >= $MinAge (sec), size=$size >= $MaxSize"

To post a comment you must log in.
Revision history for this message
Craig Hrabal (crhrabal) wrote :

Looks good!

208. By TJ Guthrie <tguthri1@wheezy>

Fixed debian change log version

Revision history for this message
Michael Terry (mterry) wrote :

Yup, looks good. Thanks so much!

I've uploaded to Ubuntu.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/apt.cron.daily'
--- debian/apt.cron.daily 2013-07-10 17:03:52 +0000
+++ debian/apt.cron.daily 2013-11-18 22:54:02 +0000
@@ -197,11 +197,11 @@
197 delta=$(($now-$ctime))197 delta=$(($now-$ctime))
198 fi198 fi
199 if [ $delta -le $MinAge ]; then199 if [ $delta -le $MinAge ]; then
200 debug_echo "skip remove by archive size: $file, delta=$delta < $MinAgeSec"200 debug_echo "skip remove by archive size: $file, delta=$delta < $MinAge"
201 break201 break
202 else202 else
203 # delete oldest file203 # delete oldest file
204 debug_echo "remove by archive size: $file, delta=$delta >= $MinAgeSec (sec), size=$size >= $MaxSize"204 debug_echo "remove by archive size: $file, delta=$delta >= $MinAge (sec), size=$size >= $MaxSize"
205 rm -f $file205 rm -f $file
206 fi206 fi
207 fi207 fi
208208
=== modified file 'debian/changelog'
--- debian/changelog 2013-11-02 14:02:38 +0000
+++ debian/changelog 2013-11-18 22:54:02 +0000
@@ -1,3 +1,11 @@
1apt (0.9.9.1~ubuntu5) trusty; urgency=low
2
3 * Non-maintainer upload
4 * Changed MinAgeSec to MinAge in /etc/cron.daily/apt:200,204
5 * LP: #1206047
6
7 -- TJ Guthrie (TJ) <TJ.Guthrie@mail.wvu.edu> Mon, 18 Nov 2013 03:06:36 -0500
8
1apt (0.9.9.1~ubuntu4) trusty; urgency=low9apt (0.9.9.1~ubuntu4) trusty; urgency=low
210
3 * No change rebuild against db 5.3.11 * No change rebuild against db 5.3.

Subscribers

People subscribed via source and target branches

to all changes: