Skip to content

build: exclude development files from app releases - #226

Open
skjnldsv wants to merge 1 commit into
mainfrom
fix/nextcloudignore
Open

skjnldsv wants to merge 1 commit into
mainfrom
fix/nextcloudignore

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

The release build still has to delete these development files itself because this app's .nextcloudignore doesn't list them. nextcloud-releases/server#137 now reports that per app. This adds them, anchored to the app root and sorted like recommendations' file. composer.json, package.json and their lock files stay in the release on purpose, for traceability.

It also stops removing composer.json and package.json. Existing entries are now anchored to the app root, which doesn't change what ships. It also drops entries for files that no longer exist on any branch. It also ignores dev files found in this repo: /.githooks, /CODE_OF_CONDUCT.md, /vitest.setup.ts.

I checked it with git ls-files -ci --exclude-from=.nextcloudignore on main, stable35 and stable34: no development file is left at the root, and nothing else changes in what ships.

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

List every development file the release tooling still has to remove, anchored to the app root and sorted, so the app's own .nextcloudignore covers them. composer.json, package.json and their lock files stay in the release for traceability.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv added 3. to review Waiting for reviews backport-request A backport was requested for this pull request enhancement New feature request labels Nov 13, 2026
@skjnldsv skjnldsv self-assigned this Nov 13, 2026
@skjnldsv
skjnldsv enabled auto-merge November 13, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews backport-request A backport was requested for this pull request enhancement New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant