Overhaul default welcome message for OpenDev

The "Welcome, new contributor!" hook bot should leave a more generic
message relevant to most OpenDev projects, and not something
OpenStack-specific (as this could easily confuse new contributors to
non-OpenStack projects in OpenDev).

Change-Id: Ifc41e0639adf27a476025e66728d547a71ad99d5
This commit is contained in:
Jeremy Stanley 2020-02-20 21:50:25 +00:00
parent 837515213f
commit 891047afa0
1 changed files with 14 additions and 16 deletions

View File

@ -69,30 +69,28 @@ def is_newbie(uploader):
def post_message(commit, gerrit_user, gerrit_ssh_key, message_file):
"""Post a welcome message on the patch set specified by the commit."""
default_text = """Thank you for your first contribution to OpenStack.
default_text = """\
Congratulations, you've proposed your first change in OpenDev.
Your patch will now be tested automatically by OpenStack testing frameworks
and once the automatic tests pass, it will be reviewed by other friendly
developers. They will give you feedback and may require you to refine it.
Your submission will now be tested automatically by Zuul, our gatekeeper,
and reviewed by other friendly developers. They will give you feedback and
may require you to refine it.
People seldom get their patch approved on the first try, so don't be
concerned if requested to make corrections. Feel free to modify your patch
and resubmit a new change-set.
Patches usually take 3 to 7 days to be reviewed so be patient and be
available on IRC to ask and answer questions about your work. Also it
takes generally at least a couple of weeks for cores to get around to
reviewing code. The more you participate in the community the more
rewarding it is for you. You may also notice that the more you get to know
people and get to be known, the faster your patches will be reviewed and
eventually approved. Get to know others and become known by doing code
reviews: anybody can do it, and it's a great way to learn the code base.
Patches often take days (and sometimes weeks) to get reviewed, so be
patient. Don't hesitate to ask for help, and answer questions about your
work promptly if you can. The more you get to know reviewers and get to be
known by them, the smoother the review and approval process will become. The
fastest way to accomplish this is by reviewing other proposed changes
yourself: anybody can do it, and it's a great way to learn the code base.
Thanks again for supporting OpenStack, we look forward to working with you.
Thanks again for participating in OpenDev, we look forward to seeing you
around.
IRC: https://wiki.openstack.org/wiki/IRC
Workflow: https://docs.openstack.org/infra/manual/developers.html
Commit Messages: https://wiki.openstack.org/wiki/GitCommitMessages
Workflow Guide: https://docs.openstack.org/infra/manual/developers.html
"""
if message_file: