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

refactor: rename charging profile callback variables for clarity Signed-off-by: thenaserov naser.rezayi.nr@gmail.com #981

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thenaserov
Copy link

  • Updated all related comments in Doxygen and code to align with the new naming convention.

  • The new name clarifies that the callback is triggered whenever charging profiles are updated, not just when they are set.

  • [*] I have performed a self-review of my code

  • [*] I have made corresponding changes to the documentation

  • [*] If OCPP 2.0.1: I have updated the OCPP 2.0.1 status document

  • [*] I read the contribution documentation

@Pietfried Pietfried linked an issue Feb 9, 2025 that may be closed by this pull request
@hikinggrass
Copy link
Contributor

Thanks for the PR, this is just a formality, but could you add a sign-off line to your commit as stated in the failing CI step "DCO"? https://github.com/EVerest/libocpp/pull/981/checks?check_run_id=36899394931
Otherwise we won't be able to merge this even after an approval 😢

@thenaserov thenaserov changed the title refactor: rename charging profile callback variables for clarity refactor: rename charging profile callback variables for clarity Signed-off-by: thenaserov naser.rezayi.nr@gmail.com Feb 10, 2025
@thenaserov
Copy link
Author

thenaserov commented Feb 10, 2025 via email

@hikinggrass
Copy link
Contributor

Hello and thank you for your consideration! Is this one correct?

Almost 🙂 there's a how-to in the link I commented, you basically add this sign-off line to your commit and force-push to this branch again, I quote:

To add your Signed-off-by line to every commit in this branch:
Ensure you have a local copy of your branch by checking out the pull request locally via command line.
In your local branch, run: git rebase HEAD~1 --signoff
Force push your changes to overwrite the branch: git push --force-with-lease origin charging_profile_callbacks_update

…ed-off-by: Naser Rezaei naser.rezayi.nr@gmail.com

- Renamed  and  to  to better reflect their purpose.
- Updated all related comments in Doxygen and code to align with the new naming convention.
- The new name clarifies that the callback is triggered whenever charging profiles are updated, not just when they are set.

Signed-off-by: thenaserov <naser.rezayi.nr@gmail.com>
@thenaserov thenaserov force-pushed the charging_profile_callbacks_update branch from d47c378 to f361b1f Compare February 11, 2025 04:44
@thenaserov
Copy link
Author

thenaserov commented Feb 11, 2025 via email

@hikinggrass
Copy link
Contributor

Dear Kai I just followed and took actions for the mentioned issue you helped me with! Thanks a million! I did the push. So happy to have my very first contribution (very small one). Regards

Thanks! I've just triggered the build & test ci pipeline and it looks like there are still some build errors. Can you have a look at those?

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.

Rename charging profile callbacks
3 participants