[arch-projects] [archweb] [RFC] download.html: Provide a magnet link
Some people prefer these over torrent files, as they're easier to pass than the torrent files themselves. On updates, this only needs the new info hash. The tracker bits are optional, but ensure that the torrent client gets peers more quickly to receive the actual torrent file. --- templates/public/download.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/public/download.html b/templates/public/download.html index ba4c328..f5a7c24 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -7,7 +7,7 @@ {% block navbarclass %}anb-download{% endblock %} {% block content %} -{% with version="2012.10.06" kernel_version="3.5.5" %} +{% with version="2012.10.06" kernel_version="3.5.5" torrent_infohash="b4865374f39a2b34f4c9517ec4b532f65094a28d" %} <div id="arch-downloads" class="box"> <h2>Arch Linux Downloads</h2> @@ -46,7 +46,8 @@ <em>A web-seed capable client is recommended for fastest download speeds.</em></p> <ul> <li><a href="https://www.archlinux.org/iso/{{version}}/archlinux-{{version}}-dual.iso.torrent" - title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a></li> + title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a> + (<a href="magnet:?xt=urn:btih:{{torrent_infohash}}&dn=archlinux-2012.10.06-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce">Magnet</a>)</li> </ul> <h3>Netboot</h3> -- 1.8.0
On Wed, Oct 31, 2012 at 5:22 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Some people prefer these over torrent files, as they're easier to pass than the torrent files themselves. On updates, this only needs the new info hash.
The tracker bits are optional, but ensure that the torrent client gets peers more quickly to receive the actual torrent file. --- templates/public/download.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/templates/public/download.html b/templates/public/download.html index ba4c328..f5a7c24 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -7,7 +7,7 @@ {% block navbarclass %}anb-download{% endblock %}
{% block content %} -{% with version="2012.10.06" kernel_version="3.5.5" %} +{% with version="2012.10.06" kernel_version="3.5.5" torrent_infohash="b4865374f39a2b34f4c9517ec4b532f65094a28d" %} <div id="arch-downloads" class="box">
<h2>Arch Linux Downloads</h2> @@ -46,7 +46,8 @@ <em>A web-seed capable client is recommended for fastest download speeds.</em></p> <ul> <li><a href="https://www.archlinux.org/iso/{{version}}/archlinux-{{version}}-dual.iso.torrent" - title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a></li> + title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a> + (<a href="magnet:?xt=urn:btih:{{torrent_infohash}}&dn=archlinux-2012.10.06-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce">Magnet</a>)</li> We should use {{version}} in here too, right? Instead of the hardcoded "2012.10.06" string. Otherwise looks good.
</ul>
<h3>Netboot</h3> -- 1.8.0
Am 31.10.2012 14:10, schrieb Dan McGee:
On Wed, Oct 31, 2012 at 5:22 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Some people prefer these over torrent files, as they're easier to pass than the torrent files themselves. On updates, this only needs the new info hash.
-{% with version="2012.10.06" kernel_version="3.5.5" %} +{% with version="2012.10.06" kernel_version="3.5.5" torrent_infohash="b4865374f39a2b34f4c9517ec4b532f65094a28d" %} <div id="arch-downloads" class="box">
<h2>Arch Linux Downloads</h2> @@ -46,7 +46,8 @@ <em>A web-seed capable client is recommended for fastest download speeds.</em></p> <ul> <li><a href="https://www.archlinux.org/iso/{{version}}/archlinux-{{version}}-dual.iso.torrent" - title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a></li> + title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a> + (<a href="magnet:?xt=urn:btih:{{torrent_infohash}}&dn=archlinux-2012.10.06-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce">Magnet</a>)</li> We should use {{version}} in here too, right? Instead of the hardcoded "2012.10.06" string. Otherwise looks good.
Yes, I saw that too late, when I wasn't at the computer anymore. This string is not really important: Without it, the torrent client will not know the filename directly after importing the magnet, but only after retrieving the actual .torrent file from the cloud - of course, it would be better if the string was correct.
Some people prefer these over torrent files, as they're easier to pass than the torrent files themselves. On updates, this only needs the new info hash. The tracker bits are optional, but ensure that the torrent client gets peers more quickly to receive the actual torrent file. --- templates/public/download.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/public/download.html b/templates/public/download.html index ba4c328..14e77b6 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -7,7 +7,7 @@ {% block navbarclass %}anb-download{% endblock %} {% block content %} -{% with version="2012.10.06" kernel_version="3.5.5" %} +{% with version="2012.10.06" kernel_version="3.5.5" torrent_infohash="b4865374f39a2b34f4c9517ec4b532f65094a28d" %} <div id="arch-downloads" class="box"> <h2>Arch Linux Downloads</h2> @@ -46,7 +46,8 @@ <em>A web-seed capable client is recommended for fastest download speeds.</em></p> <ul> <li><a href="https://www.archlinux.org/iso/{{version}}/archlinux-{{version}}-dual.iso.torrent" - title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a></li> + title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a> + (<a href="magnet:?xt=urn:btih:{{torrent_infohash}}&dn=archlinux-{{version}}-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce">Magnet</a>)</li> </ul> <h3>Netboot</h3> -- 1.8.0
On 31 Oct 2012 14:10, "Thomas Bächler" <thomas@archlinux.org> wrote:
Some people prefer these over torrent files, as they're easier to […]
<h3>Netboot</h3> -- 1.8.0
Wasn't there an email yesterday for changing tracker URL?
Am 31.10.2012 15:31, schrieb Leonidas Spyropoulos:
On 31 Oct 2012 14:10, "Thomas Bächler" <thomas@archlinux.org <mailto:thomas@archlinux.org>> wrote:
Some people prefer these over torrent files, as they're easier to […]
<h3>Netboot</h3> -- 1.8.0
Wasn't there an email yesterday for changing tracker URL?
The tracker moved, but the URL is the same.
participants (3)
-
Dan McGee
-
Leonidas Spyropoulos
-
Thomas Bächler