Hi all,
Completed implementing the git branch deletion functionality in the maven scmManager API. Did a sample test run and it works. Need to update the Appfactory RepositoryManagementService to consume the newly written method and update the jaggery-apps to call the backend. Thanks! On Mon, May 13, 2013 at 11:57 AM, Gayan Dhanushka <[email protected]> wrote: > Hi Dimuthu, > > Apparently there is a new method call structure in the latest Jaggery > version. I'll look into and use it while implementing deleting a branch. > > Thanks! > > > On Mon, May 13, 2013 at 10:44 AM, Dimuthu Leelarathne > <[email protected]>wrote: > >> Hi Gayan, >> >> >> On Fri, May 10, 2013 at 9:26 PM, Gayan Dhanushka <[email protected]> wrote: >> >>> Hi all, >>> >>> Currently on the appfactory Repository UI you can only create a >>> repository branch. A created branch cannot be edited or deleted. To create >>> a repository in gitblit currently the maven scmManager [1] is used. But >>> org.apache.maven.scm.manager.ScmManager doesn't provide a functionality to >>> edit or delete a created. As per [2] it is convenient to provide a method >>> only to delete a branch since it is more practical to delete a branch and >>> create a new branch rather than editing an existing one. The following >>> steps will be followed. >>> >>> 1) Implement a new method to delete a branch in gitblit for >>> org.apache.maven.scm.manager.ScmManager. >>> >> >> +1 >> >> >>> 2) Implement methods to call the method created in (1) from within the >>> repository module of appfactory. >>> 3) Expose method written in (2) through the >>> "RepositoryManagementService" web service. >>> >> >> +1 >> >> >>> 4) Update the jaggery-apps to call the exposed service when the user >>> clicks on the "Delete Branch" button which is a new button which will be >>> added to the Repository UI. >>> >>> >> If Jaggery Alpha2 V5 is having the new method call structure lets use it. >> >> thanks, >> dimuthu >> >> >> >> >>> [1] http://maven.apache.org/scm/index.html >>> [2] https://wso2.org/jira/browse/APPFAC-406 >>> >>> Thanks ! >>> >>> >>> Gayan Dhanushka >>> Software Engineer >>> WSO2 Inc. >>> http://wso2.com >>> >>> Mobile : 0716662327 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Dimuthu Leelarathne >> Architect & Chair of Solution Management Committee >> >> WSO2, Inc. (http://wso2.com) >> email: [email protected] >> Mobile : 0773661935 >> >> Lean . Enterprise . Middleware >> > > > > -- > > Gayan Dhanushka > Software Engineer > WSO2 Inc. > http://wso2.com > > Mobile : 0716662327 > -- Gayan Dhanushka Software Engineer WSO2 Inc. http://wso2.com Mobile : 0716662327
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
