|
| 1 | +# Contributing to FFmpeg.AutoGen |
| 2 | + |
| 3 | +Thank you for your interest in contributing to FFmpeg.AutoGen! |
| 4 | + |
| 5 | +## Project Status |
| 6 | + |
| 7 | +This project is transitioning to a semi-managed model. The maintainer welcomes contributions from the community! |
| 8 | + |
| 9 | +**Maintainer:** Ruslan Balanukhin ([@Ruslan-B](https://github.com/Ruslan-B)) |
| 10 | + |
| 11 | +## How to Contribute |
| 12 | + |
| 13 | +### Reporting Issues |
| 14 | + |
| 15 | +- Check if the issue already exists |
| 16 | +- Provide a clear description and steps to reproduce |
| 17 | +- Include relevant code samples and FFmpeg version information |
| 18 | + |
| 19 | +### Submitting Pull Requests |
| 20 | + |
| 21 | +1. **Fork the repository** and create your branch from `8.0` or `master` |
| 22 | + ```bash |
| 23 | + git checkout -b feature/my-new-feature |
| 24 | + ``` |
| 25 | + |
| 26 | +2. **Make your changes** |
| 27 | + - Follow existing code style |
| 28 | + - Add tests if applicable |
| 29 | + - Update documentation if needed |
| 30 | + |
| 31 | +3. **Test your changes** |
| 32 | + ```bash |
| 33 | + dotnet build -c Release |
| 34 | + dotnet test -c Release |
| 35 | + ``` |
| 36 | + |
| 37 | +4. **Commit your changes** |
| 38 | + - Use clear commit messages |
| 39 | + - Reference related issues |
| 40 | + |
| 41 | +5. **Push to your fork** and submit a pull request to the `8.0` branch |
| 42 | + |
| 43 | +6. **Wait for review** |
| 44 | + - The maintainer will review your PR |
| 45 | + - Be ready to make changes if requested |
| 46 | + |
| 47 | +## Development Setup |
| 48 | + |
| 49 | +### Prerequisites |
| 50 | + |
| 51 | +- Visual Studio 2022 with C# and C++ desktop development workloads |
| 52 | +- Windows SDK for desktop |
| 53 | +- .NET 6.0, 8.0, and 9.0 SDKs |
| 54 | + |
| 55 | +### Building |
| 56 | + |
| 57 | +```bash |
| 58 | +dotnet build -c Release |
| 59 | +``` |
| 60 | + |
| 61 | +### Running Tests |
| 62 | + |
| 63 | +```bash |
| 64 | +dotnet test -c Release |
| 65 | +``` |
| 66 | + |
| 67 | +### Regenerating Bindings |
| 68 | + |
| 69 | +Run the `FFmpeg.AutoGen.CppSharpUnsafeGenerator` project to regenerate all `*.g.cs` files. |
| 70 | + |
| 71 | +## Code of Conduct |
| 72 | + |
| 73 | +- Be respectful and inclusive |
| 74 | +- Focus on constructive feedback |
| 75 | +- Help create a welcoming environment for all contributors |
| 76 | + |
| 77 | +## License |
| 78 | + |
| 79 | +By contributing, you agree that your contributions will be licensed under the MIT License. |
| 80 | + |
| 81 | +## Questions? |
| 82 | + |
| 83 | +For general usage questions, please use: |
| 84 | +- [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=ffmpeg%20autogen) |
| 85 | +- [Questions Repository](https://github.com/Ruslan-B/FFmpeg.AutoGen.Questions/issues) |
| 86 | + |
| 87 | +For project-specific questions about contributions, open an issue in this repository. |
0 commit comments