Problem/Motivation

Split the core 9.4.x tracker module from Drupal core by preserving the git history into a new 1.0.x branch

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#10 tracker-3261506-10.patch810 bytesnaveenvalecha

Issue fork tracker-3261506

Command icon Show commands

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

naveenvalecha created an issue. See original summary.

andypost’s picture

What kind of history do you mean? please elaborate issue summary

naveenvalecha’s picture

Title: Split the core 9.4.x tracker history into a new 1.0.x branch » Split the core 9.4.x tracker module by preserving the git history into a new 1.0.x branch
Issue summary: View changes
naveenvalecha’s picture

Version: » 1.0.x-dev
Issue tags: +Needs testing, +Novice

Needs testing before cutting a stable release.

joachim’s picture

> What kind of history do you mean? please elaborate issue summary

I'm assuming that what is meant is doing a git directory filter from core into this project's repo, so that we have the git history of the module -- see https://docs.github.com/en/get-started/using-git/splitting-a-subfolder-o...

EDIT: which looks like it's already been done.

dww’s picture

Status: Needs review » Needs work

Thanks for doing this!

At bare minimum, the tracker.info.yml file needs some help before you tag a release.

dww’s picture

Also, not exactly sure how y'all split the history, but it seems like the contrib tracker repo now has basically the full core Git history. 😢 The initial clone was huge. E.g. what's https://git.drupalcode.org/project/tracker/-/commit/008612ad4999138662a3... doing there? 😉

Not sure if it's already too late to recover from this and do a more proper / narrow subtree split or not...

naveenvalecha’s picture

#7,

I did the subtree split with git subtree split -P core/modules/tracker -b 1.0.x

I think we can still recover from it as we don't have tagged releases as of now.

@dww,

I have added you as a maintainer with full permissions to do narrow subtree split

#6,

At bare minimum, the tracker.info.yml file needs some help before you tag a release.

Sure thing. Also, I am hesitant to cut a stable release before the 10.x patch gets committed because we will need the test coverage into the contrib module which is part of other core modules.

joachim’s picture

> I did the subtree split with git subtree split -P core/modules/tracker -b 1.0.x

I think git might have got confused at the point where core modules were moved from /modules to /core/modules.

Not sure how to handle that. What I would try is:

1. do a core checkout at that point in the history
2. do a subtree split on modules/tracker
3. rebase the current branch going from the move point onto the branch created in step 2.

naveenvalecha’s picture

Status: Needs work » Needs review
StatusFileSize
new810 bytes

Fix tracker.info.yml and tracker_test_views.info.yml for contrib.

naveenvalecha’s picture

The above failure was due to #3217699: Convert select query extenders to backend-overrideable services as this issue has been reverted from the core but we were still using the new selectors in the tracker module which were introduced in this issue.

  • naveenvalecha committed da97850 on 1.0.x
    Issue #3261506 by naveenvalecha: Fix tracker.info.yml and...
naveenvalecha’s picture

#9, The development snapshot has been released so we couldn't roll back now.

naveenvalecha’s picture

Status: Needs review » Fixed
Issue tags: -Needs testing, -Novice
naveenvalecha’s picture

Updated issue credit

joachim’s picture

> #9, The development snapshot has been released so we couldn't roll back now.

Ask an admin user on Slack, they should be able to do it?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.