Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use real manifest path for extension snapshots #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pitkali
Copy link

@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