Skip to content

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

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#49
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 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. All of that script's 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 binding 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.
  • GENERATION.md leads with the one-liner; the module it names is binding, matching the current layout.
  • .gitignore excludes the wrapper's .meos-chain/ scratch dir.

Proof

A local run over this repo derives libmeos + catalog, builds the JMEOS jar, and regenerates the Flink facades: 116 facade classes / 4136 methods, and the mobility-flink-binding module builds.

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 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 binding module, the org.jmeos:meos:1.0 coordinates, the mvn command).

GENERATION.md leads with the one-liner; the module it builds is binding, matching
the current layout. .gitignore excludes the wrapper .meos-chain scratch dir.
@estebanzimanyi
estebanzimanyi merged commit 3898d6a 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