Skip to content

Add filelock for git operations#28

Open
therazix wants to merge 1 commit into
fvagner-update-tmt-versionfrom
fvagner-filelock
Open

Add filelock for git operations#28
therazix wants to merge 1 commit into
fvagner-update-tmt-versionfrom
fvagner-filelock

Conversation

@therazix
Copy link
Copy Markdown
Contributor

This PR wraps all git operations in get_git_repository with a per-repository FileLock to prevent concurrent tasks from potentially corrupting a shared local clone. Also, if fetching from the remote fails, the repository is automatically wiped and re-cloned to ensure a clean state.

@therazix therazix requested review from janhavlin and psss May 13, 2026 15:20
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