Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update & Fix torrent creation #2728

Merged
merged 4 commits into from
Feb 27, 2025

Conversation

celeroncool
Copy link
Contributor

@celeroncool celeroncool commented Feb 25, 2025

Hello!

I saw that the torrent creation script wanted some love :)

Modifications:

Open questions:

  • At its current stage, the script has no idea if the source files have been updated -> torrent will eventually be out of date.
  • Would it be at all possible to have a SHA256 stamp available for download from your server, so we can first hash the local file, compare against your file and download new version?
  • Naming the file always NextcloudVM.zip causes other issue, with the torrent naming & distribution. As the torrent file is created, there is no way to update the file later. Would it be better to name the torrent to include what version of Nextcloud VM it is and also what platform it is?

Related Issue

#1819

PS: I will seed this file for the foreseeable future :)

…andwidth.

Refine curl file to download straight to correct directory.
Add script to fix transmission default systemd file per transmission/transmission#6991

Signed-off-by: Sami Nieminen <[email protected]>
Fix torrent creation missing the source file.

Signed-off-by: Sami Nieminen <[email protected]>
@celeroncool celeroncool marked this pull request as draft February 26, 2025 06:27
@celeroncool
Copy link
Contributor Author

I changed this to a draft so I can also finalize updating the trackers.txt file, as it has multiple offline trackers.
Would it be OK to use: https://github.com/ngosang/trackerslist/blob/master/trackers_best.txt

@celeroncool
Copy link
Contributor Author

celeroncool commented Feb 26, 2025

I updated the tracker list & tested working with new tracker list:
image

I can't attach the torrent file here, so here is a link from my own nextcloud instance: https://nextcloud.nenimein.fi/s/j6ytj6BPqWzaPnf/download

@celeroncool celeroncool marked this pull request as ready for review February 26, 2025 17:39
@enoch85
Copy link
Member

enoch85 commented Feb 27, 2025

Thanks a lot @celeroncool! I will merge this either way. We can work on improvments if needed in another PR. :)

@enoch85 enoch85 merged commit 5885443 into nextcloud:main Feb 27, 2025
3 checks passed
@celeroncool celeroncool deleted the update-torrent-creation branch February 27, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants