Latest release path calculation should only consider release-shaped locations

Open
#158 0 comments 0 reactions 1 assignee View on GitHub

@ess is already working on this.

Since Sep 13, 2018.

Assessment

This issue has not been assessed yet.

Description

backlog bug

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.

Dominant language
Ruby
Stars
62
Forks
31
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from engineyard/engineyard-serverside

All issues in engineyard/engineyard-serverside

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.