RE: Medic Improvements
Hi Willy, I just finished working on such parameter and created a PR: https://github.com/apache/cordova-mobile-spec/pull/123/ You could change medic config to specify the list of plugins you want to install as soon as it will be merged. Thanks, Alexander Sorokin -Original Message- From: Willy Aguirre [mailto:marti1...@gmail.com] Sent: Tuesday, March 17, 2015 16:16 To: dev@cordova.apache.org Subject: Re: Medic Improvements this script must stay in mobile-spec o cordova-medic =? how to I can this modification? 2015-03-16 8:41 GMT-05:00 Dmitriy Barkalov (Akvelon) v-dmb...@microsoft.com : Hi Willy, I suppose just deleting repositories from cordova-repos.json will not help. Medic uses mobile-spec application to run plugin tests. It has both media and media-capture plugins as a dependencies https://github.com/apache/cordova-mobile-spec/blob/master/dependencies-plugin/plugin.xml. So the `createmobilespec` step will fail in current medic (as well as Dmitry's version). A good solution will be to implement special parameter to createmobilespec script to be able to specify a list of plugins to be included in mobile-spec app. After it we could add conditional step to medic that will executes createmobilespec script with limited list of plugins in case Firefox OS platform is building. Regards, Dmitriy -Original Message- From: Willy Aguirre [mailto:marti1...@gmail.com] Sent: Monday, March 16, 2015 4:15 PM To: dev@cordova.apache.org Subject: Re: Medic Improvements Hi Dmitry, I am working in add Firefox OS platform https://github.com/marti1125/cordova-medic I had problem with with some plugins media and mediacapture because itself doesn't suppor. In cordova-repos.json when I run in console $ buildslave start slave_firefoxos I have to remove: { title : MEDIA, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git;, category : CORDOVA-PLUGIN, release : master, current :master },{ title : MEDIACAPTURE, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git;, category : CORDOVA-PLUGIN, release : master, current :master } Regards, Willy 2015-03-14 22:49 GMT-05:00 Dmitry Blotsky dblot...@microsoft.com: Hi list, I have made a PR with some code cleanup and slight redesign for Medic, and I would like to please request a code review from folks in the community when it would be convenient for them! The PR is here: https://github.com/apache/cordova-medic/pull/37. For those interested in the details but not in reviewing the code, below are a list of changes and their justifications and a list of the specific incompatibilities with the previous medic code. Code Changes and Reasons: 1. Putting private data into a private file: this was done to remove passwords from the repo 2. Splitting config into several files: this was done so that the config can be extended locally without affecting other installations that share code (i.e. Apache Infra Buildbot) 3. Removing PlatformTestBase and its child classes: this was done in favour of using build properties to modify build steps instead of hard platform code as much as possible 4. Using Buildbot Properties to pass parameters to builds: this was done so that medic doesn’t need to be reconfigured/restarted to run parametrized builds, which allows it to run in Apache Infrastructure and enables faster development 5. Adding step wrappers: this was done to reduce the probability of errors by setting sensible defaults for values that are easily forgotten 6. Removing categories from repo config: this was done to reduce code complexity for the checkout steps Incompatibilities: 1. The format of the `cordova-repos.json` file has changed; current files will need to simply be reformatted to match the new format, and they will work with the new medic code 2. Semantics of the `cordova-config.json` file have changed, and current setups will stop being able to control some of medic’s behaviour using their current files; namely, builders and schedulers are now configured in cordova.conf, and some platform settings have been removed (e.g. iOS keychain information) Kindly, Dmitry -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre
Re: Medic Improvements
thanks! 2015-03-17 12:18 GMT-05:00 Alexander Sorokin (Akvelon) v-als...@microsoft.com: Hi Willy, I just finished working on such parameter and created a PR: https://github.com/apache/cordova-mobile-spec/pull/123/ You could change medic config to specify the list of plugins you want to install as soon as it will be merged. Thanks, Alexander Sorokin -Original Message- From: Willy Aguirre [mailto:marti1...@gmail.com] Sent: Tuesday, March 17, 2015 16:16 To: dev@cordova.apache.org Subject: Re: Medic Improvements this script must stay in mobile-spec o cordova-medic =? how to I can this modification? 2015-03-16 8:41 GMT-05:00 Dmitriy Barkalov (Akvelon) v-dmb...@microsoft.com : Hi Willy, I suppose just deleting repositories from cordova-repos.json will not help. Medic uses mobile-spec application to run plugin tests. It has both media and media-capture plugins as a dependencies https://github.com/apache/cordova-mobile-spec/blob/master/dependencies-plugin/plugin.xml . So the `createmobilespec` step will fail in current medic (as well as Dmitry's version). A good solution will be to implement special parameter to createmobilespec script to be able to specify a list of plugins to be included in mobile-spec app. After it we could add conditional step to medic that will executes createmobilespec script with limited list of plugins in case Firefox OS platform is building. Regards, Dmitriy -Original Message- From: Willy Aguirre [mailto:marti1...@gmail.com] Sent: Monday, March 16, 2015 4:15 PM To: dev@cordova.apache.org Subject: Re: Medic Improvements Hi Dmitry, I am working in add Firefox OS platform https://github.com/marti1125/cordova-medic I had problem with with some plugins media and mediacapture because itself doesn't suppor. In cordova-repos.json when I run in console $ buildslave start slave_firefoxos I have to remove: { title : MEDIA, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git;, category : CORDOVA-PLUGIN, release : master, current :master },{ title : MEDIACAPTURE, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git , category : CORDOVA-PLUGIN, release : master, current :master } Regards, Willy 2015-03-14 22:49 GMT-05:00 Dmitry Blotsky dblot...@microsoft.com: Hi list, I have made a PR with some code cleanup and slight redesign for Medic, and I would like to please request a code review from folks in the community when it would be convenient for them! The PR is here: https://github.com/apache/cordova-medic/pull/37. For those interested in the details but not in reviewing the code, below are a list of changes and their justifications and a list of the specific incompatibilities with the previous medic code. Code Changes and Reasons: 1. Putting private data into a private file: this was done to remove passwords from the repo 2. Splitting config into several files: this was done so that the config can be extended locally without affecting other installations that share code (i.e. Apache Infra Buildbot) 3. Removing PlatformTestBase and its child classes: this was done in favour of using build properties to modify build steps instead of hard platform code as much as possible 4. Using Buildbot Properties to pass parameters to builds: this was done so that medic doesn’t need to be reconfigured/restarted to run parametrized builds, which allows it to run in Apache Infrastructure and enables faster development 5. Adding step wrappers: this was done to reduce the probability of errors by setting sensible defaults for values that are easily forgotten 6. Removing categories from repo config: this was done to reduce code complexity for the checkout steps Incompatibilities: 1. The format of the `cordova-repos.json` file has changed; current files will need to simply be reformatted to match the new format, and they will work with the new medic code 2. Semantics of the `cordova-config.json` file have changed, and current setups will stop being able to control some of medic’s behaviour using their current files; namely, builders and schedulers are now configured in cordova.conf, and some platform settings have been removed (e.g. iOS keychain information) Kindly, Dmitry -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org -- Willy
Re: Medic Improvements
this script must stay in mobile-spec o cordova-medic =? how to I can this modification? 2015-03-16 8:41 GMT-05:00 Dmitriy Barkalov (Akvelon) v-dmb...@microsoft.com : Hi Willy, I suppose just deleting repositories from cordova-repos.json will not help. Medic uses mobile-spec application to run plugin tests. It has both media and media-capture plugins as a dependencies https://github.com/apache/cordova-mobile-spec/blob/master/dependencies-plugin/plugin.xml. So the `createmobilespec` step will fail in current medic (as well as Dmitry's version). A good solution will be to implement special parameter to createmobilespec script to be able to specify a list of plugins to be included in mobile-spec app. After it we could add conditional step to medic that will executes createmobilespec script with limited list of plugins in case Firefox OS platform is building. Regards, Dmitriy -Original Message- From: Willy Aguirre [mailto:marti1...@gmail.com] Sent: Monday, March 16, 2015 4:15 PM To: dev@cordova.apache.org Subject: Re: Medic Improvements Hi Dmitry, I am working in add Firefox OS platform https://github.com/marti1125/cordova-medic I had problem with with some plugins media and mediacapture because itself doesn't suppor. In cordova-repos.json when I run in console $ buildslave start slave_firefoxos I have to remove: { title : MEDIA, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git;, category : CORDOVA-PLUGIN, release : master, current :master },{ title : MEDIACAPTURE, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git;, category : CORDOVA-PLUGIN, release : master, current :master } Regards, Willy 2015-03-14 22:49 GMT-05:00 Dmitry Blotsky dblot...@microsoft.com: Hi list, I have made a PR with some code cleanup and slight redesign for Medic, and I would like to please request a code review from folks in the community when it would be convenient for them! The PR is here: https://github.com/apache/cordova-medic/pull/37. For those interested in the details but not in reviewing the code, below are a list of changes and their justifications and a list of the specific incompatibilities with the previous medic code. Code Changes and Reasons: 1. Putting private data into a private file: this was done to remove passwords from the repo 2. Splitting config into several files: this was done so that the config can be extended locally without affecting other installations that share code (i.e. Apache Infra Buildbot) 3. Removing PlatformTestBase and its child classes: this was done in favour of using build properties to modify build steps instead of hard platform code as much as possible 4. Using Buildbot Properties to pass parameters to builds: this was done so that medic doesn’t need to be reconfigured/restarted to run parametrized builds, which allows it to run in Apache Infrastructure and enables faster development 5. Adding step wrappers: this was done to reduce the probability of errors by setting sensible defaults for values that are easily forgotten 6. Removing categories from repo config: this was done to reduce code complexity for the checkout steps Incompatibilities: 1. The format of the `cordova-repos.json` file has changed; current files will need to simply be reformatted to match the new format, and they will work with the new medic code 2. Semantics of the `cordova-config.json` file have changed, and current setups will stop being able to control some of medic’s behaviour using their current files; namely, builders and schedulers are now configured in cordova.conf, and some platform settings have been removed (e.g. iOS keychain information) Kindly, Dmitry -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre
Re: Medic Improvements
Hi Dmitry, I am working in add Firefox OS platform https://github.com/marti1125/cordova-medic I had problem with with some plugins media and mediacapture because itself doesn't suppor. In cordova-repos.json when I run in console $ buildslave start slave_firefoxos I have to remove: { title : MEDIA, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git;, category : CORDOVA-PLUGIN, release : master, current :master },{ title : MEDIACAPTURE, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git;, category : CORDOVA-PLUGIN, release : master, current :master } Regards, Willy 2015-03-14 22:49 GMT-05:00 Dmitry Blotsky dblot...@microsoft.com: Hi list, I have made a PR with some code cleanup and slight redesign for Medic, and I would like to please request a code review from folks in the community when it would be convenient for them! The PR is here: https://github.com/apache/cordova-medic/pull/37. For those interested in the details but not in reviewing the code, below are a list of changes and their justifications and a list of the specific incompatibilities with the previous medic code. Code Changes and Reasons: 1. Putting private data into a private file: this was done to remove passwords from the repo 2. Splitting config into several files: this was done so that the config can be extended locally without affecting other installations that share code (i.e. Apache Infra Buildbot) 3. Removing PlatformTestBase and its child classes: this was done in favour of using build properties to modify build steps instead of hard platform code as much as possible 4. Using Buildbot Properties to pass parameters to builds: this was done so that medic doesn’t need to be reconfigured/restarted to run parametrized builds, which allows it to run in Apache Infrastructure and enables faster development 5. Adding step wrappers: this was done to reduce the probability of errors by setting sensible defaults for values that are easily forgotten 6. Removing categories from repo config: this was done to reduce code complexity for the checkout steps Incompatibilities: 1. The format of the `cordova-repos.json` file has changed; current files will need to simply be reformatted to match the new format, and they will work with the new medic code 2. Semantics of the `cordova-config.json` file have changed, and current setups will stop being able to control some of medic’s behaviour using their current files; namely, builders and schedulers are now configured in cordova.conf, and some platform settings have been removed (e.g. iOS keychain information) Kindly, Dmitry -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre
RE: Medic Improvements
Hi Willy, I suppose just deleting repositories from cordova-repos.json will not help. Medic uses mobile-spec application to run plugin tests. It has both media and media-capture plugins as a dependencies https://github.com/apache/cordova-mobile-spec/blob/master/dependencies-plugin/plugin.xml. So the `createmobilespec` step will fail in current medic (as well as Dmitry's version). A good solution will be to implement special parameter to createmobilespec script to be able to specify a list of plugins to be included in mobile-spec app. After it we could add conditional step to medic that will executes createmobilespec script with limited list of plugins in case Firefox OS platform is building. Regards, Dmitriy -Original Message- From: Willy Aguirre [mailto:marti1...@gmail.com] Sent: Monday, March 16, 2015 4:15 PM To: dev@cordova.apache.org Subject: Re: Medic Improvements Hi Dmitry, I am working in add Firefox OS platform https://github.com/marti1125/cordova-medic I had problem with with some plugins media and mediacapture because itself doesn't suppor. In cordova-repos.json when I run in console $ buildslave start slave_firefoxos I have to remove: { title : MEDIA, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git;, category : CORDOVA-PLUGIN, release : master, current :master },{ title : MEDIACAPTURE, repo : https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git;, category : CORDOVA-PLUGIN, release : master, current :master } Regards, Willy 2015-03-14 22:49 GMT-05:00 Dmitry Blotsky dblot...@microsoft.com: Hi list, I have made a PR with some code cleanup and slight redesign for Medic, and I would like to please request a code review from folks in the community when it would be convenient for them! The PR is here: https://github.com/apache/cordova-medic/pull/37. For those interested in the details but not in reviewing the code, below are a list of changes and their justifications and a list of the specific incompatibilities with the previous medic code. Code Changes and Reasons: 1. Putting private data into a private file: this was done to remove passwords from the repo 2. Splitting config into several files: this was done so that the config can be extended locally without affecting other installations that share code (i.e. Apache Infra Buildbot) 3. Removing PlatformTestBase and its child classes: this was done in favour of using build properties to modify build steps instead of hard platform code as much as possible 4. Using Buildbot Properties to pass parameters to builds: this was done so that medic doesn’t need to be reconfigured/restarted to run parametrized builds, which allows it to run in Apache Infrastructure and enables faster development 5. Adding step wrappers: this was done to reduce the probability of errors by setting sensible defaults for values that are easily forgotten 6. Removing categories from repo config: this was done to reduce code complexity for the checkout steps Incompatibilities: 1. The format of the `cordova-repos.json` file has changed; current files will need to simply be reformatted to match the new format, and they will work with the new medic code 2. Semantics of the `cordova-config.json` file have changed, and current setups will stop being able to control some of medic’s behaviour using their current files; namely, builders and schedulers are now configured in cordova.conf, and some platform settings have been removed (e.g. iOS keychain information) Kindly, Dmitry -- Willy Aguirre | @willrre Blog: http://osgux.tumblr.com/ Mozilla Rep: https://reps.mozilla.org/u/Willy/ Mozilla Hispano - Willyaguirre https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
RE: Medic Improvements Coming
Hi Dmitry, That’s great to hear about medic improvements. I submitted a PR for a fix to the gradle build for Android. Hope you can take a look or recommend a dev who might be able to. https://issues.apache.org/jira/browse/CB-8452 Also, any tips on this mobile-spec timeout would be useful. The JIRA issue is for Android on Windows so maybe fixed there but not for Android on Mac. https://issues.apache.org/jira/browse/CB-8045 Thanks Angela -Original Message- From: Dmitry Blotsky [mailto:dblot...@microsoft.com] Sent: Wednesday, 21 January 2015 12:03 PM To: dev@cordova.apache.org Cc: Steven Gill Subject: Medic Improvements Coming Hi list, I'm writing here to let you know that improvements to Cordova CI and testing are coming soon (within the timeframe of two weeks). We've been working with Apache Infra to get nightly runs of mobile-spec happening, and we're currently just ironing out some bugs. This will give us similar coverage to what we have running on Travis and AppVeyor for Cordova tools, but for plugins, and will give a better sense of code health when PRs are made. On a related note, there is a parallel effort at Adobe (Steven Gill, CC'd) to get nightly builds of certain Cordova packages into npm, which we can use in the nightly runs. To those involved in the effort, could you please say what its current status is? Kindly, Dmitry Disclaimer The information in this e-mail is confidential and may contain content that is subject to copyright and/or is commercial-in-confidence and is intended only for the use of the above named addressee. If you are not the intended recipient, you are hereby notified that dissemination, copying or use of the information is strictly prohibited. If you have received this e-mail in error, please telephone Fujitsu Australia Software Technology Pty Ltd on + 61 2 9452 9000 or by reply e-mail to the sender and delete the document and all copies thereof. Whereas Fujitsu Australia Software Technology Pty Ltd would not knowingly transmit a virus within an email communication, it is the receiver’s responsibility to scan all communication and any files attached for computer viruses and other defects. Fujitsu Australia Software Technology Pty Ltd does not accept liability for any loss or damage (whether direct, indirect, consequential or economic) however caused, and whether by negligence or otherwise, which may result directly or indirectly from this communication or any files attached. If you do not wish to receive commercial and/or marketing email messages from Fujitsu Australia Software Technology Pty Ltd, please email unsubscr...@fast.au.fujitsu.com - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org