Commit 1066408
build: drop the appstore target in favour of dist [4.2] (#635)
Backport of the master-side change for #622. The `Makefile` was byte-identical
between the two branches, so the resulting file is identical to master's.
The Makefile had two packaging targets. `dist` copies an explicit allowlist
(`all_src`); `appstore` rsynced the whole working tree and subtracted a
hand-maintained exclude list, writing to `build/richdocuments.tar.gz`, which
nothing reads. Only the denylist rotted. On this branch it lets through 13
tracked root entries that are not part of `all_src`:
.eslintrc.json .github .php-cs-fixer.dist.php .prettierrc.json
.tsconfig.json CHANGELOG.md package.json pnpm-lock.yaml
pnpm-workspace.yaml sonar-project.properties
src tsconfig.json vite.config.ts
It also excluded `vendor/bin` and `vendor-bin` but never `vendor` or
`node_modules`, so after any build it packaged those too - which now includes
the karma tree, since #630 gave this branch a `test-js` target. Five of its
excludes name files that no longer exist (`.drone.star`, `.php_cs.dist`,
`.scrutinizer.yml`, `nbproject`, `screenshots`), and it called
`occ integrity:sign-app` unconditionally, so it failed without release
certificates present.
Nothing consumes it here: this branch has no `release.yml`, and `dist` is what
the release workflow publishes on the branches that do.
Removed with it, all dead once the target is gone: `project_dir`, `sign_dir`,
`appstore_dir`, `source_dir`, `package_name`, and a duplicate `occ=` assignment
that the later `occ=$(CURDIR)/../../occ` already overrode. Also dropped the two
references to `$(bower_deps)`, undefined here since #630.
No documentation change: this branch has no AGENTS.md.
The released artifact is unchanged, verified rather than argued: `make dist` in
`owncloudci/php:8.3` produces a tarball whose 167 entries are byte-identical to
the one built from the parent commit, and `make help` output is identical too.
Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent abd4c31 commit 1066408
1 file changed
Lines changed: 2 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 15 | | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| |||
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 24 | | |
62 | 25 | | |
63 | 26 | | |
| |||
97 | 60 | | |
98 | 61 | | |
99 | 62 | | |
100 | | - | |
| 63 | + | |
101 | 64 | | |
102 | 65 | | |
103 | 66 | | |
| |||
124 | 87 | | |
125 | 88 | | |
126 | 89 | | |
127 | | - | |
| 90 | + | |
128 | 91 | | |
129 | 92 | | |
130 | 93 | | |
| |||
0 commit comments