Skip to content

v2.62.0: straight from HANA

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:01
· 5 commits to main since this release
a0177d8

v2.62.0 — new since v2.61.0

Read an ABAP system's code out of its HANA database when the ABAP server is gone, and never write a byte to it.

New: vsp hana dump reads ABAP sources and repository rows straight from the HANA database behind an AS ABAP, over its SQL port, with no logon to ABAP. It is for a system that will not start any more (an expired trial, a restored backup) and for migration tooling that needs the sources and the dictionary offline. What to dump is yours to say: --name and --package take SQL LIKE patterns.

  • Sources: REPOSRC decoded to src/*.abap, listed with SHA-256 in reposrc.jsonl. A row that cannot be decoded is kept raw under undecoded/.
  • Repository rows as JSONL: TADIR, TRDIR, TMDIR, TFDIR, SEOCLASS, TLIBG, text pools, and the where-used index.
  • --ddic adds dictionary rows (tables, data elements, domains, table types, search helps, views) and the sources kept outside REPOSRC (CDS, metadata extensions, service definitions, access controls).
  • --ddic-closure request.json closes a dependency request over the dictionary on the server.
  • --catalog adds AMDP procedures and what they read.
  • The output directory must be new or empty and outside any git working tree. Files are private (0600).

New: osd-hana-dump, the same dumper as a separate binary for the OSD extension (cmd/osd-hana-dump/README.md). It takes a JSON request and prints one JSON line, with exit codes 0-5. The release ships it for Linux and macOS (amd64, arm64) and Windows (amd64), with its own osd-hana-dump-checksums.txt.

  • probe says what a login may do, without naming any object.
  • list gives the objects in scope and their size before anything is read, split into customer and SAP.
  • dump writes objects.jsonl: every object in scope is reported as written or as row data, or skipped with a reason.
  • --catalog (AMDP sources) needs the read-only CATALOG READ privilege, or schema ownership: HANA hides definitions from a plain SELECT reader. A hidden definition is reported as an error, never written as an empty file.

Read-only by construction, in both commands. Each session is switched to SET TRANSACTION READ ONLY, so HANA itself refuses any write. On top of that, only a single SELECT or WITH ... SELECT reaches the driver: prepared statements cannot execute, and only read-only transactions can begin.

Behaviour change: vsp hana dump takes its password from VSP_HANA_PASSWORD or --password-stdin, never from the command line.

Downloads

Platform Architecture File
Linux x64 vsp-linux-amd64
Linux ARM64 vsp-linux-arm64
macOS x64 vsp-darwin-amd64
macOS Apple Silicon vsp-darwin-arm64
Windows x64 vsp-windows-amd64.exe
Windows ARM64 vsp-windows-arm64.exe

Checksums: checksums.txt. Or run vsp update from an older version on one of these platforms; elsewhere: go install github.com/oisee/vibing-steampunk/cmd/vsp@latest.
LICENSE and NOTICE travel with the binaries (Apache-2.0 components are embedded).

osd-hana-dump (read-only HANA dumper sidecar, cmd/osd-hana-dump/README.md): osd-hana-dump-<os>-<arch> for linux/darwin amd64 and arm64 and windows amd64; checksums: osd-hana-dump-checksums.txt.

Changelog: https://github.com/oisee/vibing-steampunk/blob/v2.62.0/CHANGELOG.md