On Sat, Jan 25, 2014 at 4:53 PM, Sameera Medagammaddegedara < [email protected]> wrote:
> Hello Everyone, > > *Problem* > > - As it stands ,if a Jaggery application needs to be updated the user > must manually copy the required files > - This introduces a number of problems > - If several files need to be changed it will become a chore > - A user may forget to copy one or more files > - It departs from the normal way in which patches are applied to > other WSO2 products > > IMO, these are user level issues. From a server POV, a jaggery app is considered as a deployment artifact. So it can follow the process of normal artifact update. But the main point here on why do we need to patch jaggery apps is that, with some product releases, we are also releasing jaggery apps as part of it. So we need a way to patch those released apps. > > - The files that could be included in a patch to a Jaggery file could > include (but is not limited ) to the following; > 1. JAG files > 2. JS files > 3. Jaggery Modules ( These will be JS files) > 4. Images and CSS files > 5. JSON files > > *Suggestion* > > - Package the files to be replaced in a zip format > - All Jaggery App patches could be placed in the > repository/components/patches/jaggeryapps similar to the way existing > patches are applied > - *Structure of the patch* > - Please refer to attached image > - The files to be updated would need to be organized according to > structure of the app or module to be patched > - Before the application is deployed the archive is extracted and > the files copied over to the mirrored location in the app or module to be > patched > > The important question to ask is who will handle the patch applying process for jaggery apps? *Open Questions* > > - How do we handle reverting a patch? > - How can we apply the patch before Jaggery app is deployed? > > Thank You, > > Sameera > > > -- > Sameera Medagammaddegedara > Software Engineer > > Contact: > Email: [email protected] > Mobile: + 94 077 255 3005 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
