-
Notifications
You must be signed in to change notification settings - Fork 31
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
Upload package assessments outside of app #730
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #730 +/- ##
==========================================
- Coverage 79.34% 79.20% -0.14%
==========================================
Files 33 33
Lines 5063 5112 +49
==========================================
+ Hits 4017 4049 +32
- Misses 1046 1063 +17 ☔ View full report in Codecov by Sentry. |
I believe this PR does enough to justify merging. Inside the application itself there is not much of a change from a user experience point of view. I did update the shiny notification so that the details are on a separate line. Current functionality will allow an app deployer to pre-seed the database before server deployment. A test has also been included. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Jeff-Thompson12
I switched to the branch and did a build/install.
Then tried uploading three packages: glue, stringr, forcats
Getting an error:
I can't replicate the issue but I can add in a try-catch for the tarball downloading. |
Hi @Jeff-Thompson12
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Merge branch 'dev' into jt-691-remote_upld_data # Conflicts: # DESCRIPTION # NEWS.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion today:
# Don't export for now while these issues persist:
# Adding a vignette example, showing how to use
# Add check to make sure db is actually there
# Note: there will be no startup initializing Credential DB using QWERTY
# User should probably supply a username and password
initialize_raa(assess_db = "database.sqlite",
cred_db =,
configuration = # tied to env
)
upload_pkg_lst("Tplyr")
Per discussion on 2/27, ready for another review. |
Hey @Jeff-Thompson12! Can you make sure you open new issue(s) to tackle/ address the items identified below?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Jeff-Thompson12, sorry it's taken me so long to re-look at this PR. In total, it's great! But one thing I noticed is that the local (external to the app) score is different than the app-derived score. So, see if you can reproduce the following:
Notice the score was 0.33. Then I launched the app, deleted the tidyr
package from the db, then loaded it on the package uploads tab. Notice the new score below is 0.25.
Let me know what you find. Keep in mind that I'm on a new laptop and just installed hundreds of packages to my machine... but they should all fall in line with the renv
lock file.
@Jeff-Thompson12, this might help... I noticed that when |
Merge branch 'dev' into jt-691-remote_upld_data # Conflicts: # NEWS.md
@AARON-CLARK I will take a look. I will note that we moved external uploading to a different PR. So if we believe it is functioning correctly within the application, technically we don't have a problem (yet). |
@AARON-CLARK I cannot duplicate this issue. Can you verify this is still a problem on your end? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks amazing! The problem (previously referenced) doesn't exist any more. Apologies if it was user error. Merging!
Addresses #691