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 ACM properties #2318

Merged
merged 4 commits into from
Jun 19, 2024
Merged

Conversation

bernardnormier
Copy link
Member

This PR removes all the ACM properties.

@bernardnormier bernardnormier requested a review from pepone June 19, 2024 15:00
@@ -46,7 +29,7 @@ PropertyNames.IceProps = [
new Property("Ice.Admin.Locator.Locator", false, "", false),
new Property("Ice.Admin.Locator.Router", false, "", false),
new Property("Ice.Admin.Locator.CollocationOptimized", false, "", false),
new Property("^Ice.Admin.Locator.Context..", true, "", false),
new Property("^Ice\.Admin\.Locator\.Context\..", true, "", false),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me why this regeneration added these escapes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The escapes look correct, if I recall correctly Joe committed a fix for the handling of regexp in JavaScript.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what it's worth, the escapes are always added by the script,
but Prettier removed them when JS got reformatted.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting

Copy link
Member

@pepone pepone Jun 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, if we want to escape the dot, shouldn't it be \\., otherwise \. is just .

I guess the best is to create a separate issue, it seems unrelated to the PR.

js/src/Ice/PropertyNames.js Outdated Show resolved Hide resolved
export const PropertyNames = {};
PropertyNames.IceProps = [
PropertyNames.IceProps =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can run npx prettier --write src/Ice/PropertyNames.js in js to reformat this file. I didn't have time to add the style checker to CI yet.

Copy link
Member

@pepone pepone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, see comments.

@bernardnormier bernardnormier merged commit 65f3190 into zeroc-ice:main Jun 19, 2024
15 of 16 checks passed
@bernardnormier bernardnormier deleted the xacmprops branch December 9, 2024 17:07
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
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.

3 participants