This is an automated email from the ASF dual-hosted git repository.

dave2wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-forums.git


The following commit(s) were added to refs/heads/main by this push:
     new eefcd38  Cleaner procedures
eefcd38 is described below

commit eefcd382214804e19aeb1ad5b3660aec496cdd40
Author: Dave Fisher <[email protected]>
AuthorDate: Tue Nov 24 13:42:44 2026 -0800

    Cleaner procedures
---
 phpBB/.gitignore      |  2 ++
 phpBB/README.md       | 41 +++++++++++++++++++++++++++++++++++++----
 phpBB/aoo-assemble.sh |  3 +++
 3 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/phpBB/.gitignore b/phpBB/.gitignore
new file mode 100644
index 0000000..ffbc293
--- /dev/null
+++ b/phpBB/.gitignore
@@ -0,0 +1,2 @@
+ref*/
+dependabot-alerts.json
diff --git a/phpBB/README.md b/phpBB/README.md
index 3c9b697..524e202 100644
--- a/phpBB/README.md
+++ b/phpBB/README.md
@@ -32,14 +32,47 @@ Change the version numbers as necessary. Make sure from 
phpbb.com that there are
 
   Two directories are created.
 
-  1. `ref3.3.19` - the release with our languages and images included
-  2. `com3.3.19` - The `ref` with the `aoo-changes.patch` applied.
+  1. `ref3.3.19` - the release with our languages and images included. This is 
a local
+     working copy only. It is rebuilt from the downloads on every run and is 
not
+     committed (see `.gitignore`).
+  2. `com3.3.19` - The `ref` with the `aoo-changes.patch` applied. This is 
what is
+     committed and installed.
 
-- Update the GitHub repository.
+  The script also removes files that should not be deployed or committed:
+
+  - `config.php` and the `files` directory - each forum keeps its own.
+  - `ext/phpbb/viglink/composer.lock` - an unused development lock file which 
only
+    triggers GitHub dependabot alerts.
+
+- Review the result. If `patch` reports failed hunks, or our changes need to 
be revised,
+  edit the files in `com3.3.19` and recreate the patch as described below.
+
+- Update the GitHub repository. Commit `com3.3.19`, the patch, the scripts and 
the
+  downloads. Do not commit `ref3.3.19`.
 
   1. `git add` or equivalent.
   2. `git commit` or equivalent.
-  3. `git [ush` or equivalent.
+  3. `git push` or equivalent.
+
+## Recreating the patch
+
+`aoo-changes.patch` holds our changes to phpBB. To change them, edit the files 
in
+`com3.3.19` and then recreate the patch from the two directories:
+
+```bash
+diff -ruN -U10 --exclude='*.gif' --exclude='*.png' --exclude='*.jpg' 
--exclude='*.jpeg' --exclude='*.ico' --exclude='*.pdf' ref3.3.19 com3.3.19 > 
aoo-changes.patch
+```
+
+If `ref3.3.19` is not present, run `aoo-assemble.sh` first. It rebuilds both 
directories,
+so save edited files from `com3.3.19` elsewhere before running it.
+
+## Dependabot alerts
+
+GitHub dependabot reports vulnerabilities from `com3.3.19/composer.lock`. 
These libraries
+are the ones bundled with the phpBB release and are pinned by phpBB to old 
major versions
+(Symfony 3.4, Twig 2, Guzzle 6), so the alerts cannot be fixed by updating a 
library on
+its own. Review new alerts for whether phpBB actually uses the affected code, 
dismiss
+those that do not apply, and leave the rest open until a phpBB release 
resolves them.
 
 ## Backup
 
diff --git a/phpBB/aoo-assemble.sh b/phpBB/aoo-assemble.sh
index a9a6f1f..187ba65 100644
--- a/phpBB/aoo-assemble.sh
+++ b/phpBB/aoo-assemble.sh
@@ -86,6 +86,9 @@ cp  ../aoo-setup/images/icons/misc/spacer.gif 
images/icons/misc/.
 cp  -rp ../aoo-setup/images/ranks images/.
 cp  -rp ../aoo-setup/images/smilies images/.
 
+# the VigLink extension's development lock file is not used and only triggers 
dependabot alerts
+rm -f ext/phpbb/viglink/composer.lock
+
 cd ..
 
 # create AOO forum deployment

Reply via email to