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

delete unused ECL_LIB_GIT_VERSION #21677

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

oneWayOut
Copy link
Contributor

Since 'ecl' is nomore a git submodule, code lines related to 'ECL_LIB_GIT_VERSION' could be deleted

Solved Problem

I found that in src/lib/version/px_update_git_header.py (line 123) :

 if (os.path.exists('src/lib/ecl/.git')):

where 'ecl' used to be a submodule but now does not exist anymore, and the macro definition 'ECL_LIB_GIT_VERSION' is not referenced by any code, so it could be deleted.

Solution

  • delete unused code

Test coverage

  • tested in sitl

Since 'ecl' is nomore a git submodule, code lines related to
'ECL_LIB_GIT_VERSION' could be deleted
@dagar dagar merged commit 6ee2d79 into PX4:main Jun 6, 2023
82 of 84 checks passed
@oneWayOut oneWayOut deleted the DelEclGitVersion branch June 7, 2023 00:08
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.

None yet

2 participants