Merge pull request 'fix_checked_file' (#42) from fix_checked_file into main
ogrepository/pipeline/head This commit looks good
Details
ogrepository/pipeline/head This commit looks good
Details
Reviewed-on: #42pull/44/head
commit
f6617aee77
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -1,13 +1,21 @@
|
|||
# Changelog
|
||||
|
||||
## [0.10.1] - 2025-08-25
|
||||
|
||||
### Fixed
|
||||
|
||||
- Import images problems when there is not info.checked file (#2723, #2726)
|
||||
- Improves logging (#2727)
|
||||
|
||||
## [0.10.0] - 2025-07-07
|
||||
|
||||
### Added
|
||||
|
||||
- OgGit functionality (#2371, #2363, #2363, #2317)
|
||||
- OgGit functionality (#2371, #2363, #2363, #2317)
|
||||
|
||||
### Removed
|
||||
- Removed unused BitTorrent-related packages and logic
|
||||
|
||||
- Removed unused BitTorrent-related packages and logic
|
||||
|
||||
## [0.9.0] - 2025-06-25
|
||||
|
||||
|
|
306
api/repo_api.py
306
api/repo_api.py
File diff suppressed because it is too large
Load Diff
|
@ -184,11 +184,16 @@ def main():
|
|||
# Obtenemos la ruta completa de la imagen:
|
||||
file_path = build_file_path()
|
||||
|
||||
# Si no existe el archivo de imagen, imprimimos un mensaje de error y salimos del script:
|
||||
if not os.path.exists(file_path):
|
||||
journal.send("createTorrentSum.py: Image not found", PRIORITY=journal.LOG_ERR, SYSLOG_IDENTIFIER="ogrepo-api_DEBUG")
|
||||
print("Image file doesn't exist")
|
||||
# Si no existe el archivo de imagen o el .info, imprimimos un mensaje de error y salimos del script:
|
||||
if not os.path.exists(file_path) or not os.path.exists(f"{file_path}.info.checked"):
|
||||
if not os.path.exists(file_path):
|
||||
journal.send(f"createTorrentSum.py: Image file '{file_path}' not found", PRIORITY=journal.LOG_ERR, SYSLOG_IDENTIFIER="ogrepo-api_DEBUG")
|
||||
print(f"Image file '{file_path}' doesn't exist")
|
||||
if not os.path.exists(f"{file_path}.info.checked"):
|
||||
journal.send(f"createTorrentSum.py: Info file '{file_path}.info.checked' not found", PRIORITY=journal.LOG_ERR, SYSLOG_IDENTIFIER="ogrepo-api_DEBUG")
|
||||
print(f"Info file '{file_path}.info.checked' doesn't exist")
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
# Si la imagen está bloqueada, imprimimos un mensaje de error y salimos del script:
|
||||
if os.path.exists(f"{file_path}.lock"):
|
||||
|
|
Loading…
Reference in New Issue