Skip to content

Introducing new scoped based on matching patterns#19394

Merged
Ducasse merged 4 commits intopharo-project:Pharo14from
AlexisCnockaert:NewScopersPackage
Mar 16, 2026
Merged

Introducing new scoped based on matching patterns#19394
Ducasse merged 4 commits intopharo-project:Pharo14from
AlexisCnockaert:NewScopersPackage

Conversation

@AlexisCnockaert
Copy link
Collaborator

To improve scope precision we implemented with @DurieuxPol matching package name scopes based on the '-'. It let the user choose which things he wants to seek/change more easily. Needs test to check the behavior on a refactoring (at least that these new scopes are passed to the driver

Fixes #19005.

To improve  scope precision we implemented with @DurieuxPol matching package name scopes based on the '-'.
It let the user choose which things he wants to seek/change more easily.
Needs 1 test to check the behavior on a refactoring

Fixes pharo-project#19005.
@Ducasse
Copy link
Member

Ducasse commented Mar 7, 2026

[osx-64 / Tests-osx-64 / MacOSX64.Tests-osx-64.NewTools.Scopes.Tests.ScopesManagerTest.testNewScopeFromAPackageWithExtendedClasses](https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%20and%20branch%20Pipeline/job/PR-19394/1/testReport/junit/MacOSX64.Tests-osx-64.NewTools.Scopes.Tests/ScopesManagerTest/osx_64___Tests_osx_64___testNewScopeFromAPackageWithExtendedClasses/)
[osx-64 / Tests-osx-64 / MacOSX64.Tests-osx-64.NewTools.Scopes.Tests.ScopesManagerTest.testNewScopeFromASetOfPackages](https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%20and%20branch%20Pipeline/job/PR-19394/1/testReport/junit/MacOSX64.Tests-osx-64.NewTools.Scopes.Tests/ScopesManagerTest/osx_64___Tests_osx_64___testNewScopeFromASetOfPackages/)
[osx-64 / Tests-osx-64 / MacOSX64.Tests-osx-64.NewTools.Scopes.Tests.ScopesManagerTest.testNewScopeFromASinglePackageAndItsClasses](https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%20and%20branch%20Pipeline/job/PR-19394/1/testReport/junit/MacOSX64.Tests-osx-64.NewTools.Scopes.Tests/ScopesManagerTest/osx_64___Tests_osx_64___testNewScopeFromASinglePackageAndItsClasses/)
[osx-64 / Tests-osx-64 / MacOSX64.Tests-osx-64.NewTools.Scopes.Tests.ScopesManagerTest.testNewScopeFromASinglePackageAndSomeOfItsClasse](https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%20and%20branch%20Pipeline/job/PR-19394/1/testReport/junit/MacOSX64.Tests-osx-64.NewTools.Scopes.Tests/ScopesManagerTest/osx_64___Tests_osx_64___testNewScopeFromASinglePackageAndSomeOfItsClasses/)

@AlexisCnockaert
Copy link
Collaborator Author

@dionisiydk I made changes based on your review, you made a great point.
Also I will open a PR on NewTools for the new tests

AlexisCnockaert added a commit to AlexisCnockaert/NewTools that referenced this pull request Mar 9, 2026
These tests validate 3 behaviours: filtering based on prefix, `=`, and `hash` which are reimplemented on this new package.
(The PR for this new scope is pharo-project/pharo#19394)
@AlexisCnockaert
Copy link
Collaborator Author

pharo-spec/NewTools#1353 for the tests

@Ducasse Ducasse merged commit c63f33d into pharo-project:Pharo14 Mar 16, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] New scope for pattern matching with user current package

3 participants