Rfaulk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/81457


Change subject: add - placeholder for default sync.
......................................................................

add - placeholder for default sync.

Change-Id: I0f5f9cef3eb3f902cf0dabe1c40fe54fcca2d1ba
---
M sartoris/sartoris.py
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/sartoris refs/changes/57/81457/1

diff --git a/sartoris/sartoris.py b/sartoris/sartoris.py
index c857741..a7b08da 100755
--- a/sartoris/sartoris.py
+++ b/sartoris/sartoris.py
@@ -470,9 +470,17 @@
                 exit_code = 40
                 log.error("{0}::{1}".format(__name__, exit_codes[exit_code]))
                 return exit_code
+        else:
+            # In absence of a sync script
+            # TODO - push local changes to repo and pull on remote
+            self._default_sync()
+
         self._remove_lock()
         return 0
 
+    def _default_sync(self):
+        pass
+
     def resync(self, args):
         """
             * write a lock file

-- 
To view, visit https://gerrit.wikimedia.org/r/81457
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f5f9cef3eb3f902cf0dabe1c40fe54fcca2d1ba
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <rfaulk...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to