An update on 'port reclaim' and 'port doctor'

Frank Schima mf2k at macports.org
Tue Sep 2 12:30:16 PDT 2014


Hi Kyle,


Apologies for the delay. I had just run svn update on trunk/base (and rebuilt port) when I ran that. So it was the latest at the time. 


Cheers!
Frank

On Aug 31, 2014, at 4:12 PM, Kyle Sammons <goodkingkyle at gmail.com> wrote:

> Hey Frank,
> 
> That is indeed a nasty bug! Would you mind telling me if you're on the latest version from trunk (i.e. not my branch)? We ran into a similar issue in the past and I thought we fixed it in a patch awhile back. 
> 
> Thanks for the catch,
> -Kyle
> 
> 
> On Fri, Aug 29, 2014 at 12:11 PM, Frank Schima <mf2k at macports.org> wrote:
> Hi again,
> 
> 
> I just discovered a nasty bug in port reclaim:
> 
> ...
> Found distfile: .bash_history
> Removing distfile: .bash_history
> Found distfile: .bash_profile
> Removing distfile: .bash_profile
> Found distfile: .DS_Store
> Removing distfile: .DS_Store
> ...
> 
> Yes, it deleted my ~/.bash_profile!! Hopefully the other files in my home directory that it deleted weren’t too important. 
> 
> 
> -Frank
> 
> On Aug 29, 2014, at 12:39 PM, Kyle Sammons <ksammons at macports.org> wrote:
> 
>> Hey everyone,
>> 
>> I'm Kyle, and I was the one working on the GSoC project, "Project Clean Up Stuff", which is now finished. During the project I've added two new commands to port, "port reclaim" and "port doctor" (though we may be changing 'doctor' to something else in the near future), both of which are now merged into the trunk and should (hopefully) be fully operational. I plan on sticking around until I go back to school (September 20th), in order to fix some bugs that might be in my code, or to answers some questions people have about it. My plans passed that aren't too clear at the moment, but hopefully they allow me to still stick around. 
>> 
>> Anyways, here's a description of the two new commands:
>> 
>> port reclaim - Removes all unneeded distfiles currently on the system, and offers to uninstall all inactive applications, if the user desires. 
>> 
>> port doctor - Checks for common issues on the users system, and if found, suggests ways to fix the problem. Doctor accepts one flag (--quiet) which only shows warnings/errors rather than showing the status of each check.  There is also a configuration file for doctor located in, "/opt/local/var/macports/port_doctor.ini", which allows the user to make changes to certain ways doctor operates, though currently the config file isn't used as much as it could be. 
>> 
>> If you guys have any more questions, or would like to make changes to the code, or would like for me to make changes to the code, feel free to email me!
>> 
>> Thanks,
>> Kyle
>>  
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-dev
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140902/3ea79140/attachment.html>


More information about the macports-dev mailing list