<div dir="ltr">Hi<div><br></div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I have not followed Rainer's strategy for having `port snapshot --create` and `port snapshot --restore` as discussed in the previous thread, instead have 3 separate actions...<br>
<br>
If I am following this correctly I think isolating the functionality into actions makes sense. If we want to refactor the interface in the future it will be easier to combine pieces then split into parts.</blockquote><div><br></div><div>Acknowledged. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> 4. Another thing that ran my mind while pondering that there are 2 options for sqlite database as well: make the tables in the very beginning (while initial installation) or while running the snapshot for the first time. I suggest to go with the first one because it's simple.<br>
> The major target is to finish the snapshot action before Jun 24.<br>
<br>
Does “port selfupdate” constitute an “initial installation”?<br></blockquote><div><br></div><div>The way I went through macports1.0 -> selfupdate.tcl file, I don't see any such thing.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Does port currently perform schema checks?<br></blockquote><div><br></div><div>If there's sql.c -> update_db() function, then it should be called somewhere. I only see it at one place inside registry attach function which is not really relevant here. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
If port can detect if the schema needs updating then perhaps we can hook in and “do the right thing".<br></blockquote><div><br></div><div>But all this is for the first time, right? I'll ponder over it more. </div><div><br></div><div>Point to me if I missed something vital.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I suggest IRC #macports on Wednesdays at 2:00 PM UTC. If this time does not work for anyone who would like to be included suggest an alternative or additional day and time.<br></blockquote><div> </div><div>So, today!</div><div><br></div><div><br></div><div>--</div><div>Umesh Singla</div></div></div></div></div>