Dvc: snap: support branches

Created on 23 May 2020  路  3Comments  路  Source: iterative/dvc

Snap supports fine-grained short-lived (30 day) releases called "branches" which would correspond well to a git branch/PR which we may like to be able to easily test.

Users/devs could do snap refresh dvc --channel=stable/pr-1337 which would install a version corresponding to the given PR, and which would revert to tracking --channel=stable automatically (after 30 days or when closed, whichever is first).

Perhaps CI should push such branches? It already builds snap in PRs so wouldn't add much runtime to jobs.

  • related #3860
build discussion enhancement p3-nice-to-have research testing

All 3 comments

Probably this is excessive. At this point, we release very often, and try to process PRs as quickly as possible, so user will be able to use edge or stable channels very quickly. Would not spend time on this for now. https://github.com/iterative/dvc/issues/3860 is much more useful in my opinion.

Sure. I also realise that if we really want to, we can push a feature branch having manually altered a couple of lines in .travis.yml to force a branch release.

Closing for now, doesn't look like anyone else is interested in this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JoeyCarson picture JoeyCarson  路  53Comments

dmpetrov picture dmpetrov  路  64Comments

andrethrill picture andrethrill  路  70Comments

kevin-hanselman picture kevin-hanselman  路  37Comments

ynop picture ynop  路  41Comments