Skip to content

adding sync to remote repo - #37

Open
darshannnn wants to merge 2 commits into
munki:mainfrom
darshannnn:master
Open

adding sync to remote repo#37
darshannnn wants to merge 2 commits into
munki:mainfrom
darshannnn:master

Conversation

@darshannnn

Copy link
Copy Markdown

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
Copy Markdown
Contributor

Will you also write documentation for this setting and feature?

@darshannnn

darshannnn commented Jul 11, 2019

Copy link
Copy Markdown
Author

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.

3 participants