[GSoC] migration

Bradley Giesbrecht pixilla at macports.org
Sun Jun 11 17:07:42 UTC 2017


Hi Umesh,


Thanks to Rainer for his comments on 2 and 5. My comments and questions inline.


On Jun 8, 2017, at 3:12 PM, Umesh Singla <umeshksingla at macports.org> wrote:
> 
> 1. The agenda as per the proposal timeline [1] for the period from May 30 to Jun 10 is to finalize the different cases to be included in the scope of the project and their priorities, plan the design of the procedures to be written in port.tcl (now in snapshot.tcl and migrate.tcl in macports1.0) and begin with the implementation of the snapshot action. So, for now, we'll be focusing only on the specific snapshot action.
> 
> 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. Since we agreed on other use cases as well during the proposal submission time like only keeping a snapshot for now, listing the snapshots to choose from later etc. which will be cumbersome if we resort to `port snapshot <--create, list, migrate, restore>` and could be confusing at times. 

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.

> 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.
> The major target is to finish the snapshot action before Jun 24.

Does “port selfupdate” constitute an “initial installation”?

Does port currently perform schema checks?

If port can detect if the schema needs updating then perhaps we can hook in and “do the right thing".

> 6. One request, I asked this before too, can we please, please fix some time for IRC/Hangouts meeting at least a week for the beginning if it's comfortable with you or Clemens or other people involved? This will help me keep on track. I am a person who can only work under strict deadlines. I have failed under loose deadlines before.

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.


Regards,
Bradley Giesbrecht (pixilla)






More information about the macports-dev mailing list