Merge lp:~fo0bar/ubuntu-cdimage/bittorrent into lp:ubuntu-cdimage

Proposed by Ryan Finnie
Status: Merged
Merged at revision: 1809
Proposed branch: lp:~fo0bar/ubuntu-cdimage/bittorrent
Merge into: lp:ubuntu-cdimage
Diff against target: 41 lines (+6/-6)
2 files modified
lib/cdimage/tests/test_tree.py (+4/-4)
lib/cdimage/tree.py (+2/-2)
To merge this branch: bzr merge lp:~fo0bar/ubuntu-cdimage/bittorrent
Reviewer Review Type Date Requested Status
Ubuntu CD Image Team Pending
Review via email: mp+367615@code.launchpad.net

Commit message

Generate torrents with https://{ipv6.,}torrent.ubuntu.com/announce instead of http :6969

Description of the change

Redirects are in place from the old location to the new https -- regeneration of the existing supported releases would be nice but isn't strictly necessary.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/cdimage/tests/test_tree.py'
--- lib/cdimage/tests/test_tree.py 2019-05-07 18:35:15 +0000
+++ lib/cdimage/tests/test_tree.py 2019-05-19 22:02:51 +0000
@@ -2379,7 +2379,7 @@
2379 self.assertLogEqual(2379 self.assertLogEqual(
2380 ["Creating torrent for %s ..." % path for path in paths])2380 ["Creating torrent for %s ..." % path for path in paths])
2381 command_base = [2381 command_base = [
2382 "btmakemetafile", "http://torrent.ubuntu.com:6969/announce",2382 "btmakemetafile", "https://torrent.ubuntu.com/announce",
2383 "--comment", "Ubuntu CD cdimage.ubuntu.com",2383 "--comment", "Ubuntu CD cdimage.ubuntu.com",
2384 ]2384 ]
2385 mock_check_call.assert_has_calls([2385 mock_check_call.assert_has_calls([
@@ -2670,10 +2670,10 @@
2670 publisher.make_torrents(2670 publisher.make_torrents(
2671 os.path.join(self.temp_dir, "dir"), "ubuntu-13.04")2671 os.path.join(self.temp_dir, "dir"), "ubuntu-13.04")
2672 command_base = [2672 command_base = [
2673 "btmakemetafile", "http://torrent.ubuntu.com:6969/announce",2673 "btmakemetafile", "https://torrent.ubuntu.com/announce",
2674 "--announce_list",2674 "--announce_list",
2675 ("http://torrent.ubuntu.com:6969/announce|"2675 ("https://torrent.ubuntu.com/announce|"
2676 "http://ipv6.torrent.ubuntu.com:6969/announce"),2676 "https://ipv6.torrent.ubuntu.com/announce"),
2677 "--comment", "Ubuntu CD releases.ubuntu.com",2677 "--comment", "Ubuntu CD releases.ubuntu.com",
2678 ]2678 ]
2679 mock_check_call.assert_has_calls([2679 mock_check_call.assert_has_calls([
26802680
=== modified file 'lib/cdimage/tree.py'
--- lib/cdimage/tree.py 2019-05-07 18:35:15 +0000
+++ lib/cdimage/tree.py 2019-05-19 22:02:51 +0000
@@ -2878,8 +2878,8 @@
2878 Releases are always copies of a nominated daily build.2878 Releases are always copies of a nominated daily build.
2879 """2879 """
28802880
2881 torrent_tracker = "http://torrent.ubuntu.com:6969/announce"2881 torrent_tracker = "https://torrent.ubuntu.com/announce"
2882 ipv6_torrent_tracker = "http://ipv6.torrent.ubuntu.com:6969/announce"2882 ipv6_torrent_tracker = "https://ipv6.torrent.ubuntu.com/announce"
28832883
2884 def __init__(self, tree, image_type, official, status=None, dry_run=False):2884 def __init__(self, tree, image_type, official, status=None, dry_run=False):
2885 super(ReleasePublisher, self).__init__(tree, image_type)2885 super(ReleasePublisher, self).__init__(tree, image_type)

Subscribers

People subscribed via source and target branches