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

Release 0.0.2 has 0.0.1 in plugin manifest #19

Closed
mefellows opened this issue May 30, 2023 · 0 comments · Fixed by #21
Closed

Release 0.0.2 has 0.0.1 in plugin manifest #19

mefellows opened this issue May 30, 2023 · 0 comments · Fixed by #21

Comments

@mefellows
Copy link

mefellows commented May 30, 2023

After installing the latest plugin manually, the version in the release does not match the version in the plugin config:

✗ pact-plugin-cli list installed
┌────────────────────┬─────────┬───────────────────┬───────────────────────────────────────────────────────────────┬──────────┐
│ Name               ┆ Version ┆ Interface Version ┆ Directory                                                     ┆ Status   │
╞════════════════════╪═════════╪═══════════════════╪═══════════════════════════════════════════════════════════════╪══════════╡
│ avro               ┆ 0.0.1   ┆ 1                 ┆ /Users/matthew.fellows/.pact/plugins/avro-0.0.2               ┆ enabled  │
└────────────────────┴─────────┴───────────────────┴───────────────────────────────────────────────────────────────┴──────────┘

This means installing via the CLI tool (the standard way) is not possible due to the mismatch:

✗ ~/.pact/bin/pact-plugin-cli --debug -y install https://github.com/austek/pact-avro-plugin/releases/tag/v0.0.2
2023-05-30T07:29:42.981385Z  INFO pact_plugin_cli::install: Fetching root document for source source=https://github.com/austek/pact-avro-plugin/releases/tag/v0.0.2
2023-05-30T07:29:42.982085Z DEBUG hyper::client::connect::dns: resolving host="github.com"
2023-05-30T07:29:42.990554Z DEBUG hyper::client::connect::http: connecting to 20.248.137.48:443
2023-05-30T07:29:43.016702Z DEBUG hyper::client::connect::http: connected to 20.248.137.48:443
2023-05-30T07:29:43.042128Z DEBUG h2::client: binding client connection
2023-05-30T07:29:43.042186Z DEBUG h2::client: client connection bound
2023-05-30T07:29:43.042227Z DEBUG h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
2023-05-30T07:29:43.042641Z DEBUG hyper::client::pool: pooling idle connection for ("https", github.com)
2023-05-30T07:29:43.042665Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
2023-05-30T07:29:43.045051Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
2023-05-30T07:29:43.082109Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x0), max_concurrent_streams: 100, initial_window_size: 67108864, max_frame_size: 65536, enable_connect_protocol: 1 }
2023-05-30T07:29:43.082209Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Settings { flags: (0x1: ACK) }
2023-05-30T07:29:43.082241Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x1: ACK) }
2023-05-30T07:29:43.082248Z DEBUG Connection{peer=Client}: h2::proto::settings: received settings ACK; applying Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
2023-05-30T07:29:43.416409Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
2023-05-30T07:29:43.416553Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
2023-05-30T07:29:43.417366Z DEBUG pact_plugin_cli::install: Got response response=Object {"delete_authenticity_token": String("1FOGL1OwCzroKoHewIbQKfAalYq2EMxl4sR49M29IZH6sfIy_9Z5lJ2fJp6SbML4PT8un5hAi4gqtG5hrGeS8w"), "delete_url": String("/austek/pact-avro-plugin/releases/tag/v0.0.2"), "edit_url": String("/austek/pact-avro-plugin/releases/edit/v0.0.2"), "id": Number(98476656), "tag_name": String("v0.0.2"), "update_authenticity_token": String("ueMPKsgAO9MvVwnSOt97DSQ8NpKW7qcRPHLzDl-Nq-iXx0xj4GXmPmUcRdOtzIlnCIq70Uonn6hE499rNDXgdg"), "update_url": String("/austek/pact-avro-plugin/releases/tag/v0.0.2")}
2023-05-30T07:29:43.418266Z DEBUG pact_plugin_cli::install: Found tag tag=v0.0.2
2023-05-30T07:29:43.418319Z DEBUG pact_plugin_cli::install: Downloading JSON file from https://github.com/austek/pact-avro-plugin/releases/download/v0.0.2/pact-plugin.json
2023-05-30T07:29:43.418572Z DEBUG hyper::client::pool: reuse idle connection for ("https", github.com)
2023-05-30T07:29:43.418954Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(3), flags: (0x5: END_HEADERS | END_STREAM) }
2023-05-30T07:29:43.444244Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(3), flags: (0x4: END_HEADERS) }
2023-05-30T07:29:43.444272Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(3), flags: (0x1: END_STREAM) }
2023-05-30T07:29:43.444635Z ERROR pact_plugin_cli: error - Downloading manifest file from GitHub
austek added a commit that referenced this issue May 30, 2023
* Fix plugin version in deployed pact-plugin.json file

fix #19

* Upgrade JDK to 17
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 a pull request may close this issue.

1 participant