Change the git remote URL of the wagtail demo submodule to use HTTPS instead of SSH.

Otherwise automatic deployments (e.g. via `pip install
https://github.com/barseghyanartur/django-fobi.git@0.12.12#django-fobi`) would fail
to clone this submodule, unless an account-wide read/write SSH key is available to
the system account running the deployment. This is undesirable from a
security perspective.

Users could work around this by creating a dummy GitHub account that has
no write access to any repo, and add an account-wide SSH key to it, but
it's still annoying and means one more thing to maintain.

This change means that you don't get the convenience of pushing changes
to the wagtail demo using SSH key, but I think it's better than making
automatic deployments complicated.
This commit is contained in:
Kal Sze 2018-01-04 17:58:19 +08:00
parent cee46d6424
commit bd5e7feb96

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "examples/wagtaildemo"]
path = examples/wagtaildemo
url = git@github.com:barseghyanartur/wagtaildemo.git
url = https://github.com/barseghyanartur/wagtaildemo.git