Just for fun and to refresh my bash skill, I wrote this little script to build
all demos (even the new ones hosted on github). It’s not as nice as the contrib
demo browser, but it let’s you try all available contributions with their
respective qooxdoo versions:
https://gist.github.com/cboulanger/11186595
See the result here (won’t be there for long, though:)
https://www.panya.de/qooxdoo-contrib/
Cheers,
Christian
Am 17.04.2014 um 19:10 schrieb Boulanger Christian <i...@bibliograph.org>:
> … as a final note: I had in mind something along the lines of (pseudocode)
>
> for each (contrib-catalog/contributions/*/*/Manifest.json) as manifestObject
> if ! manifestObject.buildDemo skip to next contrib
> download and unzip file at ${manifestObject.download}
> demoPath = "${manifestObject.name}/${manifestObject.version}/demo/default/“
> if demoPath exists in the file system
> cd demopath
> ./generate.py build
> if exit error, send email to authors „generation of contrib failed, please
> fix or remove buildDemo flag“
> and skip to next contrib
> open application in phantom browser and check for javascript errors
> if javascript errors, send email to authors „demo wasn’t working, please
> fix or remove buildDemo flag“
> and skip to next contrib
> copy build directory to demo browser and add to demo browser tree data
>
> I am unsure about the ax-phantom stuff since I know nothing about that -
> wonder if it is possible to load a complete app (not a test suite) and check
> for errors.
>
> I am sure I underestimate the complexity of what I would love to have, so I
> am not expecting that this will happen. I just think it would be a wonderful
> way of rewarding the work of people who maybe have the time to work
> occasionally on single contributions, but not more.
>
> But let that be enough on the subject - just wanted to let you know what I
> was thinking about.
>
> Happy Easter!
>
> Christian
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/contrib-2-0-infrastructure-tp7585559p7585579.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel