Skip to content

Conversation

@Br3nda
Copy link
Member

@Br3nda Br3nda commented Feb 7, 2019

Fixes all the travis-ci fails for dependabot PRs.

@Br3nda Br3nda force-pushed the contributors-bots branch 3 times, most recently from e8c57fc to e7d9ca8 Compare February 7, 2019 20:50
Copy link

@milesgould milesgould left a comment

Choose a reason for hiding this comment

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

This fixes our immediate problem, but there are some things I don't like about it:

  • verifying that you've put the correct number of backslashes takes some thought;
  • we'll have the same problem if a contributor has any other regex metacharacter in their username.

One possibility is to shell out to fgrep rather than grep, or to pass grep the -F (match fixed strings) option. Or we could read the file into Ruby and search it ourselves, which would IMHO be a bit cleaner (and yes, I wrote the original code, and I'm not proud).

@Br3nda
Copy link
Member Author

Br3nda commented Feb 8, 2019

Good idea. I've changed it to read in Ruby.

@Br3nda Br3nda force-pushed the contributors-bots branch 3 times, most recently from 6480dbe to 70f5fa9 Compare February 8, 2019 19:57
@Br3nda Br3nda force-pushed the contributors-bots branch from 70f5fa9 to bffbd94 Compare February 8, 2019 20:03
@pozorvlak pozorvlak merged commit 378dd52 into Growstuff:dev Feb 11, 2019
@Br3nda Br3nda deleted the contributors-bots branch February 11, 2019 10:49
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.

3 participants