Skip to content
Snippets Groups Projects
Commit 00a51b36 authored by Georges Racinet's avatar Georges Racinet
Browse files

RemoveRepository: make repo name in trash unique

In case a project id is reused (Heptapod application context, since the
repo path is derived from the project id) or a repository path is reused
(e.g. in RSpec tests), it is possible that a previous failed cleanup
(crash or brutal stop before the final trashed repo `rmtree) would
get in the way of the removal.

Unlikely, but easy to prevent by making the name in trash unique (time-based,
random would also have been good).
parent 10d6717c
3 merge requests!204Making Heptapod 0.40 the new oldstable,!203Merge stable branch into default,!202RemoveRepository: robustness improvements
Pipeline #73422 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment