Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding sync to remote repo #37

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

darshannnn
Copy link

Edited utils.py and settings to enable auto sync (git pull and git push) to remote repo.

…omatically synced to remote repo.

This can be disabled with the, 'SYNC_REMOTE_REPO' in settings.py
@gregneagle
Copy link
Contributor

Will you also write documentation for this setting and feature?

@darshannnn
Copy link
Author

darshannnn commented Jul 11, 2019

I have put up a docker image with working sync and LDAP at:
https://hub.docker.com/r/darshannnn/mwa2-ldap

It has instructions under, 'Sync to remote repo:'
Do you want me to copy that to mwa2 README.md?

I have also added some comments above 'SYNC_REMOTE_REPO', in settings.py, but I noticed some typos there, if you could please update the comments as follows:

# Variable for disabling/enabling syncing changes from the repository mwa2 uses, to the remote git server
# For sync to work, munki_repo/.git/config should have, 'branch' and 'remote' configured.
# To test you should be able to manually run, 'git pull' and git 'git push' from the repo mwa2 is using

Happy for you to change the comment, so that it makes more sense.

@gregneagle gregneagle closed this Jun 15, 2020
@gregneagle gregneagle reopened this Jun 16, 2020
@gregneagle gregneagle changed the base branch from master to main June 16, 2020 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants