Pinning EventStore version

Hi,

I'd like to pin my provisioning scripts to a particular version of
EventStore (currently 3.4.0), but it seems like the new PackageCloud
repo does not support that, only "main" version is registered:
https://packagecloud.io/EventStore/EventStore-OSS/ubuntu/dists/wily/InRelease

Is that correct, or am I missing something? The old repo had both
"main" and specific versions AFAIK.

cheers, Rickard

Apologies for the delayed response. We will look into this and post here when we have fixed this.

Hi Rickard,

We switched away from separate components per version in favour of the using the standard apt tools to pin versions - you can do apt-mark hold eventstore-oss to prevent upgrade, having installed it with apt-get install eventstore-oss=3.4.0 to get a specific version.

James

Hey,

We switched away from separate components per version in favour of the using
the standard apt tools to pin versions - you can do `apt-mark hold
eventstore-oss` to prevent upgrade, having installed it with `apt-get
install eventstore-oss=3.4.0` to get a specific version.

Yeah, I'm using Ansible for all my configuration (we don't do ANY
manual SSH commands), so my current script for 3.4.0 onwards looks
like this:
- name: Adding EventStore GPG key
  apt_key: url=https://packagecloud.io/gpg.key state=present
  tags: eventstore

- name: Add EventStore repository
  apt_repository: repo='deb [arch=amd64]
https://packagecloud.io/EventStore/EventStore-OSS/ubuntu/ trusty main'
state=present
  tags: eventstore

- name: Install EventStore
  apt: name="eventstore-oss={{eventstore_version}}" state=present
update_cache=yes cache_valid_time=3600
  tags: eventstore

Seems to work!

regards, Rickard