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

#205 Wrong downloaded torrent file name #246

Merged

Conversation

mario-nt
Copy link
Contributor

Fixes #205

@mario-nt
Copy link
Contributor Author

torrust/torrust-index-types-lib Needs to be updated, and package.json has to reflect that change before submitting the PR for review.

@@ -43,4 +43,4 @@
"torrust-index-types-lib": "^0.2.0",
"uuid": "^9.0.0"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to edit this file (removing the trailing newline)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with new commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mario-nt, in general, I prefer to rewrite the PR commits instead of revert changes if they are not merged yet. Just to have the history as clean and straightforward as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @josecelano, I thought about that too and wasn't sure about wich approach to take. I will go and modify the commits as I think too, it creates a clearer commit history.

@mario-nt mario-nt force-pushed the 205-wrong-downloaded-torrent-file-name branch from c67842c to 8788eee Compare September 4, 2023 17:56
…e name

Now, when the user downloads a torrent file, that file is named after the torrent name
instead of the torrent title.

The parameter torrent.title was replaced by torrent.name in every call to the function
that handles the download of the torrent file.
@mario-nt mario-nt force-pushed the 205-wrong-downloaded-torrent-file-name branch from 8788eee to 5281ceb Compare September 14, 2023 22:53
…the name

Updated packages so now they contain the name of the torrent in the
responses from the API calls and the typescript types.
@mario-nt mario-nt marked this pull request as ready for review September 15, 2023 13:55
@mario-nt
Copy link
Contributor Author

Rebase and tests OK @josecelano, Dependencies updated too.

@josecelano
Copy link
Member

Rebase and tests OK @josecelano, Dependencies updated too.

Cool! Thank you!

@josecelano
Copy link
Member

ACK c097875

@josecelano josecelano merged commit 14e36c3 into torrust:develop Sep 15, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

The downloaded torrent filename is the torrent title instead of the original torrent file name
3 participants