mirror of
https://github.com/WSA-Installer/wsa-webdav.git
synced 2026-07-29 11:24:16 -07:00
1.6 KiB
1.6 KiB
Contributing to WSA WebDev
Thank you for your interest in contributing to WSA WebDev!
How to Contribute
Reporting Bugs
- Check existing issues first
- Open a new issue with:
- Clear title and description
- Steps to reproduce
- Expected vs actual behavior
- Device/environment details
Suggesting Features
- Open a feature request
- Describe the problem and proposed solution
Pull Requests
- Fork the repository
- Create a feature branch
- Make your changes
- Test on WSA
- Submit a Pull Request
Development Setup
Prerequisites
- JDK 17
- Python 3
- Android SDK (auto-installed by build script)
- WSA with ADB access
Building
# Windows
build.bat
# Linux/Mac
./build.sh
The build script will:
- Check Java installation
- Download Android SDK if needed
- Generate Kotlin source files
- Build the APK
Testing
- Install the APK:
adb install output/app-release.apk - Start the server:
adb shell am start -n com.wsa.webdav/.MainActivity - Access the web file manager:
http://127.0.0.1:8088 - Test WebDAV:
curl -X PROPFIND http://127.0.0.1:8088/files/
Code Style
Kotlin
- Follow Kotlin coding conventions
- Use meaningful variable names
- Add KDoc comments for public APIs
Build Script
- Python 3 compatible
- No external dependencies (stdlib only)
- Use
write_bytes()for file output
License
By contributing, you agree that your contributions will be licensed under the MIT License.