]> _ Git - alire.git/commit
Avoid unneeded requests to approve changes after editing the manifest (#591)
authorAlejandro R Mosteo <alejandro@mosteo.com>
Thu, 29 Oct 2020 10:26:59 +0000 (11:26 +0100)
committerGitHub <noreply@github.com>
Thu, 29 Oct 2020 10:26:59 +0000 (11:26 +0100)
commit8dceecacc6b03f7be5e94431f8895bad19580c17
treec4a814e61598528fc144b598f12c2fac4475c0d5
parentb1ee78aa147007a41496b057527fe86db2907539
Avoid unneeded requests to approve changes after editing the manifest (#591)

* Avoid unneeded requests to update when no changes

Changes in solutions were being spuriously detected, in situations in which
there were no changes. Also, when manual changes didn't affect dependencies,
the situation was not corrected either by manual update or automatic check.

* New test to check the bugfix
src/alire/alire-dependencies-states.adb
src/alire/alire-dependencies-states.ads
src/alire/alire-roots.adb
src/alire/alire-roots.ads
src/alire/alire-utils-user_input.adb
src/alire/alire-workspace.adb
src/alr/alr-commands-update.adb
testsuite/tests/update/manual-once/test.py [new file with mode: 0644]
testsuite/tests/update/manual-once/test.yaml [new file with mode: 0644]