7075222b4b33e3f8bfe49e9437ba826b537db949
Summary: Paths in owners packages when referring to a directory should always end with a trailing slash. (Otherwise, some things break, like loading the owning packages for a path.) With this change, PhabricatorOwnersPackage now requires that the path provided for a package is valid, and if the path is for a directory, it adds a trailing slash if one was not provided. Test Plan: Edited a path in a package and left off the trailing slash. Saw that the slash was added. Tried again with the trailing slash, and checked that another slash was not added. Did this with a path in both a git and svn repository. Reviewers: epriestley, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1251
Phabricator is a open source collection of web applications which make it easier to write, review, and share source code. Phabricator was developed at Facebook. This is an early release. It's pretty high-quality and usable, but under active development so things may change quickly. You can learn more about the project and find links to documentation and resources at: http://phabricator.org/ LICENSE Phabricator is released under the Apache 2.0 license except as otherwise noted. http://www.apache.org/licenses/LICENSE-2.0
Description
Languages
PHP
93.4%
JavaScript
4.1%
CSS
2.4%