HelloZeroNet / HelloZeroNet/ZeroNet

Plugin for Git tracking site changes

Ouverte
#2,191 13 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
18.8k
Forks
2.3k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Is your feature request related to a problem? Please describe.**

Even if the ZeroNet site is distributed across multiple users, its owner still has full site access. This means that he can delete/modify the site so others won't be able to use it. Or even worse, put some changes that could be malicious but very hard to spot.

**Describe the solution you'd like**

ZeroNet should have a plugin for tracking site changes in Git. That plugin should:

* Ignore `.git` the directory from the remote site or store it on different location outside site directory (to prevent site owner from overwriting it)
* Automatically commit every site change/update
* Display UI options for managing repository and history (viewing the site at specific commit, comparing changes...)

Then, users could just view site changes directly in UI or alternatively view them in a dedicated Git program if they are more advanced.

**Describe alternatives you've considered**

A simple solution is to manually create a repository and manually commit all changes. However, this has a downside because the site owner will probably be able to overwrite local `.git` directory and it is also not so convenient to manually commit every change.

**Additional context**

This is based on [ZeroTalk topic](http://127.0.0.1:43110/Talk.ZeroNetwork.bit/?Topic:1567951156_14kTJXu4KZSoWSSNcGtXEijf4NqEGimc9J).

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.