Commit Graph
2636 Commits
Author SHA1 Message Date
Axel Uhl 83cb23c78a Add one-shot migration to strip/remove legacy random= nonce docs from restore queue
Legacy documents in CONNECTIVITY_PARAMS_FOR_RACES_TO_BE_RESTORED stored the raw
paramURL including a random=<nonce> query parameter. Current keying (via
TracTracRaceTrackerImpl.getParamURLStrippedOfRandomParam) writes and deletes
using the paramURL stripped of that nonce, so the raw legacy copies can never be
matched by replaceOne/deleteOne. They linger indefinitely, inflate the restore
queue, and are re-attempted on every server start.

This mongosh migration auto-discovers every database in a replica set, skips
those without the collection, and for each nonce-bearing document either deletes
it (when a stripped twin already exists) or strips the random= parameter in
place (when it is the only copy). Dry-run by default; APPLY=1 executes and first
copies each affected document into a per-DB _NONCE_BACKUP collection for
rollback.

Assisted-By: Claude Opus 4.8 (claude-opus-5-5)
2026-09-28 22:52:42 +02:00
Axel Uhl edc2c0dffa sap issue 81: fixed use of wrong environment name in imageupgrade 2026-09-28 17:13:09 +02:00
Axel Uhl ca26fcf06a maptiles: no mongo clearing for maptiles server image 2026-09-24 15:42:03 +02:00
Axel Uhl bc71893d6e maptiles: probe for uv before running deploy_linux_host.py
The local branch of setup-maptiles-instance.sh runs
./linux_host/deploy_linux_host.py, which requires the "uv" tool. When uv
is not installed locally, the deployment failed. Probe for uv before the
pushd/deploy step and, if it is missing, prompt the user (defaulting to
No) before installing it via the official astral.sh installer. After a
confirmed install, source ~/.local/bin/env so uv is on PATH in the
current shell, then re-verify and abort with a clear message if it is
still missing or the user declines.

Assisted-By: Claude (claude-4.8-opus)
2026-09-24 15:38:10 +02:00
Axel Uhl bbabfc5b8a use bake.jsonc instead of config.jsonc for maptiles image creation 2026-09-24 11:57:20 +02:00
Axel Uhl 1174c119bc downstream issue 81: fixed use of SERVER in maptiles install 2026-09-24 10:55:19 +02:00
Axel Uhl cbbee2244e downstream issue 81: draft for maptiles server set-up and update prep 2026-09-24 10:47:11 +02:00
Axel Uhl 6430b85a7d new pluginsForEclipse2026-09.p2f for Eclipse 2026-09 2026-09-17 15:25:48 +02:00
Axel Uhl ffdf65b603 added force (-f) option to merge-upstream-to-downstream.sh;
this allows users to produce PRs with no file changes, yet updating,
e.g., merge paths
2026-09-15 14:19:44 +02:00
Axel Uhl 40cc60ca8f Fix Android SDK setup after runner image dropped legacy 'tools' package
The GitHub-hosted runner image rolled out on ~2026-09-14 ships
cmdline-tools 12.0, whose sdkmanager no longer resolves the obsolete
'tools' (legacy Android SDK Tools) package. The android-actions/setup-android
step inherits the action default packages 'tools platform-tools' and thus
failed with "Failed to find package 'tools'" (exit code 1) before the build
script even ran. The same request in buildAndUpdateProduct.sh would fail
the same way once reached.

Override the action's packages input to 'platform-tools' and drop the
trailing 'tools' argument from the sdkmanager call in
buildAndUpdateProduct.sh. build-tools, platform-tools and the platform
are still installed by the script. The cmdline-tools-version pin is left
unchanged.

Assisted-By: Claude (claude-4.8-opus)
2026-09-15 00:15:54 +02:00
Adrian Bollig 35068d7799 Remove java formatter from eclipse-preferences.epf
One should use the formatter in /java/CodeFormatter.xml instead
2026-09-14 22:58:33 +02:00
Axel Uhl ccaba4e1c9 show gh pr command 2026-09-14 22:58:04 +02:00
Axel Uhl 118c8deb3f Accept multiple .tar.gz content types when locating release archive asset
Prepare consumers for the release producer switching from an explicit
application/x-tar content type to the extension-inferred application/gzip.
All sites that locate the release tarball by asset content_type now accept
the set application/x-tar, application/gzip, application/x-gzip and
application/x-compressed-tar (the types commonly seen in the wild for a
gzip-compressed tar), instead of matching application/x-tar exactly.

This is behavior-preserving for existing application/x-tar releases and
forward-compatible with application/gzip releases, enabling a later,
risk-free switch of the release workflow to action-gh-release's files: input.

Consumers updated:
- GithubReleasesRepository.java (Set membership instead of String.equals)
- refreshInstance.sh (both jq selectors)
- github-download-release-assets.sh (both jq selectors)

Assisted-By: Claude (claude-4.8-opus)
2026-09-02 18:27:35 +02:00
Lisa a255319731 Update Onboarding Text and add updated configuration files (for plugins and eclipse settings) 2026-09-02 13:11:37 +02:00
Axel Uhl cd915f2ccb added configuration/approve-pr-for-build as a convenience script for PR handling, especially downstream 2026-08-29 23:48:03 +02:00
Axel Uhl b5218fa611 bash completion: list all options on a bare Tab after the command
Previously the option-name branch was guarded by `$cur == -*`, so a Tab
in option position with an empty current word produced nothing. Drop the
guard: compgen -W filters by $cur anyway, so an empty cur now lists every
option while a partial still narrows. Value completion is unaffected —
those cases return earlier in the function.

Assisted-By: Claude Opus 4.8
2026-08-28 21:03:45 +02:00
Axel Uhl 732be09a2d Add bash completion for merge-upstream-to-downstream.sh
Tab-completes the script's named options and, intelligently, their
values against the git repo containing the CWD:
  - remote-name options complete against 'git remote';
  - remote-branch options (--upstream/downstream/fork-branch) complete
    against the branches OF THE RESOLVED REMOTE, resolving each role to
    a remote with the same precedence the script uses (explicit
    --*-remote on the line > MERGE_U2D_* env var > built-in default);
  - --local-*-branch options complete against local branches.

Install by sourcing from ~/.bashrc or symlinking into a
bash-completion completions dir under the command's basename.

Assisted-By: Claude Opus 4.8
2026-08-28 21:00:24 +02:00
Axel Uhl 15486910e2 merge-upstream-to-downstream.sh: env-var defaults and step-7 PR-lookup fix
Add MERGE_U2D_* environment variables that seed the default for every
command-line option, with precedence CLI option > env var > built-in
default. This lets the script run with no arguments when e.g.
MERGE_U2D_FORK_REMOTE is exported from .bashrc; -h shows the live
resolved defaults.

Also fix the step-7 fallback so that when 'gh pr create' refuses because
an open PR already exists for the fork head (the older-head path, where
the push already updated it in place), the existing PR is found and its
URL reported instead of erroring. 'gh pr list --head' filters by branch
name only, so match on the bare fork branch plus a headRepositoryOwner
filter, mirroring the early idempotency check.

Assisted-By: Claude Opus 4.8
2026-08-28 20:54:52 +02:00
Axel Uhl 612690569e added configuration/merge-upstream-to-downstream.sh for automated PR generation 2026-08-28 20:46:48 +02:00
MashaKashirina 31f0e80564 Update createJenkinsJobForIssue.sh MacOS 2026-08-28 10:26:26 +02:00
Axel Uhl 86f4193930 make hudson.pyscript resilient against missing URL scheme 2026-07-27 13:33:38 +02:00
Axel Uhl 1ff577c496 bug6272: updated README about environments 2026-07-14 16:24:48 +02:00
Axel Uhl 68d4f78523 bug6272: fetching releases from https://raw.githubusercontent.com/eclipse-sailing-analytics/sailing-analytics/refs/heads/main/configuration/environments/ by default 2026-07-14 16:20:53 +02:00
Axel Uhl 97f55325b6 upstream change: refreshInstance.sh uses github.com:eclipse-sailing-analytics/sailing-analytics releases;
branding hint became generic ("YourBrand" instead of "SAP");
downstream should merge this with "-s ours" to keep the downstream branding
as is.
2026-07-14 14:41:59 +02:00
Generic Wiki User ae1982c290 Updated tractrac-json-urls 2026-07-11 18:06:16 +02:00
Axel Uhl 2d127fde3d bug6267: changing location of GWT fork repos from SAP to eclipse-sailing-analytics Github org 2026-06-30 14:50:07 +02:00
T Stokes f9a03bcc20 Merge branch 'thomas/hotfix' of github.com:sap/sailing-analytics into thomas/hotfix 2026-06-27 22:44:39 +01:00
T Stokes 4364ec5a36 Remove timeouts that are body params. 2026-06-27 22:34:40 +01:00
T Stokes 7a3ca1b16d Remove dead code 2026-06-27 22:34:11 +01:00
T Stokes 374d1baadf More paths stuff 2026-06-27 22:33:57 +01:00
Axel Uhl 88525acd97 Merge branch 'eclipse-main' into thomas/hotfix 2026-06-27 23:08:10 +02:00
T Stokes 650a7ea6e0 Fix check! return and add robots.txt check. 2026-06-27 21:53:41 +01:00
T Stokes a20433082f Fix paths and add robot.txt. 2026-06-27 21:41:44 +01:00
T Stokes af1ed1e149 Have a login page that is not part of the index. 2026-06-27 21:40:17 +01:00
Axel Uhl f3a43ca9dc USERNAME/PASSWORD env vars can be set now for createJenkinsJobForIssue.sh 2026-06-27 21:41:47 +02:00
T Stokes 7e5cc9568d Tidy gemfile 2026-06-27 11:41:05 +01:00
T Stokes 429aa6787a Capital 2026-06-27 11:40:50 +01:00
Axel Uhl fbc3a5ad57 renamed createHudsonJobForBug.sh to createJenkinsJobForBug.sh 2026-06-22 15:26:19 +02:00
Axel Uhl 7b77573b99 further Hudson-->Jenkins changes in createHudsonJobForBug.sh 2026-06-22 15:25:42 +02:00
Axel Uhl cd854c71fa Revert "fixed issue in github-download-workflow-artifacts.sh with parameter processing"
This reverts commit 0819c212fa.
2026-06-17 13:47:51 +02:00
Axel Uhl 3c967b8a9f Revert "removed bearer token from github-download- scripts;"
This reverts commit 87d5cd9e05.
2026-06-17 13:47:35 +02:00
Axel Uhl b1f4a81c1d fixed comment in github-download-release-assets.sh;
aftermath to removal of Github access token from parameter list
2026-06-17 00:48:31 +02:00
Axel Uhl 0819c212fa fixed issue in github-download-workflow-artifacts.sh with parameter processing 2026-06-16 18:43:37 +02:00
Axel Uhl 38c3576a85 use eclipse-sailing-analytics Github org for upstream ghcr interactions 2026-06-16 13:58:13 +02:00
Axel Uhl 87d5cd9e05 removed bearer token from github-download- scripts;
the repo is public now and no authentication is required to download
release and workflow artifacts anymore :-)
2026-06-16 11:09:46 +02:00
T Stokes 8abaeb36fa Tidy config.ru 2026-06-07 01:38:36 +01:00
T Stokes 10bb6fb6b9 Add freeze 2026-06-07 00:50:56 +01:00
T Stokes e91bf4b364 Rework session updates and define paths as constants. 2026-06-07 00:44:09 +01:00
T Stokes d366cf2e46 Delete session when used 2026-06-07 00:43:01 +01:00
T Stokes 09f7b7ed1e Remove duplicate and redis 2026-06-07 00:42:41 +01:00