Skip to content

Add a one-command refresh against upstream MEOS - #45

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:tooling/one-command-refresh
Jul 28, 2026
Merged

Add a one-command refresh against upstream MEOS#45
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:tooling/one-command-refresh

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

What

tools/refresh-from-master.sh refreshes the generated UDF layer against upstream MEOS in one command:

tools/refresh-from-master.sh

It runs the shared MobilityDB/MEOS-API refresh-jvm-chain.sh over this repo — deriving libmeos and the catalog from MobilityDB master, building the JMEOS jar, and regenerating the surface — so a developer runs one command instead of walking four repos by hand. Options pass through (e.g. --mdb ~/src/MobilityDB to refresh against a local MobilityDB branch, --skip-tests).

Files

  • tools/refresh.conf — this consumer's last leg: the repo-root Maven module, the org.jmeos:meos:1.0 jar coordinates, and the mvn … clean test command.
  • tools/refresh-from-master.sh — the thin wrapper that locates the shared script (cloning MEOS-API master the first time) and calls it. Byte-identical to the one in MobilityFlink and MobilityKafka.
  • GENERATION.md leads with the one-liner.
  • .gitignore excludes the wrapper's .meos-chain/ scratch dir.

Note

The one-liner uses refresh-jvm-chain.sh and provision-meos.sh from MEOS-API; the wrapper clones MEOS-API master to obtain them, so this PR is self-contained.

tools/refresh-from-master.sh refreshes the generated UDF layer against upstream
MEOS in one command: it runs the shared MEOS-API refresh-jvm-chain.sh over this
repo, deriving libmeos and the catalog from MobilityDB master, building the JMEOS
jar, and regenerating the surface. tools/refresh.conf holds this consumer last leg
(the repo-root module, the org.jmeos:meos:1.0 coordinates, the mvn command).

GENERATION.md leads with the one-liner; .gitignore excludes the .meos-chain scratch.
@estebanzimanyi
estebanzimanyi merged commit 8b65125 into MobilityDB:main Jul 28, 2026
1 check passed
@estebanzimanyi
estebanzimanyi deleted the tooling/one-command-refresh branch July 28, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant