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 usage of categories in MCOrganizationDefinition #1732

Conversation

jecisc
Copy link
Contributor

@jecisc jecisc commented Sep 6, 2023

Base the organization definition on packages and tags instead of categories.

#ensureMCClassOrganisationHasCorrectStructure: has been simplified because now the organization knows the package and we do not need to do magic to ensure we have the right one

IcePackageDefinition has been updated to use the package name and tag names instead of categories.

This change includes #1728

Iceberg implemented its own MCPackage>>snapshot method to modify the one of Monticello. 

The method of Monticello was updated to use the same change as Iceberg but also it was updated to reduce the number of categories (package-tag) manipulations. I want to check here if we could use this new version for Iceberg too as a step toward getting rid of the categories in Pharo
Base the organization definition on packages and tags instead of categories.

#ensureMCClassOrganisationHasCorrectStructure: has been simplified because now the organization knows the package and we do not need to do magic to ensure we have the right one

IcePackageDefinition has been updated to use the package name and tag names instead of categories.

This change includes pharo-vcs#1728
@jecisc
Copy link
Contributor Author

jecisc commented Sep 6, 2023

This is currently broken because of Tonel

@jecisc
Copy link
Contributor Author

jecisc commented Sep 15, 2023

The failing tests seems to work in the latest Pharo 12. Let's restart the CI

@jecisc
Copy link
Contributor Author

jecisc commented Sep 15, 2023

This PR is now working :)

jecisc added a commit to jecisc/pharo that referenced this pull request Sep 16, 2023
Now that we have TonelV3 and Iceberg is been updated to never set categories in MCOrganizationDefinition, we can rely less on categories.

This change needs this PR of ICeberg to be integrated in order to work well: pharo-vcs/iceberg#1732
@Ducasse Ducasse merged commit 989c418 into pharo-vcs:dev-2.0 Sep 17, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants