Skip to content

build(appstore): exclude development files from the app package - #452

Merged
AndyScherzinger merged 1 commit into
mainfrom
chore/nextcloudignore
Oct 27, 2026
Merged

AndyScherzinger merged 1 commit into
mainfrom
chore/nextcloudignore

Conversation

@AndyScherzinger

Copy link
Copy Markdown
Member

The 0.1.5-beta.3 tarball (and every release before it) ships files that are only used for development: .github/ (CI workflows, Dependabot config), .tx/, .l10nignore, AGENTS.md, CLAUDE.md, eslint.config.js and vitest.config.ts.

Changes:

  • Add .nextcloudignore with the package exclusions, following what other Nextcloud apps keep there.
  • make appstore now uses rsync --exclude-from=.nextcloudignore instead of its inline --exclude list. The release workflow packages with make appstore because the app has no krankerl.toml, so .nextcloudignore alone would have no effect. With this change, both packaging paths read the same list.

All previous exclusions are kept. LICENSES/, REUSE.toml, vendor/ (the editor's runtime libraries) and the source maps stay in the package.

Tested with make appstore in WSL. The package now has only AUTHORS.md, CHANGELOG.md, LICENSE, LICENSES/, REUSE.toml, appinfo/, img/, js/, l10n/, lib/, screenshots/, templates/ and vendor/ at the top level, with no dotfiles outside vendor/ apart from l10n/.gitkeep.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

The release tarball shipped the CI workflows, Transifex config, agent
instructions and the ESLint and Vitest configs. Move the package
exclusions to .nextcloudignore, the file krankerl reads, and let the
Makefile's rsync use it via --exclude-from so both packaging paths
share one list.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Oct 26, 2026
@AndyScherzinger AndyScherzinger added this to the v0.2.0 milestone Oct 27, 2026
@AndyScherzinger

Copy link
Copy Markdown
Member Author

/backport to stable-0.1

@AndyScherzinger
AndyScherzinger merged commit cc8d642 into main Oct 27, 2026
8 checks passed
@AndyScherzinger
AndyScherzinger deleted the chore/nextcloudignore branch October 27, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted This PR contains AI-assisted commits

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants