# How can I figure out which version of Ansible an ansible-modules-core merge request first appears in?

**URL:** <https://forum.ansible.com/t/how-can-i-figure-out-which-version-of-ansible-an-ansible-modules-core-merge-request-first-appears-in/21337>\
**Category:** Ansible Project\
**Created:** [May 3, 2016, 3:15am UTC](https://forum.ansible.com/t/how-can-i-figure-out-which-version-of-ansible-an-ansible-modules-core-merge-request-first-appears-in/21337 "2016-05-03T03:15:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kit\_Sunde](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Kit\_Sunde](https://forum.ansible.com/u/Kit_Sunde)\
**Post date:** [May 3, 2016, 3:15am UTC](https://forum.ansible.com/t/how-can-i-figure-out-which-version-of-ansible-an-ansible-modules-core-merge-request-first-appears-in/21337/1 "2016-05-03T03:15:16Z")

</div>

This pull request: [https://github.com/ansible/ansible-modules-core/pull/2673](https://github.com/ansible/ansible-modules-core/pull/2673) supposedly adds MySQL 5.7 support on mysql\_user. The last note says it’s been merged into the 2.0 stable and the devel branch, but it’s not clear to me if it means it’s in the 2.0 release or the upcoming 2.1 release. How can I see which pull requests have gone into which release?

---

<div class="post-metadata">

**Author:** ![Josh\_Smift1](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Post date:** [May 3, 2016, 3:13pm UTC](https://forum.ansible.com/t/how-can-i-figure-out-which-version-of-ansible-an-ansible-modules-core-merge-request-first-appears-in/21337/2 "2016-05-03T15:13:24Z")

</div>

> This pull request:  
> [https://github.com/ansible/ansible-modules-core/pull/2673](https://github.com/ansible/ansible-modules-core/pull/2673) supposedly  
> adds MySQL 5.7 support on mysql\_user. The last note says it's been  
> merged into the 2.0 stable and the devel branch, but it's not clear to  
> me if it means it's in the 2.0 release or the upcoming 2.1 release.  
> How can I see which pull requests have gone into which release?

Here's how I do it.

That PR says

&nbsp;&nbsp;abadger merged commit e6b7b17 into ansible:devel on Dec 14, 2015

so that's the commit we're looking for. I get an clone of the Ansible  
software and modules:

&nbsp;&nbsp;cd ~/somewhere  
&nbsp;&nbsp;git clone [https://github.com/ansible/ansible](https://github.com/ansible/ansible)  
&nbsp;&nbsp;cd ansible  
&nbsp;&nbsp;git submodule update --init --recursive

Now find this commit in whichever repo it's actually in --  
ansible-modules-core in this case -- and see what branches it's in:

&nbsp;&nbsp;+$ cd lib/ansible/modules/core

&nbsp;&nbsp;+$ git branch -a --contains e6b7b17  
&nbsp;&nbsp;\* (HEAD detached at bb9572c)  
&nbsp;&nbsp;&nbsp;&nbsp;devel  
&nbsp;&nbsp;&nbsp;&nbsp;remotes/origin/HEAD -\> origin/devel  
&nbsp;&nbsp;&nbsp;&nbsp;remotes/origin/devel  
&nbsp;&nbsp;&nbsp;&nbsp;remotes/origin/revert-3124-elb\_proxy\_protocol  
&nbsp;&nbsp;&nbsp;&nbsp;remotes/origin/revert-3488-azure\_rm\_virtualmachine  
&nbsp;&nbsp;&nbsp;&nbsp;remotes/origin/stable-2.1

So, looks like it's in stable-2.1.

(You could also just clone ansible-modules-core and do the same thing, but  
I happened to already have an up-to-date clone of the main 'ansible' repo  
lying around, with submodules in place, so.)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Josh (jbs@care.com)

(apologies for the automatic corporate disclaimer that follows)

This email is intended for the person(s) to whom it is addressed and may contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, distribution, copying, or disclosure by any person other than the addressee(s) is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and delete the message and any attachments from your system.
