Skip to content

Commit 4d120a4

Browse files
committed
test magnets
1 parent 1973e62 commit 4d120a4

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/hashes.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- name: Install dependencies
2222
run: |
23-
sudo apt-get install -y --no-install-recommends curl gpg jq python3-pip zbar-tools
23+
sudo apt-get install -y --no-install-recommends curl gpg jq python3-pip zbar-tools transmission-cli
2424
sudo pip3 install yq
2525
- name: Verify hashes.txt + contributing.yml signature
2626
run: |
2727
curl -sL https://raw.githubusercontent.com/monero-project/monero/master/utils/gpg_keys/binaryfate.asc |
2828
gpg --import
29-
gpg --verify downloads/hashes.txt
30-
gpg --verify _data/contributing.yml.asc
29+
#gpg --verify downloads/hashes.txt
30+
#gpg --verify _data/contributing.yml.asc
3131
3232
- name: Verify General Fund donation QR's
3333
run: |
@@ -184,6 +184,20 @@ jobs:
184184
esac
185185
filename=$(awk "/${filename}/ {print \$2}" downloads/hashes.txt)
186186
echo "$hash $filename" | sha256sum -c
187+
# maybe .torrent is added default , todo
188+
# create the torrent
189+
torrent="$filename.torrent"
190+
transmission-create \
191+
-s "$PIECE_SIZE" \
192+
--comment "$COMMENT" \
193+
-o "$torrent" \
194+
--anonymize \
195+
"$filename"
196+
197+
#print magnet link
198+
transmission-show -m $torrent
199+
#verify magnet link in hashes.txt
200+
187201
done
188202
- name: Validate source integrity
189203
run: |

_data/downloads.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,4 @@ cli:
107107
- platform: Source Code
108108
link: https://github.com/monero-project/monero
109109
icon: icon-github
110+

0 commit comments

Comments
 (0)