mastodon-sc / mastodon-git

A plugin for Mastodon that allows to collaborate on a project via Git.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Adapt to Mastodon's new ProjectModel #3

Closed maarzt closed 7 months ago

maarzt commented 9 months ago

The mastdon-git project is not compatible with the latest mastodon core version. It needs to be updated.

This issue is addressed in #4

Problem

Mastodon-git cannot be installed with the latest mastodon 1.0.0-beta-28. Fiji instead crashes and complains about undefined classes or undefined methods.

Expected Behavior

It should be possible to run mastodon-git with the latest mastodon 1.0.0-beta-28. All functions that are described in the documentation: How to share a Mastodon project? How to contribute to as share Mastodon Project? should work as expected. (An SNAPSHOT version of mastodon-git and mastodon-collections is on the Maarzt update site. An up to date Fiji with 'TomancakLab' and 'Maarzt' update sites activate should allow to go through all the steps in the mastodon-git tutorials.)

TODOs

maarzt commented 9 months ago

~~Find a way to undo these changes: (call openWithDialog when reloading a Mastodon project) https://github.com/maarzt/mastodon-git/commit/24dd398362065aac2c920e4ca6aa4f1aa6a457ad#diff-a9ccbd89008809a2a88004294ab8cb578090ec58e31bcae89b3fb37bb073b4a6~~

Mastodon git now has a more fine grained reloading of a Mastodon project. The image data is not reloaded, only the Model (containing the ModelGraph and the TagSetModel) is reloaded. This solves the problems caused by attempting to reload missing image data.