I want to implement my own plugin, what should i look out for?

if i would like to customize and extend gitea, how can i do it without affecting gitea upgrades and being compatible with gitea in future?

To customize and extend Gitea without affecting upgrades and ensuring future compatibility, consider using the following approach:

  1. Use Tools and Scripts: Develop external tools or scripts that interact with Gitea’s API instead of modifying the core code.
  2. Create Plugins: Check if Gitea supports plugins or extensions, allowing custom features without altering the core.
  3. Submit Contributions: Contribute your custom features to the Gitea project, potentially integrating them into the main codebase.
  4. Fork Gitea: If extensive customization is necessary, fork the Gitea repository and maintain your version, but keep it updated with the upstream changes to ensure compatibility.