engineyard / engineyard/engineyard-serverside

Latest release path calculation should only consider release-shaped locations

Open
#158 0 comments 0 reactions 1 assignee Claimed by @ess View on GitHub
backlog bug
Dominant language
Ruby
Stars
62
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Currently, the `latest_release` path is, effectively, just `Dir["/data/appname/releases/*"].last`

As we've seen recently, this totally breaks if a non-release item is inadvertently created in the releases directory.

At the least, we should filter for things that match a "probably release directory" regex or something.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.