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

Download newest package version from defined repositories #24

Merged

Conversation

walkowif
Copy link
Contributor

@walkowif walkowif commented Feb 9, 2024

During renv.lock update: if a package in the lockfile references a repository not defined in the lockfile, check which of the repositories has the newest version of that package, and set this version in the updated lockfile.

Copy link

github-actions bot commented Feb 9, 2024

Unit Tests Summary

14 tests   14 ✅  0s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit 63e7bb9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 9, 2024

badge

Code Coverage Summary

Filename            Stmts    Miss  Cover    Missing
----------------  -------  ------  -------  ---------------------------------------------------------
cmd/construct.go      216      25  88.43%   72-83, 182-189, 222-224, 309-311
cmd/download.go       174      41  76.44%   50-70, 89-91, 108-110, 137-139, 155-157, 177-179, 220-226
cmd/parse.go          116      10  91.38%   36-42, 66-68
cmd/renv.go           214      60  71.96%   130-160, 289-325
cmd/root.go           145     142  2.07%    54-161, 168-217
cmd/utils.go           76      28  63.16%   52-63, 71-73, 81-83, 94-96, 117-123
TOTAL                 941     306  67.48%

Diff against main

Filename            Stmts    Miss  Cover
----------------  -------  ------  -------
cmd/construct.go       +1       0  +0.05%
cmd/renv.go           +11     -11  +6.94%
TOTAL                 +12     -11  +1.60%

Results for commit: 63e7bb9

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@walkowif walkowif marked this pull request as ready for review February 12, 2024 13:54
@walkowif walkowif requested a review from a team as a code owner February 12, 2024 13:54
README.md Outdated Show resolved Hide resolved
walkowif and others added 2 commits February 12, 2024 14:59
Co-authored-by: cicdguy <26552821+cicdguy@users.noreply.github.com>
Signed-off-by: walkowif <59475134+walkowif@users.noreply.github.com>
@walkowif walkowif requested a review from cicdguy February 12, 2024 14:25
@walkowif walkowif merged commit 080a923 into main Feb 12, 2024
7 checks passed
@walkowif walkowif deleted the download-newest-package-version-from-defined-repositories branch February 12, 2024 14:34
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.

2 participants