Contributing to Uniform::HTMX::PSGI
Thank you for considering contributing! Community feedback and pull requests help keep this module reliable and secure.
Development Setup
-
Fork and Clone the Repository:
git clone [https://github.com/your-username/Uniform-HTMX-PSGI.git](https://github.com/your-username/Uniform-HTMX-PSGI.git) cd Uniform-HTMX-PSGI -
Install Dependencies: Ensure you have
Uniform::HTMXinstalled or cloned locally:cpanm --installdeps . -
Run the Test Suite: All pull requests must pass the test suite cleanly:
prove -Ilib -v t/ -
Test Live in Browser: Use the included PSGI script to verify browser interaction end-to-end:
plackup -Ilib app.psgi
Guidelines
- Code Style: Follow standard Perl best practices (
use strict; use warnings;). - Minimal Dependencies: Avoid adding heavy runtime dependencies unless strictly required.
- Test Coverage: Any bug fix or new feature must include a corresponding test in
t/. - Backward Compatibility: Ensure changes do not break standard PSGI arrayref responses or
Plack::Responseobject handling.
Pull Request Process
- Create a feature branch off
main(git checkout -b feature/my-feature). - Commit your changes with clear, descriptive commit messages.
- Push to your branch and submit a Pull Request.
- Ensure all continuous integration checks pass.