[sword-devel] Architecture and DVCS - was : Re: Project "Free Scriptures" started

Jaak Ristioja jaak at ristioja.ee
Wed Feb 26 13:55:52 MST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another word to clarify some stuff said too enthusiastically about git
which might otherwise give a wrong impression:

1) For rewriting history (removing big files etc) one must have
sufficient access to the copy of the repository to be rewritten. Users
who have already cloned your repository will still have a copy of the
old history. Additionally if you rewrite history so that the SHA1
hashes of you branches change users most likely get an error next time
they pull. So history-rewriting changes must usually be coordinated.
For some stuff there are workarounds thou (e.g. a .mailmap file).

2) Pull requests are not a feature of git, but a feature of portals
hosting git, e.g. GitHub, Gitorious etc. So you don't get pull
requests automatically when you host git yourself (unless maybe one
uses GitLab or self-hosted Gitorious).

3) There is no automatic per-directory/file level repository
permissions support in Git. One either has read-write/read-only or no
access to the whole repository. It is probably possible to deny
certain write access on the server side using git hooks, but it
requires some programming. Afaik GitHub, Gitorious etc don't allow
such hooks to be set up by users.

But then again: Do we need such permissions or do we trust developers?
The core developers can still correct each other when they mess up. I
see no need for such permissions for Sword. If there's someone you
don't trust, don't give them write access and let them file a pull
requests instead, which can safely be reviewed before pulling them
into the main repository.

Blessings,
Jaak

PS: When BibleTime switched to git we chose Gitorious over GitHub
because of the Terms of Service of GitHub at that time which were
unacceptable for me. But afaik they've changed their terms by now.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQgcBAEBAgAGBQJTDlTVAAoJELozJlbjIn79pmBAAIKZ1TdYA4ucMHztkR9ALaGr
4GgBhMOdecq9H7QcVrrlZ2oLtoO80uV09GDrPnL5YlAua5WYG4+NRHDZ9yRUQ1qO
yVjAotSPf6xvzXYNQ8F7DqpsxWMIE197ex6PtvDzTAWxkQMMPOxchLH80b2K2tT/
vhsRwWJDc527P3nfY5sH9yKjGtaxEy1OPtvz/hJKreRC1UIrJ9Zzw0FFNXHcdb2p
5vOlQePwvQcWZHvwjKdA34KM5XU11YYP6ZaXucn3OL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