Hi Dmitriy,

In a roundabout way when trying to do this via git hooks I'm successful but 
now the problem is when people add tag's via the web interface the git 
hooks (post-receive) is not triggered.

What I'm trying to do is automatically apply the tag 'latest' provided it 
meets some conditions, this is for continuous integration purposes, I can't 
achieve this with gitlab api as I can delete / overwrite that tag, I can't 
rely on post-receive hook because when people add via the web interface it 
does not trigger the post-receive hook.

Can you advise on a workaround?

Many Thanks
Yusuf

On Friday, 16 January 2015 18:06:58 UTC, Dmitriy Zaporozhets wrote:
>
> Hey. Now its not possible to modify git tags via API. You need to do it 
> via command line and push to GitLab.
>
> пятница, 16 января 2015 г. пользователь Yusuf Tran написал:
>
>> Hi Guys,
>>
>> I'm able to create a tag via curl but would like to delete or overwrite, 
>> when I use the command to create another tag with the same name (in the 
>> hopes of over writing the existing one or create a new one) I just get a 
>> returned json of the existing tag.
>>
>> Is it possible to delete or overwrite a tag via the api and if so can 
>> someone explain how?
>>
>> Many Thanks
>> Yusuf
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GitLab" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/gitlabhq/2112490b-c650-44ee-b62a-175b000fd7da%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/gitlabhq/2112490b-c650-44ee-b62a-175b000fd7da%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Best regards,
> Dmitriy Zaporozhets
> CTO GitLab B.V.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/184f5fcd-b9a4-489f-8a52-c40edcf72a09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to