GSoC 2019: Plugin Manager (Week 11)

Posted 4 years ago

We are going into the final week.

What I've done

  • A small improvement in download link analysis.
    One more aspect of compatibility hint is added and checked, which makes the fetching procedure more stable.

  • Remove the __MACOSX folder in some downloaded archives when installing plugins.
    The folder exists in some archives generated by Mac computers, and is unwanted in Windows, (and I guess, unwanted in Mac, too...), and causes an incorrect item displayed in Plugin Manager's tree widget.

Also, I had a shot at the idea of downloading and converting 2.x plugins. After comparing and testing some plugins which contain both 2.x and 3.x versions, I found the automatic conversion absolutely plausible by some textual replacements. There is a Python implementation Dmitri wrote and I can refer to: https://github.com/dmitrio95/mscorepluginconverter.

However, lots of code need to be changed, because many places in code already assume the plugin is 3.x one.

What to do next

For existing features, I'll continue to refine and fix bugs(though I believe there is very few of them now).

For the 2.x plugin conversion, as an experimental feature, there're many things to be figured out, like:

  • how to enable 2.x plugins' in plugin store(probably by a checkbox)

  • how to distinguish 2.x and 3.x ones in plugin store(maybe by adding a column, or by using different colors)

  • the scoring algorithm needs to be changed. We need a higher score for 2.x plugins, not a lower score.

I can't promise I'm able to finish them within the coding period. But I'm interested to continue even after that:)