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

IEP-720: Fix for python script errors #560

Merged
merged 2 commits into from Aug 2, 2022
Merged

IEP-720: Fix for python script errors #560

merged 2 commits into from Aug 2, 2022

Conversation

alirana01
Copy link
Collaborator

  • Updated and refactored code to return status from commands execution method.
  • Added a job change listener to look for error status from job
  • Added the ability to revert back to old env vars incase of failures

Existing flows and with errors are working fine but it still needs to be tested on Linux and Mac

@alirana01 alirana01 self-assigned this Jun 27, 2022
@AndriiFilippov
Copy link
Collaborator

@alirana01 hi !

Tested under:
Linux / Windows

Test case: go to esp-idf/tools folder -> change idf_tools.py with some mistake -> run " Install Tools" -> go to "Window"->Preferences->C/C++ -> Build -> Environment -> See logs:

before:
image

after:
image

LGTM 👍

Copy link
Collaborator

@sigmaaa sigmaaa left a comment

Choose a reason for hiding this comment

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

LGTM

@kolipakakondal
Copy link
Collaborator

Hi @alirana01 Could you please fix the conflicts and merge this PR

- Updated and refactored code to return status from commands execution method.
- Added a job change listener to look for error status from job
- Added the ability to revert back to old env vars incase of failures

Existing flows and with errors are working fine but it still needs to be tested on Linux and Mac
@kolipakakondal kolipakakondal merged commit 33a502a into master Aug 2, 2022
@kolipakakondal kolipakakondal deleted the IEP-720 branch August 2, 2022 17:52
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

4 participants