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

unblock issues caused by bad validation #85

Merged
merged 2 commits into from
Oct 25, 2020
Merged

Conversation

preslavmihaylov
Copy link
Owner

@preslavmihaylov preslavmihaylov commented Oct 25, 2020

Part 1 for #78

  • Acquire the auth token before the validation begins to avoid displaying the github warning every time
  • Remove the issue tracker exists validation as it always fails for private github repositories

The fix I've made here addresses the issue with the warning always present and partially, the one with always failing validation for private github repositories.

What's left is to also include the authentication middleware in calls to fetcher.IsHealthy

I will do that after finishing the refactorings started in #81.
For the time being, I've removed that validation to unblock master from not working with private github repositories.

@preslavmihaylov preslavmihaylov requested a review from mehdy October 25, 2020 05:37
Copy link
Collaborator

@mehdy mehdy left a comment

Choose a reason for hiding this comment

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

It's good to go!

@mehdy mehdy merged commit b9b3e43 into master Oct 25, 2020
@preslavmihaylov preslavmihaylov deleted the fix-validation-bugs branch October 26, 2020 04:14
zen37 pushed a commit to zen37/todocheck that referenced this pull request Oct 28, 2020
preslavmihaylov pushed a commit that referenced this pull request Oct 29, 2020
* re-fixes issue #71 broken by PR #85

* re-fixes issue #71, removes validation of auth type from validation.go

Co-authored-by: zen <zen@zen>
Co-authored-by: Preslav Mihaylov <preslav@uber.com>
preslavmihaylov pushed a commit that referenced this pull request Oct 31, 2020
* unblock issues caused by bad validation

* remove commented out code
preslavmihaylov pushed a commit that referenced this pull request Oct 31, 2020
* re-fixes issue #71 broken by PR #85

* re-fixes issue #71, removes validation of auth type from validation.go

Co-authored-by: zen <zen@zen>
Co-authored-by: Preslav Mihaylov <preslav@uber.com>
mehdy pushed a commit that referenced this pull request Nov 1, 2020
… code into separate components (#81)

* refactored issue tracker component, applying dependency inversion

* fix failing build for tests

* renamed all occurrencces of redmine to pivotaltracker in the pivotaltracker component

* fix issue #71 (#84)

Co-authored-by: zen <zen@zen>

* unblock issues caused by bad validation (#85)

* unblock issues caused by bad validation

* remove commented out code

* Enable annotating issues with hashtag (#86)

* Enable annotating github issues with hashtag

* add test

* revert ParseGithubDetails to parseGithubDetails

* revert README and auto_detect_config's change

* Add test for hashtag todos with github

* Add ExpectJSONOutput (#77)

* Add ExpectJSONOutput

* rename ExpectJsonOutput to WithJSONOutput, divide validateTodoErrs into two funcs

* modify the way to compare json todo errs and scenarios

* Add TestAnnotatedTodosWithJSONOutput

Co-authored-by: Preslav Mihaylov <preslav@uber.com>

* re-fixes issue #71 broken by PR #85 (#87)

* re-fixes issue #71 broken by PR #85

* re-fixes issue #71, removes validation of auth type from validation.go

Co-authored-by: zen <zen@zen>
Co-authored-by: Preslav Mihaylov <preslav@uber.com>

* refactored issue tracker component, applying dependency inversion

Co-authored-by: zen37 <mobi2009ro@gmail.com>
Co-authored-by: zen <zen@zen>
Co-authored-by: liao <liao_shizhen@yahoo.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants