Skip to content

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

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

Add a one-command refresh against upstream MEOS#27
estebanzimanyi merged 2 commits into
MobilityDB:mainfrom
estebanzimanyi:tooling/one-command-refresh

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

What

tools/refresh-from-master.sh refreshes the MeosOps* facades 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 facades — so a developer runs one command instead of walking four repos by hand. Options pass through (e.g. --mdb ~/src/MobilityDB, --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 MobilitySpark.
  • GENERATION.md leads with the one-liner.
  • .gitignore excludes the wrapper's .meos-chain/ scratch dir.

Dependency

The base is the JMEOS-build uniformization PR (which switches the jar coordinates to org.jmeos:meos:1.0); the diff carries both commits.

MobilityKafka built the JMEOS jar through its own build-jmeos.sh and depended on
it as com.mobilitydb:jmeos:1.4.0, while MobilitySpark and MobilityFlink build JMEOS
main directly and install the jar as org.jmeos:meos:1.0.

Adopt the same build and coordinates: CI checks out JMEOS, builds it against the
provisioned catalog and libmeos, and installs jar/JMEOS.jar as org.jmeos:meos:1.0;
the binding depends on those coordinates; the tests load libmeos from /usr/local/lib
where provision-meos installs it. build-jmeos.sh is removed; GENERATION.md, README
and the benchmark doc describe the shared build.
tools/refresh-from-master.sh refreshes the MeosOps* facades 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 facades. 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 acfe382 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