Problem/Motivation
We should be compatible with Drupal 9. It seems we just need
core_version_requirement: ^8.7.7 || ^9
instead of old
core: 8.x
And let's add update function that updates this automatically in child themes.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | drupal-9-compatibility-3114029-10.patch | 2.42 KB | berdir |
| #9 | drupal-9-compatibility-3114029-9.patch | 1.75 KB | pivica |
| #9 | interdiff-3114029-5-9.txt | 1.62 KB | pivica |
Comments
Comment #2
pivica commentedHere is a patch that requires other dev patches, so it will fail if you try to apply it to current dev. A new release is coming this week so this should not be a big deal.
Comment #3
pivica commentedThe previous patch got one change for another issue, here is a correct one.
Comment #4
pivica commentedComment #5
pivica commentedLet's use `^8` instead of `^8.7.7` and forgot to add composer.json dependency for core and we can also add dependency to bs_lib.
Comment #6
berdirif you replace core then you need to use ^8.7.7 because that is the oldest version that supports it, anything below will give you a fatal error anyway.
Alternatively, add the new line below without removing core: 8.x
Comment #7
rithesh bk commentedcurrently i am working on it ....
Comment #8
rithesh bk commented#5 drupal-9-compatibility-3114029-5.patch is not working ....... Please find the updated patch .......
Comment #9
pivica commented@Rithesh BK thx, but your patch has one additional update function 8003 from another place and is missing one more change that I've discussed with @Berdir in chat. Also, you are missing interdiff and it's difficult then to easily review your patch, make sure you always upload interdiff when basing your changes on previous patches.
@Rithesh BK if you are interested in helping with this theme issues ping me in reply, there are plenty of other stuff that needs help/work.
> if you replace core then you need to use ^8.7.7
> Alternatively, add the new line below without removing core: 8.x
Let's then go just with ^8.7.7 because it's one line change. Also removed bs_lib composer dependency as we discussed.
Comment #10
berdir@ivica: A bit confused by your workflows, managing these layers of pages is quite tricky, why not just commit things that are ready? This makes it really hard for others to contribute.
That said, turns out that this actually wasn't ready, there is a path.alias_manager usage and that requires 8.8 to fix, so updated the version requirement for bs_base. Didn't touch the update function and bs_bootstrap, since the subthemes technically don't require 8.8 themself and we've already deployed this in our projects, so we'd need to support updating from both old values.
Comment #11
pivica commented> why not just commit things that are ready?
@Berdir thanks for kicking me in the butt and reminding me that i should really push a new version :) Just added a patch for old #3073559-2: Add a helper class to hide fieldset legend. Starting now with committing all prepared patches.
Comment #13
pivica commentedCommitted.