Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixes #52 - validate task fails when repo does not exist #53

Merged
merged 1 commit into from
Jul 5, 2020

Conversation

logicminds
Copy link
Contributor

@logicminds logicminds commented Jul 3, 2020

  • previously if a git url did not exist or the user
    did not have permission the validate task would crash.

    This fixes that by handling bad urls and displaying an overall
    failure for the git url.

I ended up refactoring, by creating a new class called git_repo. This allowed me to test everything that was just git related. This new class might allow others to integrate with additional tasks too.

I also added ruby 2.6 support to the matrix.

@logicminds logicminds requested review from ananace and bastelfreak July 3, 2020 02:15
@logicminds
Copy link
Contributor Author

I also added ability to run coverage reports.

Screen Shot 2020-07-03 at 10 10 41 AM

@logicminds logicminds requested a review from ananace July 3, 2020 17:23
@logicminds logicminds force-pushed the bad_url branch 2 times, most recently from a0c0740 to b8cef26 Compare July 3, 2020 17:55
Copy link
Member

@ananace ananace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little bit of final nitpicking.
I personally would've liked the coverage in a separate PR, but then I'm probably a bit too picky on things like that, so it's probably not worth bothering with here.

  * previously if a git url did not exist or the user
    did not have permission the validate task would crash.

    This fixes that by handling bad urls and displaying an overall
    failure for the git url.
@logicminds
Copy link
Contributor Author

I took out the coverage stuff and will craft a new PR

@logicminds logicminds requested a review from ananace July 4, 2020 18:16
Copy link
Member

@ananace ananace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I'm all out of nits to pick, so LGTM

@bastelfreak
Copy link
Member

thanks for the PR!

@bastelfreak bastelfreak merged commit a2f153a into voxpupuli:master Jul 5, 2020
@logicminds logicminds deleted the bad_url branch July 6, 2020 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants