add update flag support and logging functionality in OCR4Linux.sh#27
add update flag support and logging functionality in OCR4Linux.sh#27
Conversation
…ity in OCR4Linux.sh
|
Caution Review failedFailed to post review comments 📝 WalkthroughSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughBumps project version to 1.4.1, adds an update helper and timestamped logging to OCR4Linux.sh with a new -u/--update option, updates CI workflow permissions/formatting, and extends .gitignore to ignore Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant OCR4Linux.sh as Script
participant GitRemote as GitRemote
participant Setup as setup.sh
User->>Script: run `OCR4Linux.sh -u` / `--update`
Script->>Script: log_message("update requested")
Script->>User: print update steps (git fetch, checkout, pull, run setup.sh)
User->>GitRemote: run suggested git commands (fetch/checkout/pull)
GitRemote-->>User: provide updated repo
User->>Setup: run suggested `./setup.sh`
Setup-->>User: perform installation steps
Script->>User: exit
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1- added update instructions using the -u or --update flag
2- added permissions: read to the linters workflows
3- closes #26