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

Improve the PR tester script a bit #1240

Merged
merged 2 commits into from Jun 20, 2017
Merged

Conversation

astorije
Copy link
Member

I know it's probably not the cleanest / most error-proof solution, but it does the job in most cases. What I wanted to add most obviously is the git rebase master part, to make sure what we are testing with these PRs is as up-to-date with master as possible.

Of course, if your master is not up-to-date itself, there will be troubles, but devs' masters should always be up-to-date... right? 😉

Anyway, I'm using this myself a lot to test PRs when reviewing, so I'd surely appreciate those!

@astorije astorije added the Type: Feature Tickets that describe a desired feature or PRs that add them to the project. label Jun 20, 2017
@astorije astorije added this to the 2.3.2 milestone Jun 20, 2017
Copy link
Member

@AlMcKinlay AlMcKinlay left a comment

Choose a reason for hiding this comment

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

I feel like making it rebase on master would probably be better being an option, but I doubt many people other than you use this script @astorije, so go for it.

Just a think to remember that if the rebase fails, the script will continue to run the other commands. Probably not much of an issue.

@astorije
Copy link
Member Author

but I doubt many people other than you use this script @astorije, so go for it.

Yeah, and I'd be totally willing to improve that script if other reviewers find this useful (how can you review without it, I literally use it multiple times a week 😅), I'd be totally happy to make it more resilient.

Just a think to remember that if the rebase fails, the script will continue to run the other commands.

Actually, it would stop thanks to the set -e at the top, which is exactly why I'm not too concerned about having it fail.

@astorije astorije merged commit 5cbf847 into master Jun 20, 2017
@astorije astorije deleted the astorije/better-run_pr-script branch June 20, 2017 06:21
@AlMcKinlay
Copy link
Member

how can you review without it

I mean, I have an equivalent, but it's not exactly the same. It's just a 1-liner.

Actually, it would stop thanks to the set -e at the top

Huh, TIL

matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…pr-script

Improve the PR tester script a bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants