Skip to content

Commit 9bd83d9

Browse files
committed
drop transmission for py3createtorrent
1 parent b6f87e6 commit 9bd83d9

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/create.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- name: Install dependencies
1212
run: |
13-
sudo apt-get update
14-
sudo apt-get install -y gpg build-essential automake autoconf libtool pkg-config intltool libcurl4-openssl-dev libglib2.0-dev libevent-dev libminiupnpc-dev libgtk-3-dev libappindicator3-dev libssl-dev
15-
- name: compile transmision
16-
run: |
17-
git clone --recursive https://github.com/transmission/transmission.git
18-
cd transmission
19-
git checkout 4.0.6
20-
mkdir build && cd build
21-
cmake -DCMAKE_BUILD_TYPE=Release ..
22-
cmake --build .
23-
cmake --install .
24-
- name: Build torrent
25-
run: ./create_monero_torrent.sh
13+
pip3 install py3createtorrent
14+
- name: download files and create torrent
15+
run: ./create_monero_torrent.sh

create_monero_torrent.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ grep 'monero-' hashes.txt | sha256sum -c || {
4545

4646
cd ../..
4747

48-
transmission-create -s "$PIECE_SIZE" -o "$TORRENT_DIR/$torrent.torrent" --anonymize "$OUTPUT_DIR/$torrent"
48+
#transmission-create -s "$PIECE_SIZE" -o "$TORRENT_DIR/$torrent.torrent" --anonymize "$OUTPUT_DIR/$torrent"
4949
# prints the magnet link
50-
transmission-show -m "$TORRENT_DIR/$torrent.torrent"
50+
#transmission-show -m "$TORRENT_DIR/$torrent.torrent"
5151

52-
transmission-show "$TORRENT_DIR/$torrent.torrent"
52+
#transmission-show "$TORRENT_DIR/$torrent.torrent"
53+
54+
py3createtorrent -p 512 -o watch/ -c "Multi file torrent for the Monero project" -v $OUTPUT_DIR/$torrent

0 commit comments

Comments
 (0)