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

chore: make web commands executable #86

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

hanoii
Copy link
Contributor

@hanoii hanoii commented Oct 21, 2024

command files are made executable by default by ddev.

Just make sure all are executable so that upgrading the add on doesn't change the execute flag on the commands addon if we are tracking the addon on the project repo.

@rfay
Copy link
Member

rfay commented Oct 21, 2024

I certainly think that it's best for commands to be executable in git, but the web-based view doesn't make it obvious that you're just changing perms.

@stasadev
Copy link
Member

I see the change from 644 to 755:

image

@rfay
Copy link
Member

rfay commented Oct 22, 2024

I see the change, but on empty file. I couldn't understand why it was an empty file.

@hanoii
Copy link
Contributor Author

hanoii commented Oct 22, 2024

Files are definitely not empty.. agree it's confusing https://github.com/hanoii/ddev-drupal-contrib/tree/commands-executable/commands/web

@stasadev
Copy link
Member

I think I'm used to it, because I've seen similar behavior when changing file permissions locally in GitKraken.

@weitzman weitzman merged commit a687b79 into ddev:main Oct 23, 2024
6 checks passed
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.

4 participants