-
-
Notifications
You must be signed in to change notification settings - Fork 362
chore(Deploy): update install font script #6611
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
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe PR updates the Linux deployment script to automate the installation of the Chinese support font by piping confirmation into the apt installer, ensuring non-interactive execution. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ArgoZhang - I've reviewed your changes and they look great!
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location> `scripts/linux/deploy.sh:43` </location>
<code_context>
echo "*********************** install support font ***********************"
-sudo apt install fonts-wqy-microhei
+yes|sudo apt install fonts-wqy-microhei
echo "*********************** install DOTNET ***********************"
</code_context>
<issue_to_address>
Consider using non-interactive flags for apt install instead of piping 'yes'.
Piping 'yes' to apt may cause issues if additional prompts appear. Use the '-y' flag for a safer, non-interactive installation.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
yes|sudo apt install fonts-wqy-microhei
=======
sudo apt install -y fonts-wqy-microhei
>>>>>>> REPLACE
</suggested_fix>
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
||
echo "*********************** install support font ***********************" | ||
sudo apt install fonts-wqy-microhei | ||
yes|sudo apt install fonts-wqy-microhei |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Consider using non-interactive flags for apt install instead of piping 'yes'.
Piping 'yes' to apt may cause issues if additional prompts appear. Use the '-y' flag for a safer, non-interactive installation.
yes|sudo apt install fonts-wqy-microhei | |
sudo apt install -y fonts-wqy-microhei |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6611 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 721 739 +18
Lines 31562 31672 +110
Branches 4450 4458 +8
==========================================
+ Hits 31562 31672 +110
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Link issues
fixes #6610
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Chores: