Add/remove tracks and add guardrail for snap postgresql

Hi,

  1. Please add new tracks 14 and 16 for snap postgresql. ASAP if possible to release the new stap for Sales training.

  2. Is guardrail available for snap already? can I do 1) myself? Is available please add guardrail for allow numbers like above.

  3. Can we close/remove old tracks (including latest) as we are going to use 14 and 16 only (for now). It is necessary, as:

3.1) we have old arm release on latest/edge (should gone) 3.2) I have tried to close one myself, but it is still markes as active. Am I doing something wrong?:

> snapcraft close postgresql 11
Channel '11' for 'postgresql' is now closed

> snapcraft list-tracks postgresql
Name    Status    Creation-Date         Version-Pattern
latest  default   -                     -
11.0    active    2018-11-06T18:09:04Z  -
10.5    active    2018-11-06T18:11:34Z  -
9.6.10  active    2018-11-06T18:12:04Z  -
9.5.14  active    2018-11-06T18:12:14Z  -
9.4.19  active    2018-11-06T18:12:24Z  -
9.3.24  active    2018-11-06T18:12:40Z  -
11      active    2018-11-14T14:44:30Z  -
10      active    2018-11-14T14:46:23Z  -
9.6     active    2018-11-14T14:46:42Z  -
9.5     active    2018-11-14T14:46:50Z  -
9.4     active    2018-11-14T14:46:59Z  -
9.3     active    2018-11-14T14:47:14Z  -

Thank you!

1 Like

Hey, Alex! I will be glad to help you.

  1. Created tracks 14 and 16 for your need
  2. Also added \d+ guardrail, that should allow all future tracks for new PostgreSQL versions.
  3. It seems, you need to close only latest tracks. All other tracks are invisible to snap users.

Have a good weekend! Happy snapping!

1 Like

Cleaned up the old tracks, now only 14 and 16 are active for postgresql snap. (requested by @taurus via private message)

1 Like