How to change %uri=
value in sqitch.plan
?
#801
-
Years ago when we started using Sqitch, we were on bitbucket. We have since moved to GitHub and had never updated the $ sqitch deploy
Cannot find change 105f459e22b030bda73880348920d65bb40c4fd7 (most_recent_change) in sqitch.plan Is there a way to update the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yeas, this is because the URI is included in the data used to generate the SHA1 hash. Run ❯ sqitch show change @HEAD
project flipr
uri https://github.com/theory/sqitch-mysql-intro/
change change_pass
parent e993d9073f8bad4d385019b6e11554fed21fbe3a
planner Marge N. O’Vera <[email protected]>
date 2013-12-31T22:12:39Z
requires
+ [email protected]
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:
Lotta work for no real advantage, since that URI is otherwise referenced very much, and is designed simply to allow one to have two projects with the same name but different URIs. Another approach, if you don't care about losing the history of previous deployments, is to drop the entire registry schema ( |
Beta Was this translation helpful? Give feedback.
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: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:
%uri
pragma, deploy to…