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 reports for pkg dependencies into single zip file #722

Open
4 tasks
AARON-CLARK opened this issue Dec 6, 2023 · 0 comments
Open
4 tasks

Download reports for pkg dependencies into single zip file #722

AARON-CLARK opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@AARON-CLARK
Copy link
Collaborator

AARON-CLARK commented Dec 6, 2023

I think we need a good way of generating a report for all of a package's dependencies at once. So, for example, The AATtools pkg has 4 imports. So, while previewing AATtools in the Build Report tab, it would be nice if the user had a checkbox to download reports for it's dependencies and include them in a zip file. This could exist in the Build Report preferences with all the other checkboxes. However, maybe give the user more options. It could look like this:

Prepare report for:

  • depends
  • imports
  • linking to
  • suggests

If any of the dependencies are not uploaded, a modal should pop up when the Download Report button is clicked stating that "Only the packages uploaded to the database will have a report generated. If you want to upload more pkgs, please navigate to the Package Dependencies page." ... and then you could include a button to help them navigate there. Bonus points if you include a small summary of what's uploaded in the modal, including:

Dependencies in database:

  • X out of Y depends
  • X out of Y imports
  • X out of Y linking to
  • X out of Y suggests

But you only need to show the bullet point above if they checked that box. So if they only checked "depends" and "imports", then don't show a summary for "linking to" and "suggests".

In conclusion, this could impact things on the database tab pretty significantly, since a user could select 2 or more pkgs from the database, and when the "Prepare report for" checkbox is marked, it would not only download a report for those selected packages, but also for all the marked dependencies. A summary would be confusing, so that could be left out of that modal on the database tab.

@aclark02-arcus aclark02-arcus changed the title Zip reports for dependencies Download reports for pkg dependencies into single zip file Mar 25, 2024
@aclark02-arcus aclark02-arcus added the enhancement New feature or request label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants