Merge Request #75
← To merge requests
From
fix_gitlab_links
into
master
Fix gitlab links
This MR should be merged to release-3.0 too. Fix gitlab hyperlinks for merge_requests and issues.
Commits (2)
-
What does this second "i" stands for? Can't it be
merge_request_id
ormr_id
? -
I stands for the id inside a project. The 'id' is the unique identifier white the 'iid' is the id counter inside a project.
-
We use 'iid' to follow gitlab_api rules, doing that, the json parser automatically parser the values without any aditional 'if's in the code
-
Ok.
-
Milestone changed to Link errado nas colaborações(MR)
-
mentioned in commit a70fae9a25a06dc7d18ff96f60e1f7012b62fb49
started a discussion
on the diff
colab/plugins/gitlab/models.py
27 | 27 | class GitlabMergeRequest(Collaboration): |
28 | 28 | |
29 | 29 | id = models.IntegerField(primary_key=True) |
30 | + iid = models.IntegerField(null=True) | |
4 |
|