Skip to content

Conversation

@yungwine
Copy link
Collaborator

No description provided.

@yungwine yungwine requested a review from Copilot June 23, 2025 00:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR redirects block downloads from the default temp directory to /var/ton-work/ts-downloads/ and makes the path configurable across download functions.

  • Added downloads_path parameter to download_blocks, download_master_blocks, and download_bag
  • Initialized /var/ton-work/ts-downloads/ directory with appropriate permissions in download_archive_from_ts
  • Updated file move and cleanup commands to use the new download path
Comments suppressed due to low confidence (1)

mytoninstaller/settings.py:137

  • [nitpick] The new downloads_path parameter should be documented in the function docstring to clarify its purpose and expected format.
def download_bag(local, bag_id: str, downloads_path: str, download_all: bool = True, download_file: typing.Callable = None):

@yungwine yungwine merged commit 5934918 into ton-blockchain:dev Jun 23, 2025
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.

1 participant