I guess manisha's points are very valid. What about having this in pre
commit hook and if some one create the branch via git CLI we invoke branch
creation in AF.

Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Jun 11, 2015 7:35 PM, "Manisha Gayathri" <mani...@wso2.com> wrote:

> If we allow to add branches via GIT CLI, then it won't be available in the
> UI is it?
>
> And also we need the capability of creating branches with alpha numerics
> like we do in other repository providers.
>
>
>
> On Thu, Jun 11, 2015 at 4:55 PM, Samith Dassanayake <sam...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Currently App Factory does not allow users to manually create branches or
>> tags(Using git CLI). If we try to create a branch or tag, the requested is
>> rejected by the pre commit hook[1],[2], which has been added to the gitblit
>> server. IMHO since developers are more tend to use git CLI, AF should allow
>> to create branches and tags without going through the AF UI. WDYT?
>>
>> [1]
>> https://github.com/wso2/product-af/blob/750962edc389f8eb7ce7bce968799dcf4cdb9a3c/modules/puppet-manifests/appfactory/modules/gitblit/templates/data/groovy/pre-commit-validator.groovy.erb#L157
>> [2]
>> https://github.com/wso2/product-af/blob/750962edc389f8eb7ce7bce968799dcf4cdb9a3c/modules/components/org.wso2.carbon.appfactory.repository/src/main/java/org/wso2/carbon/appfactory/repository/mgt/service/RepositoryAuthenticationService.java#L51
>>
>> Thanks,
>> Samith
>>
>> --
>> Best Regards
>>
>> Samith Dassanayake
>> Software Engineer | Cloud TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +947 76207351
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> ~Regards
> *Manisha Eleperuma*
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
>
> *blog:      http://manisha-eleperuma.blogspot.com/
> <http://manisha-eleperuma.blogspot.com/>*
> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to