Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove PrefixProjectToNodes and replace with instructions for a Regex Mapping #1860

Closed
MrHinsh opened this issue Jan 18, 2024 · 2 comments · Fixed by #1902 or #1889
Closed

Remove PrefixProjectToNodes and replace with instructions for a Regex Mapping #1860

MrHinsh opened this issue Jan 18, 2024 · 2 comments · Fixed by #1902 or #1889
Assignees
Labels

Comments

@MrHinsh
Copy link
Member

MrHinsh commented Jan 18, 2024

PrefixProjectToNodes causes confusion and may not work will after so many years. Rather than debug it, it makes more sense to rely on the new, and more flexible, Regex area and iteration mappings.

"AreaMaps": {
  "^OriginalProject\\\\(DescopeThis|DescopeThat)": "TargetProject\\Archive\\Descoped\\",
  "^OriginalProject\\\\(?!DescopeThis|DescopeThat)": "TargetProject\\NewArea\\",
}

It may require an additional "ProjectNodeMapping" that will apply to the OriginalProject to TargetProject conversation for all area and iterations.

@MrHinsh MrHinsh self-assigned this Jan 21, 2024
@MrHinsh
Copy link
Member Author

MrHinsh commented Jan 31, 2024

I tihnk this would do it!

"AreaMaps": {
  "^OriginalProject(?:\\\\([^\\\\]+))?\\\\([^\\\\]+)$": "TargetProject\\Q1\$2": "TargetProject\\BucketForIncommingAreas\$2",
}

@MrHinsh MrHinsh removed the triage label Feb 5, 2024
MrHinsh added a commit that referenced this issue Feb 5, 2024
@MrHinsh
Copy link
Member Author

MrHinsh commented Feb 27, 2024

This has now been resolved in v15-preview

@MrHinsh MrHinsh closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant