Skip to content

Protect against entry files sharing directories #3

@ThomasBrierley

Description

@ThomasBrierley

Peg revisions and deploys trees, but uses individual files as entry points to identify trees. This can cause a problem if multiple entry points are found within a single directory because only one file can be listed in the tree's index for one revision (multiple entry points in one directory are therefore illegal).

In this scenario peg currently attempts to treat each entry as an independent tree, this fails when attempting to create duplicate deploy tags and does not revert the broken tags.

Peg should detect and warn users when multiple illegal entry points within a single directory are detected and disallow deployments on offending trees until they are fixed.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions