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

🌱 Commit depth for GitLab #2829

Closed
wants to merge 3 commits into from
Closed

Conversation

jimrobison
Copy link
Contributor

What kind of change does this PR introduce?

bug fix for #2828

What is the current behavior?

The new gitlab functionality is not using the parameter --commit-depth in querying the gitlab repo for commits. In addition the defaulted value of 30 was not being used either, for the same reason.

What is the new behavior (if this is a feature change)?**

When providing a value or using the defaults, the desired number of commits are being retrieved from gitlab repo

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Fixes #2828

Special notes for your reviewer

Does this PR introduce a user-facing change?

No
For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

@jimrobison jimrobison force-pushed the commit-depth branch 2 times, most recently from aeed049 to 6f25501 Compare April 5, 2023 20:28
@naveensrinivasan naveensrinivasan changed the title Commit depth 🌱 Commit depth Apr 10, 2023
@jimrobison jimrobison temporarily deployed to integration-test April 10, 2023 14:58 — with GitHub Actions Inactive
@naveensrinivasan naveensrinivasan changed the title 🌱 Commit depth 🌱 Commit depth for GitLab Apr 10, 2023
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #2829 (92a5344) into main (43999e9) will increase coverage by 1.65%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2829      +/-   ##
==========================================
+ Coverage   53.01%   54.67%   +1.65%     
==========================================
  Files         161      161              
  Lines       12303    12332      +29     
==========================================
+ Hits         6523     6742     +219     
+ Misses       5404     5204     -200     
- Partials      376      386      +10     

@jimrobison jimrobison force-pushed the commit-depth branch 2 times, most recently from 62f14ad to 887626c Compare April 11, 2023 18:49
@jimrobison jimrobison temporarily deployed to integration-test April 11, 2023 19:07 — with GitHub Actions Inactive
@jimrobison jimrobison temporarily deployed to integration-test April 20, 2023 17:46 — with GitHub Actions Inactive
Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

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

Thanks. Would you be able to add tests?

@github-actions
Copy link

github-actions bot commented May 1, 2023

Stale pull request message

…epth value provided

Signed-off-by: Robison, Jim B <jim.b.robison@lmco.com>
Signed-off-by: Robison, Jim B <jim.b.robison@lmco.com>
@jimrobison jimrobison temporarily deployed to integration-test May 8, 2023 22:59 — with GitHub Actions Inactive
@jimrobison jimrobison temporarily deployed to integration-test May 9, 2023 18:04 — with GitHub Actions Inactive
@github-actions
Copy link

Stale pull request message

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.

BUG: Commit-Depth Not Used on Querying Gitlab
2 participants