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

Updated readme with instructions to fetch MRs from origin. #370

Closed
wants to merge 1 commit into from

Conversation

pbendersky
Copy link

In my pursue of wrapping up #285, I realised that it's possible to achieve the same effect (i.e. fetching Merge Requests from the upstream repository) just by means of adjusting the configuration a little bit.
This Readme changes reflect that, and doesn't carry the current limitations in #285 (re-build open MRs, etc.)

* Add a second repository with:
* *URL*: Your *Repository URL* as in the previous step (e.g.: ``[email protected]:group/repo_name.git``)
4. In *Branch Specifier* enter:
* ``merge-requests/${gitlabMergeRequestIid}``
Copy link

Choose a reason for hiding this comment

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

Is this a typo?
${gitlabMergeRequestIid}

Copy link
Author

Choose a reason for hiding this comment

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

Not a typo. GitLab uses both id and iid. id refers to the internal ID in their DB, and iid to the user facing number (in tickets or Merge Requests). In this case, we need the user facing one.

Copy link

Choose a reason for hiding this comment

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

Okay, sorry for the noise then :)

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.

2 participants