refs #2290: Removes -l parameter in mktorrent

refs #2294: Updates dependency with mktorrent
update_torrent_repos
Nicolas Arenas 2025-06-24 05:20:39 +00:00
parent dd60800c97
commit a3b938e41e
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ def create_torrent(file_path, torrent_file, datafullsum):
tracker_url = f"http://{repo_ip}:6969/announce" tracker_url = f"http://{repo_ip}:6969/announce"
# Creamos una litas para ejecutar el comando mktorrent para crear el archivo torrent # Creamos una litas para ejecutar el comando mktorrent para crear el archivo torrent
splitted_cmd = f"nice -n 0 mktorrent -a {tracker_url} -c {datafullsum} -o {torrent_file} -l 4194304 {file_path}".split() splitted_cmd = f"nice -n 0 mktorrent -a {tracker_url} -c {datafullsum} -o {torrent_file} {file_path}".split()
print(f"Sending command: {' '.join(splitted_cmd)}") print(f"Sending command: {' '.join(splitted_cmd)}")
# Ejecutamos el comando en el sistema, e imprimimos el resultado: # Ejecutamos el comando en el sistema, e imprimimos el resultado:

2
debian/control vendored
View File

@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 12)
Package: ogrepository Package: ogrepository
Architecture: all Architecture: all
Pre-Depends: debian-archive-keyring , debconf (>= 1.5.0), Pre-Depends: debian-archive-keyring , debconf (>= 1.5.0),
Depends: ${misc:Depends}, git, python3, python3-pip, python3-flask, python3-paramiko, python3-psutil, python3-flasgger, samba, gunicorn, wakeonlan , lzop , partclone , qemu-utils , udpcast, uftp, ctorrent, bittornado Depends: ${misc:Depends}, git, python3, python3-pip, python3-flask, python3-paramiko, python3-psutil, python3-flasgger, samba, gunicorn, wakeonlan , lzop , partclone , qemu-utils , udpcast, uftp, ctorrent, bittornado, mktorrent
Description: Ogrepsoitory Package Description: Ogrepsoitory Package
This package provides Ogrepository service. This package provides Ogrepository service.