First Successful Install

July 4, 2008 at 11:02 | In Uncategorized | Leave a Comment
Tags:

I ran my first successful install today! I wated more control of the installation, so included some code to install all the prerequisites in wxCPAN, instead of using CPANPLUS::Backend. I still need to work on code for installing into arbitrary directories, but at least this is a great start! Here is a screenshot of the log:

Log of first successful install as root.

Log of first successful install as root.

Fixed Prerequisites, Module List Fully Works

July 4, 2008 at 09:07 | In Perl, Summer of Code | Leave a Comment
Tags:

After much consternation over not being able to get the prerequisites for a module until installation, I have finally come accross a solution! I have added a method to ModuleTree.pm, `$mod_tree->GetPrereqs($modulename)`, which properly returns the Prerequisites of a module. It does this by using the YAML module to parse the META.yml file which can be found at search.cpan.org. This method is a lot faster than downloading each module’s archive, then getting the META.yml file from the downloaded file. I have also added a method to update the display of the prerequisites tree in the info notebook.

I have also added the appropriate code so all the toolbar items work! You can now display modules in the following ways:

  • All modules by Module Name
  • All modules by Author Name
  • All modules by Category
  • Installed modules by Module Name
  • Installed modules by Author Name
  • Installed modules by Category
  • Uninstalled modules by Module Name
  • Uninstalled modules by Author Name
  • Uninstalled modules by Category
  • Updated modules by Module Name
  • Updated modules by Author Name
  • Updated modules by Category

Also, there are a few more bugs I need to work on, but I am hoping to have my first successful install using wxCPAN by this weekend!

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.