Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

support branched package dependency - #1322

Merged
azlam-abdulsalam merged 11 commits into
mainfrom
feat/package-branch-dependency
Jun 23, 2023
Merged

azlam-abdulsalam merged 11 commits into
mainfrom
feat/package-branch-dependency

Conversation

@zhebinliu

Copy link
Copy Markdown
Contributor

Checklist

All items have to be completed before a PR is merged

  • Adhere to Contribution Guidelines
  • Updates to Decision Records considered?
  • Updates to documentation at DX@Scale Guide considered?
  • Tested changes?
  • Unit Tests new and existing passing locally?

@reviewpad

reviewpad Bot commented May 30, 2023

Copy link
Copy Markdown

AI-Generated Summary: This pull request adds support for branched package dependencies in the package dependency resolution process. It includes updates to PackageDependencyResolver.ts to handle package dependencies with specified branches, changes to Package2VersionFetcher.ts to fetch branched packages by their branch and name, and modifications to BuildImpl.ts to resolve the dependencies of completed packages with specified branches. Additionally, a new private function splitString is added to BuildImpl.ts to help extract relevant information from dependency-package strings. Overall, these changes enable fetching and resolving branched package dependencies based on their specified branch information.

@reviewpad
reviewpad Bot requested a review from azlam-abdulsalam May 30, 2023 04:28
@reviewpad reviewpad Bot added medium Pull request is medium waiting-for-review labels May 30, 2023
@reviewpad

reviewpad Bot commented May 30, 2023 •

Copy link
Copy Markdown

Reviewpad Report

‼️ Errors

⚠️ Warnings

  • Please link an issue to the pull request

@reviewpad reviewpad Bot added large Pull request is large and removed medium Pull request is medium labels May 30, 2023
@reviewpad reviewpad Bot added medium Pull request is medium and removed large Pull request is large labels May 30, 2023
@reviewpad

reviewpad Bot commented May 30, 2023

Copy link
Copy Markdown

AI-Generated Summary: This pull request introduces changes to PackageDependencyResolver.ts, Package2VersionFetcher.ts, and BuildImpl.ts. The main updates include the addition of a branch option for package dependencies, improved logging, and code refactoring. The logic for handling branched packages has also been updated in the BuildImpl.ts file.

@codecov

codecov Bot commented May 30, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.56 🎉

Comparison is base (151d67c) 46.46% compared to head (e8ac182) 47.02%.

❗ Current head e8ac182 differs from pull request most recent head c20c713. Consider uploading reports for the commit c20c713 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1322      +/-   ##
==========================================
+ Coverage   46.46%   47.02%   +0.56%     
==========================================
  Files          70       70              
  Lines        3065     3094      +29     
  Branches      651      659       +8     
==========================================
+ Hits         1424     1455      +31     
+ Misses       1616     1614       -2     
  Partials       25       25              
Impacted Files Coverage Δ
.../package/dependencies/PackageDependencyResolver.ts 96.11% <100.00%> (+3.01%) ⬆️
...core/src/package/version/Package2VersionFetcher.ts 86.04% <100.00%> (+6.04%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@reviewpad reviewpad Bot added large Pull request is large and removed medium Pull request is medium labels Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

large Pull request is large waiting-for-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants