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

Update Helper - Update should start by the direct packages first #50

Closed
jorgetutor opened this issue Feb 8, 2023 · 1 comment
Closed

Comments

@jorgetutor
Copy link
Member

In the last integration, we decided to update all packages, not only the direct ones. This creates several commits and a long process that can be optimized.

Solution

  • Update first the direct packages
  • Once finished, check again for the full list of the packages to be updated, then remove the ones that initially appeared in the first list. If they are still displayed is because they have already tried but no success so no need to try again
@jorgetutor
Copy link
Member Author

We must change this approach, the issue is the following. With the initially proposed strategy:

  • The process takes a long time: we are updating from the leaves, so the number of packages is huge!
  • The commits are not meaningful: the package dependencies and the reference to the main root dependency are lost.

Solution

  • Rely on the full list of direct packages, even if it is not directly outdated, but its dependencies could.

jorgetutor added a commit to jorgetutor/scripthor that referenced this issue Feb 9, 2023
omarlopesino added a commit that referenced this issue Feb 9, 2023
Issue #50: Package reference list switch to direct (not outdated)
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

No branches or pull requests

1 participant