Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Make FileLock path configurable

This PR addresses issue #63 by making the FileLock path configurable in the OpenSerial class:

  • Add lock_path parameter to OpenSerial.init
  • Default to /tmp/serial.lock or NOTECARD_SERIAL_LOCK_PATH env var
  • Fix docstring formatting

Testing

  • Manual testing with custom lock path
  • Manual testing with environment variable
  • Manual testing with default path

Link to Devin run: https://app.devin.ai/sessions/5127404bd9bf4bb3a043924f0e975461

Fixes #63

- Add lock_path parameter to OpenSerial.__init__
- Default to /tmp/serial.lock or NOTECARD_SERIAL_LOCK_PATH env var
- Fix docstring formatting

Fixes #63

Co-Authored-By: rlauer@blues.com <rlauer@blues.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@rdlauer rdlauer requested a review from Bucknalla January 30, 2025 20:08
Copy link
Collaborator

@Bucknalla Bucknalla left a comment

Choose a reason for hiding this comment

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

Makes sense, LGTM

@rdlauer rdlauer merged commit 63e3dca into main Feb 4, 2025
6 checks passed
@rdlauer rdlauer deleted the devin/1738266464-filelock-config branch February 4, 2025 19:08
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.

File lock on read only systems

3 participants