Skip to content

Use real manifest path for extension snapshots#139

Open
pitkali wants to merge 1 commit intojensl:masterfrom
pitkali:fix/filterhook-manifest
Open

Use real manifest path for extension snapshots#139
pitkali wants to merge 1 commit intojensl:masterfrom
pitkali:fix/filterhook-manifest

Conversation

@pitkali
Copy link
Copy Markdown

@pitkali pitkali commented Jun 28, 2019

When extension.getManifest() is asked for manifest of a given sha1, it
reads the manifest from the snapshot directory. It then synthesises an
invalid path, for some reason. This makes the created manifest unusable
for actually running extensions.

But the extension has a snapshot on disk from which this manifest was
read! So return the install_path of that snapshot.

This fixes ability to run non-LIVE versions of filterhook role, which
uses getManifest to avoid reading the manifest too often.

Fixes: #138

When extension.getManifest() is asked for manifest of a given sha1, it
reads the manifest from the snapshot directory. It then synthesises an
invalid path, for some reason. This makes the created manifest unusable
for actually running extensions.

But the extension has a snapshot on disk from which this manifest was
read! So return the install_path of that snapshot.

This fixes ability to run non-LIVE versions of filterhook role, which
uses getManifest to avoid reading the manifest too often.

Fixes: jensl#138
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