- Status changed to Needs work
over 1 year ago 2:35pm 9 May 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
This is still relevant. And given 📌 Looking for Alpha tester for future functionality Active , we should probably get this done soonish.
The successor to
getProjectForPackage()
is\Drupal\package_manager\InstalledPackage::getProjectName()
.This needs to be rebased on top of
3.0.x
. - Assigned to omkar.podey
- Merge request !914Issue #3304142: Do not assume that Composer package names will exactly match Drupal projects names → (Merged) created by omkar.podey
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 800 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 9:44am 15 June 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 10:19am 19 June 2023 - last update
over 1 year ago 810 pass - 🇮🇳India omkar.podey
i'm wondering if the project name changes are even required now ?
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
AFAICT the test coverage in the old MR has not yet been ported to the new MR? 😅
Also, in reviewing the kinda tricky changes to
getProjectTitle()
, I discovered that it's essentially obsolete now and can be replaced with a trivial single line. - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 808 pass, 2 fail - 🇮🇳India omkar.podey
The tests in the Old MR are obsolete now so the main problem described in the issue was the assumptions about how the project name and package name were related and with the new methods (
\Drupal\package_manager\InstalledPackagesList::getPackageByDrupalProjectName
and\Drupal\package_manager\InstalledPackage::getProjectName
) it's no more the case and it has it's own coverage in\Drupal\Tests\package_manager\Kernel\InstalledPackagesListTest
- last update
over 1 year ago 810 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 11:41am 20 June 2023 - Status changed to Needs work
over 1 year ago 5:46pm 21 June 2023 - 🇺🇸United States tedbow Ithaca, NY, USA
From MR comments sounds like it needs tests
- 🇮🇳India omkar.podey
Updated the issue summary to explain testing, and quoting comment #54
The tests in the Old MR are obsolete now so the main problem described in the issue was the assumptions about how the project name and package name were related and with the new methods (
\Drupal\package_manager\InstalledPackagesList::getPackageByDrupalProjectName
and\Drupal\package_manager\InstalledPackage::getProjectName
) it's no more the case and it has it's own coverage in\Drupal\Tests\package_manager\Kernel\InstalledPackagesListTest
and the project titles has tests too\Drupal\Tests\automatic_updates_extensions\Functional\DisplayUpdatesTest::testDisplayUpdates
- Status changed to Needs review
over 1 year ago 10:23am 22 June 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 12:59pm 22 June 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
📌 Add new InstalledPackagesList which does not rely on Composer API to get package info Fixed landed February 21, 2023.
This issue was opened in August 2022, and the old MR was worked on in Sep-Nov 2022. So yeah, things have obviously changed 😅+1 for #58.
But the MR is still wrong it seems?
private function getProjectTitle(string $package_name): string {
is first removed and then restored. I offered a much simpler alternative at https://git.drupalcode.org/project/automatic_updates/-/merge_requests/91... that still has not been addressed? - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 1:06pm 22 June 2023 - 🇮🇳India omkar.podey
I did leave a MR comment https://git.drupalcode.org/project/automatic_updates/-/merge_requests/91... on that.
- Issue was unassigned.
- Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 10:55am 5 July 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Wow, great catch, and clear explanation! 👍
This is then essentially ready … but since we're modifying this code anyway, we should be moving it to the appropriate location now.
- last update
over 1 year ago 811 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:45am 7 July 2023 - Status changed to RTBC
9 months ago 1:41am 5 April 2024 - 🇺🇸United States tedbow Ithaca, NY, USA
I just cleaned up some things and added some test coverage by making on of the packages added in
\Drupal\Tests\automatic_updates_extensions\Functional\UpdaterFormTestBase::setUp
you a package that does not match the project name. Allo the function tests using this now pass, so I am going to RTBC this -
tedbow →
committed 3778dde0 on 3.0.x authored by
omkar.podey →
Issue #3304142 by omkar.podey, tedbow, Wim Leers, TravisCarden,...
-
tedbow →
committed 3778dde0 on 3.0.x authored by
omkar.podey →
-
omkar.podey →
authored 5446e9e3 on 3.1.x
Issue #3304142 by omkar.podey, tedbow, Wim Leers, TravisCarden,...
-
omkar.podey →
authored 5446e9e3 on 3.1.x
- Status changed to Fixed
9 months ago 1:43am 5 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.