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

Frank Schima mf2k at macports.org
Fri Aug 29 12:11:19 PDT 2014


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/20140829/d858038c/attachment.html>


More information about the macports-dev mailing list