« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 963 ms

Added merge_base API endpoint support by GerevSec · Pull Request #1577 · python-gitlab/python-gitlab

Source: https://github.com/python-gitlab/python-gitlab/pull/1577

Repository navigation

Added merge_base API endpoint support - #1577


Closed
GerevSec wants to merge 1 commit into python-gitlab:main from GerevSec:feature/merge_base
Closed

Added merge_base API endpoint support #1577 GerevSec wants to merge 1 commit into python-gitlab:main from GerevSec:feature/merge_base

Conversation

GerevSec commented Aug 26, 2021 · edited by nejch Loading



Copy link Copy Markdown

Added simple merge_base API endpoint support, based on the repository_compare code.

Closes #1495 .

Added merge_base API endpoint support 1730fcb

codecov-commenter commented Sep 12, 2021 · edited by codecov
Bot
Loading



Copy link Copy Markdown

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.12%. Comparing base (e54832a) to head (1730fcb) .
Report is 1411 commits behind head on main.

Files with missing lines Patch % Lines
gitlab/v4/objects/repositories.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1577      +/-   ##
==========================================
- Coverage   91.16%   91.12%   -0.04%     
==========================================
  Files          74       74              
  Lines        4177     4182       +5     
==========================================
+ Hits         3808     3811       +3     
- Misses        369      371       +2     
Flag Coverage Δ
cli_func_v4 80.72% <60.00%> (-0.03%) ⬇️
py_func_v4 80.08% <60.00%> (-0.03%) ⬇️
unit 82.28% <60.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
gitlab/v4/objects/repositories.py 79.68% <60.00%> (-1.67%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics : Detect flaky tests, report on failures, and find test suite problems.

nejch commented Sep 12, 2021



Copy link Copy Markdown
Member

Hi @GerevSec , thanks a lot for your contribution! We just need a few things to get this green:

  1. git commit --amend your commit message to follow conventional commit, e.g. feat(objects): add merge_base API support
  2. run black to format code properly, e.g. with tox -e black
  3. If possible, could you add some documentation and unit tests? for inspiration, see:
nejch assigned GerevSec Oct 6, 2021 nejch added the Waiting for response label Oct 6, 2021

github-actions
Bot
commented Jan 8, 2022



Copy link Copy Markdown

This Pull Request (PR) was marked stale because it has been open 90 days with no activity. Please remove the stale label or comment on this PR. Otherwise, it will be closed in 15 days.

github-actions
Bot
added the stale label Jan 8, 2022

github-actions
Bot
commented Jan 24, 2022



Copy link Copy Markdown

This PR was closed because it has been marked stale for 15 days with no activity. If this PR is still valid, please re-open.

github-actions
Bot
closed this Jan 24, 2022

emadimehrdad commented Feb 27, 2022



Copy link Copy Markdown

@nejch @GerevSec
Hi.
Do you have any plan to develop this feature?

emadimehrdad commented Jun 15, 2022



Copy link Copy Markdown

Hi @nejch
Would you want me to continue this Pull Request? I think this feature will be useful.

nejch commented Jun 15, 2022



Copy link Copy Markdown
Member

Thanks for the ping again @emadimehrdad , this one slipped a little bit. Yes, we'll pick it up and add some tests to get this merged :)

nejch assigned nejch and unassigned GerevSec Jun 15, 2022

nejch commented Jul 23, 2022



Copy link Copy Markdown
Member

As it is, I don't think we can merge a PR with this change alone - the API expects 2 or more refs (arbitrary number), which need to be supplied as an array. So we'll also need #1699 first.

nejch mentioned this pull request Aug 14, 2022 feat: add support for merge_base API #2236 Merged Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

stale Waiting for response

4 participants