Request to add track 16 to snap ‘charmed-postgresql’

Hi,

Data team is adding new snap for PostgreSQL 16 (24.04-based) and need a new track 16. Please create a track.

BTW, does snap store has similar to charmhub capabilities?

Tnx!

1 Like

Hey, Alex!

I’ve created track 16 for your great charmed-postgresql snap.

BTW, does snap store has similar to charmhub capabilities

I suppose track creation for snaps should be available for creation in Web UI on snapcraft.io/$SNAP/releases page. Please let me know if you want to try this feature for some Data platform snaps and request guardrail for that purpose.

APIs for creating tracks should work for snaps as well, see the following discussion.

Thanks for your request and have a nice working week!

1 Like

Thank you for the track 16 for PostgreSQL!

re: I suppose track creation for snaps should be available for creation in Web UI ...

Well, the button + Request tack there only hints to request it on the forum:

re: APIs for creating tracks should work for snaps as well

Those discussion says: looks like the documentation is on the charmhub side: How to create a track for your charm - doc - Charmhub 6 but it applies to both snaps and charms the same.

I have try to mimic snapcraft using charmcraft manual:

> snapcraft login --export snapcraft-creds.dat
Usage: snapcraft [options] command [args]...
Try 'snapcraft login -h' for help.

Error: unrecognized arguments: --export snapcraft-creds.dat

It worth to create ether WEB UI or proper snapcraft manuap to add a track via API.

1 Like

Well, the button + Request tack there only hints to request it on the forum

As far as I know, we need to create the guardrail first, so I did it and added validation pattern \d\d which looks good for PostgreSQL versions:

    "guardrail_patterns": [
        {
            "pattern": "\\d\\d",
            "created_at": "2024-11-28T08:33:05.717430"
        }
    ],

Please refresh snapcraft.io/$SNAP/releases page and see if self-serve track creation available for you.

Btw, thank you for your interest in the self-serve track creation feature!