Skip to content

chore(dogfood): Avoid calling ~/personalize unless executable #5793

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

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

mafredri
Copy link
Member

This PR changes the dogfood startup script to only execute personalize if it has the executable bit. It won't fallback to running via sh so that users can chmod -x to disable it.

While we're atting, make logging to personalize.log consistent so that we start with an empty log and only append (not truncate between use).

@mafredri mafredri self-assigned this Jan 19, 2023
@mafredri mafredri requested a review from ammario January 19, 2023 18:52
@mafredri mafredri enabled auto-merge (squash) January 19, 2023 18:59
@mafredri mafredri merged commit f0df068 into main Jan 19, 2023
@mafredri mafredri deleted the mafredri/chore-fix-dogfood-personalize branch January 19, 2023 19:02
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants