Closed (fixed)
Project:
Guardr Core
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2023 at 00:16 UTC
Updated:
7 Jun 2023 at 15:09 UTC
Jump to comment: Most recent
Many modules require patches to be able to install them in Drupal 10.
Install Drupal 10
Add guardr_core module and the dependent modules.
Update the composer.json file to include the patches until they are merged in.
Create an MR
Review the MR
None
None
None
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
the_g_bomb commentedComment #6
the_g_bomb commentedI struggled rebasing the recent changes to the 2.x branch into the branch I had created initially, too many changes etc. So, I ended up closing the original MR and opening a new one.
I have nearly all the modules from the D7 version in this branch with the exception of 6 which aren’t available to D8/9/10 yet, and a further 7 which are no longer needed. They are outlined in the issue about splitting guardr_core: #3159974-5: Split Guardr into Guardr Core, Guardr Audit, Guardr Extras
Comment #7
the_g_bomb commentedI am now struggling to get guardr_core D10 installed on a project,
I suspect that the lenient allow list doesn't cascade down through the composer dependencies.
I may have to add the various patch forks to get the D10 versions of the modules that don't have a valid release available yet.
Comment #9
the_g_bomb commentedI tried adding the repos to install D10-ready forks, but those didn't pull through on the composer dependencies either.
I have removed the modules that are not yet ready for D10.
These are:
email_confirmer
hacked
logging_alerts
mass_pwreset
paranoia
role_watchdog
state_log
view_profiles_perms
x_originating_ip
The rest have been added.
MR 14 can be tested using:
Comment #10
the_g_bomb commentedStill hoping these get merged:
email_confirmer - #3322626: Drupal 10 compatibility
hacked - #3317869: Upgrade code to Drupal 10
logging_alerts - #3190943: User deprecated function: Theme functions are deprecated in drupal:8.0.0 and are removed from drupal:10.0.0. Use Twig templates instead of theme_emaillog_admin_settings()
paranoia - #3289009: Automated Drupal 10 compatibility fixes
role_watchdog - #3297981: Automated Drupal 10 compatibility fixes
state_log - #3289834: Automated Drupal 10 compatibility fixes
view_profiles_perms - #3290410: Automated Drupal 10 compatibility fixes
Comment #13
joestewart commentedHi Gareth, thank you for the issue and work!
I created a more minimal MR that didn't add any packages from the Guardr profile.
@Shrop and @Gareth does https://git.drupalcode.org/project/guardr_core/-/merge_requests/15 suffice for Drupal 10?
Comment #14
shrop commentedThanks Joe and Gareth!
I like this and noting we did remove Hacked in this discussion. I think once we have the D10 version released, we can look at the other items around splitting things up more and some other upcoming changes.
I am also thinking we should do Drupal core reqs like this - ^9.3 || ^10 vs. ^9 || ^10 could protect us from dependencies requiring 9.3. We have some now.
Comment #16
shrop commentedThank to the team here! Great to get this going and talk next steps.
Guardr Core 2.1.0 released.