Hi Dinusha,

Few suggestions.

On Wed, Jan 28, 2015 at 10:06 AM, Dinusha Senanayaka <[email protected]>
wrote:

> In App Manager we have these set of svn externals in feature/product
> level. Appreciate someone already migrated could give some insight on how
> to migrate those.
>
> Features:
>  svn propget -R svn:externals .
> org.wso2.carbon.appmgt.core.feature/4.2.1/src/main/resources - sql
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/appmgt/1.0.0/modules/distribution/resources/sql
> config
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/appmgt/1.0.0/config
>

why do we need to keep the dbscripts in product and point externals into
the feature ?. We can keep the db scripts in the feature and copy them into
product build at feature installation (p2 touchpoints).

>
>
> Product:
> modules/jaggery-apps - enterprise-store
> https://github.com/wso2/enterprise-store/branches/master/modules/distribution/src/dbscripts
> app-publisher-web
> https://github.com/wso2/app-manager/trunk/modules/apps/publisher
> app-store-web https://github.com/wso2/app-manager/trunk/modules/apps/store
> app-workflow-admin
> https://github.com/wso2/app-manager/trunk/modules/apps/workflow-admin/
> app-social-web
> https://github.com/wso2/app-manager/trunk/modules/apps/social
>

>
> user-dashboard
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/jaggery-apps/user-dashboard/
> portal
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/jaggery-apps/portal/
> shindig
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/jaggery-apps/shindig/
>

All above are jaggery apps right ?. In that case they can be converted into
features (eg:
https://github.com/wso2/carbon-apimgt/tree/master/features/apimgt/org.wso2.carbon.apimgt.publisher.feature).
Then we can use the same approach to copy the apps at p2 level and pack
them up at product binary build.


>
> config - application-authenticators.xml
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/features/identity/application-authentication-framework/org.wso2.carbon.identity.application.authentication.framework.server.feature/4.2.1/src/main/resources/application-authenticators.xml
>
> thrift-authentication.xml
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.thrift.authentication/4.2.2/src/main/resources/thrift-authentication.xml
>
>
Point one above can be applicable for config files as well.

In addition there can be some cases that you would have to duplicate. For
eg, we did same for feature.properties fie (
https://github.com/wso2/carbon-deployment/blob/master/features/etc/feature.properties
)

Hope this helps.


> Regards,
> Dinusha.
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: [email protected] <[email protected]>
mobile: +94 (0)71 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to