split of mockup / plone.mockup
Johannes Raggam <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
I refactored mockup today, so that the Python packaging related code is in plone.mockup and mockup is installable via bower again. plone.mockup is the new mockup integration package for Plone 5. It uses git submodules to pull the mockup repository. This is the story behind this change: The mockup repository was restructured after the Plone conf in order to be able to create eggs out of it. Therefore, all relevant content was moved into the mockup sub directory. But since then, mockup couldn't be properly installed via bower. Installing mockup with bower doesn't install any of it's dependencies, because bower.json is not in the top level directory. Moving bower.json, package.json, Gruntfile.js and Makefile to the top level directory doesn't help much, because mockup-core is expecting a specific directory layout and would have to be patched in order to work with another directory layout. This was actually my first attempt, but I gave it up because one error lead to another. Therefore I tried another path and created plone.mockup, which is a Python package, which pulls mockup via the git submodules featue. I know, git submodules are known to be nasty, but here it helps to solve the issue of mockup not being a proper bower/npm package. Why would I depend on mockup in another bower package? I want to create a custom bundle for Plone 4, which includes the mockup widgets bundle and some custom JavaScript for a client project. I hope you're all O.K. with that. Cheers, Johannes ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlT8voAACgkQW4mNMQxDgAfTUwCeK/oIZXZXsvIqIOCsdh9UAYYR thYAnRyjbidpjpd0I6RjR90h5QPjV+tj =wPZZ -----END PGP SIGNATURE-----