[GSoC] migration

Bradley Giesbrecht pixilla at macports.org
Wed Jul 12 20:16:02 UTC 2017


Josh, thank you for responding.

Regards,
Bradley Giesbrecht (pixilla)


> On Jul 11, 2017, at 11:58 AM, Joshua Root <jmr at macports.org> wrote:
> 
> On 2017-7-12 04:43 , Umesh Singla wrote:
>> Hi Brad,
>> While I was writing for restoring of ports, it seems that I need to include another field 'active' along with ports while taking snapshot. This might sound obvious now but it wasn't to me before I looked at what is going on, closely. While there is something like 'active' port but there's no such state as being 'inactive'.
> 
> You want the 'state' property, which is either 'imaged' for installed but inactive or 'installed' for active.
> 
>> This led me to a further research and I came across this in the migration guide:
>> "Though it is now quite well-tested, the restore_ports script may fail in some cases. One known issue is that the script will fail if there are conflicting ports in the list. It's possible to have conflicting ports installed provided at most one of the conflicting set is active. If the script fails for this reason, you can delete one of the conflicting ports..."
>> Do you think it can be solved by merely adding active field? What possible conflicts is it talking about?
> 
> This is referring to a case such as having jpeg installed and inactive and mozjpeg installed and active. The ports themselves conflict.
> 
> - Josh



More information about the macports-dev mailing list