- Issue created by @wim leers
- First commit to issue fork.
- @tedbow opened merge request.
- 🇺🇸United States phenaproxima Massachusetts
Removing the list item for
SymlinkValidator
, because 📌 Add symlink support to Composer Stager 2.0, require that version, and simplify UX & tests accordingly Fixed fulfills and removes the todo. - 🇺🇸United States tedbow Ithaca, NY, USA
Created 🐛 In CoreUpdateTest::testUi, confirm that the UI says no update is available after updating successfully Fixed to get rid of todo in
\Drupal\Tests\automatic_updates\Build\CoreUpdateTest::assertUpdateSuccessful()
hopefully a quick fix 🤞🏻 - 🇺🇸United States tedbow Ithaca, NY, USA
fixed [#assertUpdateSuccessful]
So
\Drupal\Tests\automatic_updates\Build\CoreUpdateTest::assertUpdateSuccessful()
is removed - 🇺🇸United States tedbow Ithaca, NY, USA
-
I think we should just remove the todo in
CorePackageManifestTest
and remove thepackage_manager/core_packages.yml
unless we have reason that others would need this list. As far as I know nobody else has suggested they need this list. I just to moved the list directly into\Drupal\package_manager\InstalledPackagesList::getCorePackageList
as that is the only place we need it.If we move the list somewhere central in core this effectively would become an API. We can also create a central list of core packages later.
UPDATE: I just realized we lost test coverage in
\Drupal\Tests\package_manager\Kernel\CorePackageManifestTest::testCorePackagesMatchManifest
I guess if others agree with my change we should open up another issue remove the list like I did here: https://git.drupalcode.org/project/automatic_updates/-/merge_requests/78...
but also update
\Drupal\Tests\package_manager\Unit\InstalledPackagesListTest::testCorePackages
to ensure that all packages in core directory are present. We have the logic here now \Drupal\Tests\package_manager\Kernel\CorePackageManifestTest::testCorePackagesMatchManifest - I removed the todo in
UpdaterForm::createReleaseTable()
I originally put that comment in. I checked and there is no Update module template to use.
-
I think we should just remove the todo in
- Assigned to wim leers
- Status changed to Needs review
about 2 years ago 11:31am 16 March 2023 - 🇺🇸United States tedbow Ithaca, NY, USA
Assigning to @Wim Leers to review especially my idea to remove the
core_packages.yml
- 🇺🇸United States phenaproxima Massachusetts
+1 on removing
core_packages.yml
. - Issue was unassigned.
- Status changed to Needs work
about 2 years ago 11:43am 16 March 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I've been wanting to remove
core_packages.yml
for a long time 😄 - Assigned to kunal.sachdev
- 🇮🇳India kunal.sachdev
Following todos have invalid issue links :
- automatic_updates.module : line 166
// @todo Refactor this after https://www.drupal.org/project/drupal/issues/2969056
- PackageManagerServiceProvider.php : line 18
* @todo Refactor this if/when symfony/config becomes a dependency: revert https://www.drupal.org/i/3345039.
- TemplateProjectTestBase.php : line 520
// @todo Find a better solution than a view that could change to ensure // ensure these events have fired in https://drupal.org/i/3319768.
- CronUpdater.php : line 228
// @todo If using the built-in PHP web server, validate that this port is // set in https://www.drupal.org/i/3293146.
- ConfigSubscriber.php : line 17
* @todo Move this functionality into StatusChecker when * https://www.drupal.org/i/3275317#comment-14482995 is resolved.
- automatic_updates_test_cron.module : line 7
* @todo Move into automatic_updates when TUF integration is stable in * https://www.drupal.org/i/3322361.
- ComposerInspector.php : line 270
// @todo Remove this once https://github.com/composer/composer/issues/11302 lands and ships in a composer release.
- UpdateReleaseValidator.php : line 23
* @todo Remove this validator completely in https://www.drupal.org/i/3307369.
- BatchProcessor.php : line 120
// @todo See if there's a better way to ensure the post-apply tasks run // in a new request in https://www.drupal.org/i/3293150.
- UpdaterFormNoRecommendedReleaseMessageTest.php : line 94
// @todo Use \Drupal\Tests\WebAssert::statusMessageContains() when module // drops support for Drupal core 9.3.x.
This todo doesn't point to a issue link
- automatic_updates.module : line 166
- 🇮🇳India kunal.sachdev
Following remaining todos have invalid issue links :
- ConfigSubscriber.php : line 17
* @todo Move this functionality into StatusChecker when * https://www.drupal.org/i/3275317#comment-14482995 is resolved.
- UpdateReleaseValidator.php : line 23
* @todo Remove this validator completely in https://www.drupal.org/i/3307369.
- This todo doesn't point to a issue link, UpdaterFormNoRecommendedReleaseMessageTest.php : line 94
// @todo Use \Drupal\Tests\WebAssert::statusMessageContains() when module // drops support for Drupal core 9.3.x.
- ConfigSubscriber.php : line 17
- 🇺🇸United States phenaproxima Massachusetts
I think we could just fix #16.3 now, then, since we no longer support Drupal 9.
- Issue was unassigned.
- Status changed to Needs review
about 2 years ago 2:05pm 29 March 2023 - Assigned to tedbow
- Assigned to kunal.sachdev
- Status changed to Needs work
about 2 years ago 12:47pm 5 April 2023 - 🇮🇳India kunal.sachdev
Now that 📌 Move Cron Updater form_alter from deperecated test module to automatic_updates Closed: duplicate is closed I will update the todo that has this issues' link.
- Issue was unassigned.
- Status changed to Needs review
about 2 years ago 1:13pm 5 April 2023 - Assigned to omkar.podey
- Assigned to kunal.sachdev
- Status changed to Needs work
about 2 years ago 5:44pm 5 April 2023 - 🇮🇳India omkar.podey
Setting to needs work for some questions that need answering + a merge leftover but overall this looks pretty good, nice work 🤗.
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 6:19am 6 April 2023 - 🇮🇳India omkar.podey
Also i think it's a good time to pull 📌 Create test trait to set update_test module settings Fixed into sprint ?
- Assigned to kunal.sachdev
- Status changed to Needs work
almost 2 years ago 6:45am 6 April 2023 - Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 7:35am 6 April 2023 - 🇮🇳India omkar.podey
Just 1 question For @phenaproxima, everything else looks great.
- 🇺🇸United States phenaproxima Massachusetts
I went through all the files in the MR and confirmed that all the todos make sense. Thanks for doing this exhaustive research and diligent work!
The only outstanding parts are three things that were flat-out removed. I'll go over those with @tedbow to make sure we intended to remove them. But otherwise, I think this looks great.
- Status changed to RTBC
almost 2 years ago 5:51pm 6 April 2023 - 🇺🇸United States phenaproxima Massachusetts
OK, I looked this over and everything seemed right, confirmed a few outstanding questions with @tedbow, so I think this is good to go. Ship it!
-
phenaproxima →
committed b04dc43a on 3.0.x authored by
tedbow →
Issue #3348162 by kunal.sachdev, tedbow, phenaproxima: Ensure all...
-
phenaproxima →
committed b04dc43a on 3.0.x authored by
tedbow →
- 🇺🇸United States phenaproxima Massachusetts
Really glad to get this one in!
- Status changed to Fixed
almost 2 years ago 5:59pm 20 April 2023 Automatically closed - issue fixed for 2 weeks with no activity.