Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Discover repository directory inside subdirectories #157

Merged
merged 1 commit into from
Jun 14, 2016

Conversation

ibrahima
Copy link
Contributor

@ibrahima ibrahima commented Jun 1, 2016

Uses Rugged::Repository#discover to discover the location of the git
repository if the current working directory is a subdirectory of the git
repository. Working directory is changed to the root of the repository
so that runners pick up the appropriate configuration files.

This allows running pronto within subdirectories of a git repository.

Uses Rugged::Repository#discover to discover the location of the git
repository if the current working directory is a subdirectory of the git
repository. Working directory is changed to the root of the repository
so that runners pick up the appropriate configuration files.
@doomspork
Copy link
Member

@ibrahima how is the configurations handled for this? I've got a project with subdirectories and I've had to duplicate Pronto configuration between some of the directories in order to get things working.

@ibrahima
Copy link
Contributor Author

Right, the point of this PR is to detect the repository root so that as long as your configuration files are in the root it'll always pick them up.

@doomspork
Copy link
Member

Woohoo! @ibrahima, that's awesome. 👍

@mmozuras mmozuras merged commit 3472e11 into prontolabs:master Jun 14, 2016
@mmozuras
Copy link
Member

@ibrahima awesome! 👏

@ibrahima
Copy link
Contributor Author

Thanks!

@ibrahima ibrahima deleted the discover-repo-dir branch June 14, 2016 18:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants