Github Pull Request

Define what is a github Pull Request as an odoo object.

https://kastor.lab.numigi.net/web/image/product.template/992/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Github Pull Request

This modules defines what is a GitHub pull requests (as an Odoo object).

Pull Requests

As system administrator, I go to Configuration > Technical > GitHub > Pull Requests.

static/description/menu_technical_pull_requests.png

I see the list of pull requests:

static/description/pull_request_tree.png static/description/pull_request_form.png

Events

A pull request has a list of events.

static/description/pull_request_event_list.png

In the form view of an event, a Pull Request section is added.

static/description/pull_request_event_form.png

This section is filled using the payload when processing the event.

Pull Request Creation / Update

When an event is processed, a pull request is assigned to the event. If no existing pull request matches the event, a new pull request is created.

Of course, if the event is not related to a pull requests (i.e. if it was generated from a github issue), no pull request will be assigned to it.

If it is the latest event for the pull request, the pull request record will be updated from the event data.

Therefore, a pull request record in Odoo is updated as soon has new events are registered.

Release

Since the version 1.0.1 of this module here are the new features:

  • Addition of Branch information

As a project user on Konvergo, I click on the task concerned, then on the Pull request tab. I see now a new Branch field, which allows me to know which is the target branch of the pull request.

static/description/version_and_source_on_task.png

By making a pull request, Konvergo automatically detects the branch from GitHub.

  • Clickable source link

The source field value is now clickable to redirect to the pull request on github.

static/description/pull_request_open_form_from_tree.png

In Settings > Github > Pull Requests, list view has now the column version:

static/description/pull_request_tree_with_version.png

Contributors