Project

General

Profile

action #61350

find external BT seeders

Added by lnussel 11 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
2020-06-30
Due date:
2020-07-02
% Done:

0%

Estimated time:

Description

For future reference: .torrent files are added into pontifex:/var/lib/hefurd and the service needs a restart.

.torrent files can be pulled from mirrorbrain / via the download.o.o iso metalink page

ask for volunteers to seed

The below is old/outdated:
put torrent in separate directories

Torrents are created using /work/cd/bin/torrent-wrapper.pl

This requires make_torrent and dump_torrent from git/libtorrent/examples
To build: zypper in boost-devel libtorrent-rasterbar-devel libtorrent-devel


Related issues

Copied from openSUSE Leap 15.1 - action #47600: find external BT seedersClosed2019-05-172019-05-22

History

#1 Updated by lnussel 11 months ago

#2 Updated by lkocman 4 months ago

  • Due date changed from 2020-05-13 to 2020-07-02
  • Assignee set to lkocman
  • Start date changed from 2020-05-08 to 2020-06-30

#3 Updated by lkocman 4 months ago

sh-4.4$ sudo ls /var/lib/hefur
[sudo] password for lkocman:
openSUSE-Leap-15.0-DVD-x86_64.iso.torrent openSUSE-Leap-15.0-Rescue-CD-x86_64-Current.iso.torrent openSUSE-Leap-15.1-NET-x86_64.iso.torrent
openSUSE-Leap-15.0-GNOME-Live-x86_64-Current.iso.torrent openSUSE-Leap-15.1-DVD-x86_64.iso.torrent openSUSE-Leap-15.1-Rescue-CD-x86_64-Current.iso.torrent
openSUSE-Leap-15.0-KDE-Live-x86_64-Current.iso.torrent openSUSE-Leap-15.1-GNOME-Live-x86_64-Current.iso.torrent openSUSE-Leap-42.2-DVD-x86_64.iso.torrent
openSUSE-Leap-15.0-NET-x86_64.iso.torrent openSUSE-Leap-15.1-KDE-Live-x86_64-Current.iso.torrent openSUSE-Leap-42.3-DVD-x86_64.iso.torrent

#4 Updated by lkocman 4 months ago

I just created these two with transmission to give it a shot

lkocman@pontifex2:/home/lkocman> ls
bin openSUSE-Leap-15.2-DVD-x86_64.iso.torrent openSUSE-Leap-15.2-NET-x86_64.iso.torrent

sh-4.4# cd /var/log/hefur
sh-4.4# tail 2020-07-01T15:59:14.log
2020-07-01 15:59:14.0310 hefur: error: /var/lib/hefur/openSUSE-Leap-15.2-DVD-x86_64.iso.torrent: parse error
2020-07-01 15:59:14.0310 hefur: error: /var/lib/hefur/openSUSE-Leap-15.2-NET-x86_64.iso.torrent: parse error

This didn't work out very well

#5 Updated by lkocman 4 months ago

Ah permission issue, thanks google!

sh-4.4# ls -la /var/lib/hefur/
total 976
drwxr-x--- 2 hefur hefur 4096 Jul 1 15:56 .
drwxr-xr-x 43 root root 4096 Sep 10 2019 ..
-rw-r--r-- 1 root root 37626 May 26 2018 openSUSE-Leap-15.0-DVD-x86_64.iso.torrent
-rw-r--r-- 1 root root 77875 Jun 6 2019 openSUSE-Leap-15.0-GNOME-Live-x86_64-Current.iso.torrent
-rw-r--r-- 1 root root 73679 Jun 6 2019 openSUSE-Leap-15.0-KDE-Live-x86_64-Current.iso.torrent
-rw-r--r-- 1 root root 12972 Jun 6 2019 openSUSE-Leap-15.0-NET-x86_64.iso.torrent
-rw-r--r-- 1 root root 54257 Jun 6 2019 openSUSE-Leap-15.0-Rescue-CD-x86_64-Current.iso.torrent
-rw-r--r-- 1 root root 312349 Jun 4 2019 openSUSE-Leap-15.1-DVD-x86_64.iso.torrent
-rw-r--r-- 1 root root 75679 Jun 6 2019 openSUSE-Leap-15.1-GNOME-Live-x86_64-Current.iso.torrent
-rw-r--r-- 1 root root 74523 Jun 6 2019 openSUSE-Leap-15.1-KDE-Live-x86_64-Current.iso.torrent
-rw-r--r-- 1 root root 12849 Jun 6 2019 openSUSE-Leap-15.1-NET-x86_64.iso.torrent
-rw-r--r-- 1 root root 52861 Jun 6 2019 openSUSE-Leap-15.1-Rescue-CD-x86_64-Current.iso.torrent
-rw------- 1 root root 41158 Jul 1 15:54 openSUSE-Leap-15.2-DVD-x86_64.iso.torrent
-rw------- 1 root root 44415 Jul 1 15:54 openSUSE-Leap-15.2-NET-x86_64.iso.torrent
-rw-r--r-- 1 root root 42138 Dec 7 2017 openSUSE-Leap-42.2-DVD-x86_64.iso.torrent
-rw-r--r-- 1 root root 44578 Dec 7 2017 openSUSE-Leap-42.3-DVD-x86_64.iso.torrent

sh-4.4# sudo chmod 644 /var/lib/hefur/{openSUSE-Leap-15.2-DVD-x86_64.iso.torrent,openSUSE-Leap-15.2-NET-x86_64.iso.torrent}
sh-4.4#

#6 Updated by lkocman 4 months ago

  • Status changed from New to Resolved

We have 3 seeders already http://tracker.opensuse.org:6969/stat (Me and Bernhard)

I did it with transmission with setting http://tracker.opensuse.org:6969/stat/announce as a tracker
then hefurctl -add-torrent path/to/torrent followed by cp torrents to /var/lib/hefur and chmod 644 as for some reason transmission created them with 600.

I also gave heads up to Nathan who wanted to be an early seeder in US

#7 Updated by bmwiedemann 4 months ago

I did (what a cron job might do already)
p=distribution/leap/15.2
mb makehashes -f '.*.(torrent|iso)$' -t /srv/metalink-hashes/srv/ftp/pub/opensuse -b /srv/ftp/pub/opensuse /srv/ftp/pub/opensuse/$p

cd /var/lib/hefur
wget http://download.opensuse.org/distribution/leap/15.2/iso/openSUSE-Leap-15.2-{DVD,NET}-x86_64.iso.torrent

Also available in: Atom PDF