agents.md
This file provides context for AI coding agents (Claude Code, GitHub Copilot, Cursor, etc.) working in this repository.
lib/ - Core PHP library (private and public APIs)core/ - Core app (login, file list, etc.)apps/ - Bundled appsconfig/ - Configuration samples and defaultsocs/ - OCS API endpointsocs-provider/ - OCS provider discoveryocm-provider/ - Open Cloud Mesh providerbuild/ - Build scripts and toolsl10n/ - Translationstests/ - Test suites (unit, integration, acceptance)Makefile - Build and test automationcomposer.json - PHP dependenciesphpcs.xml - PHP_CodeSniffer configurationphpstan.neon - PHPStan configurationCHANGELOG.md - Release historyconsole.php - CLI entry pointocc - ownCloud console CLI toolcron.php - Background job runnerindex.php - Web entry pointgit commit -s). Must follow Conventional Commits format.# Build (install all dependencies)
make
# Test (PHP unit)
make test-php-unit
# Test (JavaScript)
make test-js
# Test (acceptance - API)
make test-acceptance-api
# Test (acceptance - CLI)
make test-acceptance-cli
# Test (acceptance - Web User Interface)
make test-acceptance-webui
# Lint (PHP)
make test-php-style
# Fix code style
make test-php-style-fix
owncloud, created by GitHub (actions/*), verified on the GitHub Marketplace, or verified by the ownCloud Maintainers.uses: actions/checkout@<SHA> # vX.Y.Zgit pull --rebase and git rebase before pushing.git commit -S -s).Signed-off-by line (git commit -s).lib/private/ directory contains internal APIs; lib/public/ contains the stable public API