Skip to content

How to change %uri= value in sqitch.plan? #801

Answered by theory
halostatue asked this question in Q&A
Discussion options

You must be logged in to vote

Yeas, this is because the URI is included in the data used to generate the SHA1 hash. Run sqitch show change [change] to see what's included in that info. An example from one of the tutorials:

❯ sqitch show change @HEAD
project flipr
uri https://github.com/theory/sqitch-mysql-intro/
change change_pass
parent e993d9073f8bad4d385019b6e11554fed21fbe3a
planner Marge N. O’Vera <marge@example.com>
date 2013-12-31T22:12:39Z
requires
  + change_pass@v1.0.0-dev2

Change change_pass to use encyrpt().

I order to change it, you would have to rewrite every ID of every deployment --- not just changes, but also tags! That would require something like this:

  1. With the old URI in the %uri pragma, deploy to…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@halostatue
Comment options

@theory
Comment options

Answer selected by halostatue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants