Rfaulk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/82581
Change subject: rm - tagging from start op.
......................................................................
rm - tagging from start op.
Change-Id: I4d9e8c00cba367b4a8e317a7092eb76999e635f9
---
M sartoris/sartoris.py
1 file changed, 0 insertions(+), 17 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/sartoris refs/changes/81/82581/1
diff --git a/sartoris/sartoris.py b/sartoris/sartoris.py
index ee1d2bf..22780c9 100755
--- a/sartoris/sartoris.py
+++ b/sartoris/sartoris.py
@@ -382,23 +382,6 @@
self._create_lock()
- # Tag the repo at this point
- repo_name = self.config['repo_name']
- log.debug(__name__ + ' :: Adding `start` tag for repo.')
-
- timestamp = datetime.now().strftime(self.DATE_TIME_TAG_FORMAT)
-
- # @TODO use dulwich config to set '_author'
- _tag = '{0}-start-{1}'.format(repo_name, timestamp)
- _author = '{0} {1}'.format(self.config['user.name'],
- self.config['user.email'])
- try:
- self._dulwich_tag(_tag, _author)
- except Exception as e:
- self._remove_lock()
- logging.error(str(e))
- raise SartorisError(message=exit_codes[12], exit_code=12)
-
return 0
def abort(self, args):
--
To view, visit https://gerrit.wikimedia.org/r/82581
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d9e8c00cba367b4a8e317a7092eb76999e635f9
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits