Hi Ananda, There are few improvements have done to patching process like patch verification and detect patch changes, . It is not yet committed( will do it ASAP). IMO you can use that improvements to implement this service pack installation process and your implementation should inline with that.
Thanks, Shameera. On Wed, May 8, 2013 at 11:31 AM, Ananda Manoj Kumara <[email protected]> wrote: > Hi, > > yes, idea is to maintain a list of applied patches with their patch > number. Such that we can use this list during applying patches. > > Best Regards.. > > > Manoj Kumara > Software Engineer > WSO2, Inc.; http://wso2.com > > Twitter: http://twitter.com/ManKuma > Mobile: +94713448188 > > > On Wed, May 8, 2013 at 10:17 AM, Srinath Perera <[email protected]> wrote: > >> >> >> >> On Wed, May 8, 2013 at 9:31 AM, Ananda Manoj Kumara <[email protected]>wrote: >> >>> Hi All, >>> >>> I'm starting this discussion about $subject which is related to Redmine >>> issue [1]. >>> >>> Currently patches can be applied to carbon applications through * >>> $CARBON_HOME/repository/components/patches* directory on and with this >>> new implementation we will be able to apply combination of set of patches >>> named as 'service pack' to the carbon application. >>> >>> With this approach when applying patches the code will first check on >>> available service packs on *$CARBON_HOME/repository/components/servicepack >>> directory and apply them on incremental order. Each service pack will >>> maintain a metadata file which contain patch numbers it contain. When >>> applying service packs system will maintain a list of the patches include >>> in each service pack and then apply the patch if its not previously added >>> or its a new patch file.* >>> * >>> * >>> *Only after applying all the service packs it switch to apply patches >>> on patch directory. In this we again use the previous patch metadata list >>> to check the applied patches and skip it the patch already applied using >>> service packs.* >>> >> >> I think this is the key (If this works clean, then above is good). What >> metadata do you use to find out that patch is already applied? do you plan >> to use patch number? >> >> --Srinath >> >>> * >>> * >>> >>> [1] https://redmine.wso2.com/issues/1360 >>> >>> >>> Thanks, >>> Manoj >>> >>> >>> Best Regards.. >>> >>> >>> Manoj Kumara >>> Software Engineer >>> WSO2, Inc.; http://wso2.com >>> >>> Twitter: http://twitter.com/ManKuma >>> Mobile: +94713448188 >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> ============================ >> Srinath Perera, Ph.D. >> http://www.cs.indiana.edu/~hperera/ >> http://srinathsview.blogspot.com/ >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- *Software Engineer - WSO2 Inc.* *email: shameera AT wso2.com <[email protected]> , shameera AT apache.org<[email protected]> * *phone: +9471 922 1454* * * *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561 *Twitter : *https://twitter.com/Shameera_R
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
