Skip to content

copilot-core: Compliance with style guide (partial) (3) #457

@ivanperez-keera

Description

@ivanperez-keera

Description

To comply with our NASA Class D requirements, our code must abide by a style guide.

This is the third issue pertaining to style changes for conformance with Class D within copilot-core. We focus only on copilot-core to limit the size of the issue.

Type

  • Management: conformance with new requirement.

Additional context

Requester

  • Ivan Perez

Method to check presence of bug

Not applicable (not a bug).

Expected result

All Copilot code conforms to the following rules:

  • Variable and function names should be lowerCamelCase.

Desired result

All code complies with the rules above.

Proposed solution

Deprecate Copilot.Core.Type.typename, Copilot.Core.Type.tylength, Copilot.Core.Type.tysize, Copilot.Core.Type.fieldname, Copilot.Core.Type.accessorname, Copilot.Core.Type.Array.arrayelems, and define corresponding functions with lowerCamelCase names.

Update all uses across all of copilot to match the new function names.

Further notes

These changes are public facing, they affect functions that are part of the API. We need to follow the deprecation policy for them.

Metadata

Metadata

Labels

CR:Status:ClosedAdmin only: Change request that has been completedCR:Type:ManagementAdmin only: Change request for conformance with policies or procedures

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions