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

Create ece-patches bin command to apply patches #1185

Closed
wants to merge 1 commit into from

Conversation

ejaz-alam
Copy link

No description provided.

Copy link

what-the-diff bot commented Jul 5, 2024

PR Summary

  • Introduction of a new File that Streamlines 'ece-patches' Usage
    We've added a new file, compose/bin/ece-patches, which essentially acts as a bash script. Its purpose is to simplify and automate a series of checks and tasks related to ece-patches tool. It first ensures the tool is installed in the user's system, sets the necessary executable permissions, and concludes by running the tool with its provided arguments. The goal here is to reduce manual tasks and provide a more user friendly way to leverage the ece-patches capabilities.

echo "ece-patches tool is not installed, please reinstall."
fi

bin/cli chmod +x vendor/bin/ece-patches
Copy link
Contributor

Choose a reason for hiding this comment

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

We shouldn't have to run chmod each time.
If user has invalid permissions they should run this command as a one off.

fi

bin/cli chmod +x vendor/bin/ece-patches
bin/cli /app/vendor/bin/ece-patches "$@"
Copy link
Contributor

Choose a reason for hiding this comment

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

This path should be vendor/bin/ece-patches right? The same as above.

@DmitryFurs
Copy link
Contributor

DmitryFurs commented Jul 22, 2024

Hi @ejaz-alam I have already created such a pr #1171

сс @piotrkwiecinski

@ejaz-alam ejaz-alam closed this Jul 22, 2024
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