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

Warn before DTP if DTT is more than 24 hours old #20194

Merged
merged 2 commits into from Jan 29, 2018
Merged

Conversation

Hamms
Copy link
Contributor

@Hamms Hamms commented Jan 23, 2018

No description provided.

bin/dotd Outdated
@@ -415,6 +417,15 @@ def print_database_changes(pull_request_number)
EOS
end

# if the commit is more than 24 hours old, warn
def print_old_commit(commit_sha)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: My preference would be to name the method the self-descriptive warn_if_old_commit.

Copy link

@clareconstantine clareconstantine left a comment

Choose a reason for hiding this comment

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

LGTM!

@Hamms Hamms merged commit a11f8f0 into staging Jan 29, 2018
@Hamms Hamms deleted the warn-if-dtt-old branch January 29, 2018 22:23
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.

None yet

3 participants