Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If CKEditor were installed via the 'drush make' command and CKeditor had a properly configured ckeditor.make file, the CKeditor library could automatically be fetched and installed into the libraries folder.
Cheers,
Antoine
Comment | File | Size | Author |
---|---|---|---|
#3 | ckeditor-1011178_1.patch | 468 bytes | jantoine |
#1 | ckeditor-1011178.patch | 468 bytes | jantoine |
Comments
Comment #1
jantoine CreditAttribution: jantoine commentedAttached is a patch that adds a ckeditor.make file.
Cheers,
Antoine
Comment #2
thill_ CreditAttribution: thill_ commentedcolorbox?
Comment #3
jantoine CreditAttribution: jantoine commentedWhoops!
Fixed patch file is attached.
Cheers,
Antoine
Comment #4
dczepierga CreditAttribution: dczepierga commentedIt wouldn't be better to do something like this:
Then u can get every time the last stable version?
Comment #5
jantoine CreditAttribution: jantoine commenteddczepierga,
Sounds great... Please submit a patch so we can get it committed.
Cheers,
Antoine
Comment #6
dczepierga CreditAttribution: dczepierga commentedI commit patch to CVS.
Please check the latest dev release and let me know if you notice any poblems with it. Remember to clear Drupal cache and browsers cache before testing.
Comment #8
adrinux CreditAttribution: adrinux commentedMuch as I love drush_make and the dream of auto downloading libraries with modules there are numerous situations where including a naked make file will break platform builds.*
I'd suggest renaming ckeditor.make to ckeditor.make.example to avoid problems, this was the solution for colorbox module too (see http://drupal.org/node/839580#comment-4075174 )
* case in point: today I'm doing a new platform build to update modules and have an error:
Basically this makefile doesn't work with drush-7.x-4.4 / drush_make-6.x-2.2 (due to drupal.org infrastructure changes I think, post git migration). End result is that my platform build fails and I now have to fiddle about either pinning ckeditor module to an earlier release, or creating a custom branch to pull in with my own make file, just so I can update.
Comment #9
dczepierga CreditAttribution: dczepierga commentedI was fixed yesterday here: #1099748: Fix drush make error when building a site with CKEditor
If u found any bug pls open new issue with your problem next time.
Greetings
Comment #10
adrinux CreditAttribution: adrinux commentedIt's not just about the make bug that was fixed, I'm arguing that it's just not good to have make files that auto run, at least at this point (changes in drush_make could make that moot).
What if I want to use a different version of CKEditor itself? Maybe there is a bug I need to avoid and it's fixed in the dev version of CKEditor, for example.
Right now I can specify the version I need in my make file, but the ckeditor.make will override my choice. And AFAIK there is nothing I can do about that. (Well, I can fork ckeditor and change the name of the make file, or manually install it. Not good.)
And if ckeditor.make breaks, it breaks the whole platform build.
Until drush make allows us to override all other make files in our own make files, having them auto run is a bad idea.
So I would again ask, can we please change the name of the make file to ckeditor.make.example? For the sort of people that use drush_make having the make file example is helpful, and it's no big deal for them to copy it over to their own make, keeping it as ckeditor.make takes away the power and flexibility of drush_make.
Comment #11
dczepierga CreditAttribution: dczepierga commentedI create new issue for this feature - #1103872: Change name of ckeditor.make to ckeditor.make.example for drush make module
And this issue i closed, because it's not related with this feature.
Greetings
Comment #12
adrinux CreditAttribution: adrinux commentedRenaming the issue back to it's original title, since there ended up a seperate issue for the make file name change.