I would like to trigger snap rebuild from a cron job on my machine(for automatic rebuild, etc.), is it possible?
I’ve used lp-build-snap before, but it’s only for snaps that have been configured directly in launchpad, as opposed to via the /build page on snapcraft.io. It is super useful if you have configured them that way though, and gives you the flexibility you may need.
@toto may know if there’s any plans to expose the /build page over some kind of API. I don’t know.
I don’t think entire /build page API is needed, just an easy way to “Trigger new build”. That could be implemented trough snapcraft command that should already have users credentials and list of snaps.
if [[ new-release ]]; then snapcraft trigger <snap-name> fi
Re-ping @toto as I’d really craving something that can improve the situation.