[Soc-2017-dev] Daily Report - Jul 18 & Jul 19 - Package Manager

sybren at blender.studio sybren at blender.studio
Thu Jul 20 17:57:12 CEST 2017


Hi Ellwood, 

As for the URL, I would always leave out the repo.json filename. That way we can upgrade the repository layout scheme in the future without requiring a change in the user preferences.

Sybren A. Stüvel

https://stuvelfoto.nl/
https://stuvel.eu/


-----Original Message-----
From: Ellwood Zwovic <gandalf3 at blendermonkey.com>
To: soc-2017-dev at blender.org
Sent: Thu, 20 Jul 2017 11:59
Subject: [Soc-2017-dev] Daily Report - Jul 18 & Jul 19 - Package Manager

July 18th:

I tweaked the drawing code significantly (added better sorting), and made some UI/UX tweaks (only show the install button when installation is possible, allow `repo.json` to be omitted from repository url).
Also added filelist generation to the repo creation script.

July 19th:

Today I added an uninstall function (not yet exposed) added detection of installed addons.
I didn't get to exposing the uninstall function today, as it turns out that correctly handling multiple installed versions of the same addon at one time (this can happen outside of the package manager's control) took more work than expected.

Plans for tomorrow: Finish exposing the uninstall function. Once the uninstall function is exposed, I'll be just about ready for some preliminary user testing. I'll set up a public repository and write some documentation to help facilitate this.

Besides that, some other things on the todo:

Restructure files. Everything is currently stuffed into two files (both well over > 500 lines). I've held off on restructuring code files, to make sure it's clear what a sensible structure is before spending time on it. It's now been a little while, and I still like my original plan: separate the code which does the actual package management and the code which provides an interface to said package management. (also separate the code common to both; container classes, utility functions, etc).

Spruce up metadata display, add settings display.

Add support level filter, add installed/available/updates filtering.


Question:
I noticed some addons have a strange "api" field in their bl_info, containing a seemingly random number. I couldn't find any mention of it in the wiki.
Here's an example from contrib: the sun position addon. Does anyone know what this is?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2017-dev/attachments/20170720/7ca85bb6/attachment.htm 


More information about the Soc-2017-dev mailing list