theforeman/foreman-infra — pull request #21 by GregSutcliffe (2013-03-08 11:32:36+00:00)
Title: Parse the incoming rsync path

This will extract the Distro and Component from the incoming path
so that the freight commands can be told which repo to update

It's a trivial change, but as it concerns access to the web node, I thought I should PR it :)

I've tested it locally, seems to work correctly.