[arch-projects] [archweb] [RFC] download.html: Provide a magnet link

Thomas Bächler thomas at archlinux.org
Wed Oct 31 10:08:10 EDT 2012


Am 31.10.2012 14:10, schrieb Dan McGee:
> On Wed, Oct 31, 2012 at 5:22 AM, Thomas Bächler <thomas at 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20121031/83feaa4d/attachment.asc>


More information about the arch-projects mailing list