operatorequals / satori

A filesystem image suite
10 stars 4 forks source link

[!] Project Restructure #2

Open operatorequals opened 6 years ago

operatorequals commented 6 years ago

This project can be restructured [/rewritten] in a more comprehensive and modular form, to achieve several goals like performance, extendability and maintainability.

For this reason, a new structure is proposed, closely resembling the old one, but with increased abstraction and modularity:

Proposition

Structure

The whole project will be divided in 5 modules/parts:

Extendability

The Worker/Consumer model of the imager can be overloaded with more functionalities than using stat on files. IT can be modified in a way that a hook can be applied when any file gets processed and additional information can be retrieved. The current --hash and --filetype options can be restructured as Satori Extensions.

If additional information is stored in a Satori Image due to an Extension, the differ and browser modules (and viewer as well), have to also have a way to interpret (diff and browse), this new kind of data. Hence, the Extensions will need to have a differ and browser functionality overloading.

Portability Requirements

Distribution

New Features/Enhancements

operatorequals commented 6 years ago

The rewrite has been taking place under: https://github.com/satori-ng/