- π©πͺGermany Anybody Porta Westfalica
Drupal 10 is out and Drupal 9 close to EOL. Updating priority accordingly. Hopefully our team will have time to review this soon.
Any active maintainer? - Status changed to Needs work
over 1 year ago 9:53am 2 March 2023 - π©πͺGermany Anybody Porta Westfalica
core_version_requirement: ^8 || ...
should be
core_version_requirement: ^8.9 || ...
or at least
core_version_requirement: ^8.8 || ...
- π©πͺGermany Anybody Porta Westfalica
What about reflecting the changes in 2.x @Ambient.Impact? π± PWA module 3.x roadmap Active
- ππΊHungary czigor
@Anybody What do you mean? According to https://www.drupal.org/node/3070687 β we need to update
core_version_requirement
to be D10 compatible. Were you able to enable the module without it? - First commit to issue fork.
- π©πͺGermany Grevil
Is there a reason, that a 2.x release does not exist for this module?
I don't think we should make an old branch Drupal 10 compatible, maybe one of the maintainers can change the MR target to 2.x and generally create a 2.x release?
- π©πͺGermany Grevil
Ok, I see 2.x is just an old forgotten branch. I'll reroll everything again.
- π©πͺGermany Grevil
Ok I reverted the rebase on 2.x using reflog and rebased the reverted branch with 8.x-1.x. On to checking for any missing deprecation problems.
- π©πͺGermany Anybody Porta Westfalica
@Grevil: The D10 compatibility should be against 8.x-1.x first please.
Independently, we may create a separate issue for 2.x, if it's not already D10 compatible. The situation for 2.x is messy, as you can read in my comment: https://www.drupal.org/project/pwa/issues/3165795#comment-14955764 π± PWA module 3.x roadmap Active
8.x-1.x is important here. As you already did the work, you may also instead create a separate issue for 8.x-1.x and use this one for 2.x - but 2.x is not important and should be changed with care. I didn't touch it yet and won't touch it in the near future.
- Status changed to Needs review
over 1 year ago 10:24am 15 March 2023 - π©πͺGermany Grevil
@Anybody, the fixes are now catered towards 8.x-1.x, making compatibility issues to 2.x seems pretty unnecessary.
Although, we need to drop the Drupal 8 support, as the "file_url_generator" service doesn't exist for 8.9 yet, as it was introduced in Drupal 9.3, see this change record β .
As the original maintainer rejected @Anybody's request to reset the 2.x branch to the current state of 8.x-1.x, mainly because of "compatibility problems", he should decide whether we should drop the Drupal 8 compatibility. But without dropping the Drupal 8 compatibility, we can NOT make this module Drupal 10 compatible.
- Status changed to RTBC
over 1 year ago 10:29am 15 March 2023 - π©πͺGermany Grevil
FYI, the module is installable and general functionality works fine with the forks changes. All Incompatibilities are fixed.
- π©πͺGermany Anybody Porta Westfalica
@Grevil: Drupal 8 support can be removed from 8.x-1.x, I think. Please create a separate issue or at least MR against 8,x-1.x.
@Ambient.Impact should decide then, how to proceed.Another nice option I think would be to create 3.x to work on from 8.x-1.x, deprecate 8.x-1.x and once 2.x is cleaned up or finished, merge changes into that.
Currently, 8,x-1.x seems more stable then 2.x and has received more bugfixes. This leads to confusion, like here and nobody seems to actively work on 2.x at the moment.
- π©πͺGermany Anybody Porta Westfalica
Nice work @Grevil! Confirming RTBC for MR!27!
Let's wait for @Ambient.Impact's feedback on #25. Otherwise merge it into 8.x-1.x if there's no response.
- πΊπΈUnited States ao5357
Wasn't able to push to the issue fork, but added a composer.json at https://github.com/solve-it-once/pwa/commits/3289196-automated-drupal-10 so it works with https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... β . You might want to get this into the MR before merging, in the event the D10 compatibility fixes don't get picked up by composer.
- π©πͺGermany Grevil
@ao5357 it is generally not recommended to manually add a composer.json, since Drupal will auto generate it.
- π¨π¦Canada ambient.impact Toronto
@Grevil While Drupal.org can add it, I've not seen anyone else say it's not recommended. All the projects I maintain have one for various reasons, e.g. dependencies, maintainer credits, etc. and it all just works fine.
- π©πͺGermany Anybody Porta Westfalica
@Ambient.Impact that's correct. What I think @Grevil wanted to say is, that it's questionable if it's the same as Drupal.org creates (and updates) automatically. There are pro's and con's. But there are not many reasons to add it in this issue. But let's focus on the issue itself now. You can decide, if you like the composer.json or not. How are you planning to proceed here @Ambient.Impact?
- π©πͺGermany Grevil
@Ambient.Impact, my apologies, I thought adding a composer.json without the need of any external libraries outside of Drupal (or without the need of any other composer shenanigans) is actually not recommended! Turns out it just isn't required, ass seen in https://www.drupal.org/docs/develop/creating-modules/add-a-composerjson-... β . No mention of whether it's recommended or not.
- π¨π¦Canada ambient.impact Toronto
@Anybody I'm definitely a fan of keeping the scope of issues to just what's relevant so agreed.
@Grevil No worries!
- π©πͺGermany Anybody Porta Westfalica
Switching this to 2.x as of https://www.drupal.org/project/pwa/issues/3165795#comment-14974848 π± PWA module 3.x roadmap Active
-
Anybody β
committed eebc598e on 2.x authored by
abhaisasidharan β
Issue #3289196: Automated Drupal 10 compatibility fixes
-
Anybody β
committed eebc598e on 2.x authored by
abhaisasidharan β
- Assigned to ambient.impact
- Status changed to Fixed
over 1 year ago 7:17pm 20 March 2023 - π©πͺGermany Anybody Porta Westfalica
Made it to escape from local rebase hell! Committed to 2.x!
So we can release 2.0.0 now, deprecate 8.x-1.x and create 3.x as new default branch for further development.
@Ambient.Impact could you please check this finally and take these steps? :)
- Issue was unassigned.
- π¨π¦Canada ambient.impact Toronto
Just to be cautious, let's first release 2.0.0-rc1, use it for a bit, and if it doesn't introduce any new problems over 8.x-1.x, then we can tag a stable 2.0.0 - how's that sound?
- π©πͺGermany Anybody Porta Westfalica
@Ambient.Impact perfect! :) Thanks!
- heddn Nicaragua
Waiting with baited breath for a tagged release w/ Drupal 10 support
- π©πͺGermany Anybody Porta Westfalica
@heddn I'll do so ;)
let's first release 2.0.0-rc1, use it for a bit
On it!
- π©πͺGermany Anybody Porta Westfalica
@heddn: 2.0.0-rc1 is out! Feedback welcome.
Automatically closed - issue fixed for 2 weeks with no activity.