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

refactor(api): move scm logic to separate package #848

Merged
merged 1 commit into from
May 18, 2023
Merged

Conversation

ecrupper
Copy link
Contributor

Based off of #615 #754 #809 #828 #829 and #847

This change continues the refactor efforts initially introduced in the above PRs.

This adds a new scm package to the github.com/go-vela/server/api package.

This contains all the same handlers that existed previously but with each of them within their own file.

Changed SyncRepos to SyncReposForOrg to align semantically with our other API funcs.

@ecrupper ecrupper requested a review from a team as a code owner May 17, 2023 22:58
@ecrupper ecrupper self-assigned this May 17, 2023
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@fa4ffd7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #848   +/-   ##
=======================================
  Coverage        ?   59.60%           
=======================================
  Files           ?      268           
  Lines           ?    15329           
  Branches        ?        0           
=======================================
  Hits            ?     9137           
  Misses          ?     5768           
  Partials        ?      424           

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.

3 participants