Closed (fixed)
Project:
Aegir Hosting Git
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Mar 2018 at 18:53 UTC
Updated:
25 Apr 2018 at 09:54 UTC
Jump to comment: Most recent
I've wanted this for a long time, I'm sure others have too.
Git tag task:
Creates and optionally pushes git tags.
Comments
Comment #3
helmo commentedCode looks straightforward enough. So +1 in general.
I'm wondering if the 'Force: Reset --hard before tag' checkbox is usefull git tag would as far as I know only affect committed code anyway.
Another thing we might improve is the error handling. In one test the reposerver was read-only. Where I expected an error I got an 'ok' message stating "fatal: could not read Username for 'https://git.example.com': No such device or address"
Comment #5
jon pughAgreed, the code wasn't catching errors.
Last push fixed that. Both for the checkout and the push. Both fire warnings if they failed, since they only fire if optionally.
Comment #6
helmo commentednice, just tried it and now works as expected.
Comment #8
helmo commentedmerged