Comments (11)
Any chance to make this happen?
It should be released as 3 different packages. E.g. ckeditor/ckeditor (standard), ckeditor/ckeditor-basic, ckeditor/ckeditor-full
composer/composer#6489 (comment)
[edit]
Maybe additional three repos automatically splitted?
from ckeditor4-releases.
That does not work in general with composer libraries. You simply do not see the versions unless you're on stability dev.
from ckeditor4-releases.
This is what worked for us: "ckeditor/ckeditor": "~4.7.0+full"
This is what worked: "ckeditor/ckeditor": "dev-full/4.7.x as 4.7.0"
(full/4.7.0
does NOT work for some reason)
@oleq @Reinmar @mlewand To my understanding, using a /
in the version tag is not covered by semver. Build metadata should be annotated with a +
sign, see http://semver.org/#spec-item-10
from ckeditor4-releases.
Thanks @schmunk42 for your insights.
Your latest suggestion pins the release but not the specific version.
I worked around it by adding the tag.
It's not very legible but does the trick for now.
The documentation still needs updating though…
from ckeditor4-releases.
It looks that Comopser is simply not handling tags that way, since branches are working correctly. You can see Fetching a Particular Build Preset section in our docs to find pretty much what @schmunk42 has suggested, so the docs are fine here.
As for workaround, since Composer doesn't play well with tags that contain backslash, you could simply pin the requirement to a given hash.
To my understanding, using a / in the version tag is not covered by semver. Build metadata should be annotated with a + sign, see http://semver.org/#spec-item-10
Yes, these branches do not follow SemVer - we simply added them to allow devs to fetch a particular build.
from ckeditor4-releases.
@mlewand Thanks for your comment.
The docs are indeed fine but the blog I linked in my first message is not.
Unfortunately it's the first Google result for "ckeditor composer" hence my mixup.
Sorry for the confusion.
from ckeditor4-releases.
I haven't really tested it, but would you consider an additional tag like 4.7.0+full
if it would work fine?
from ckeditor4-releases.
The problem with composer and multiple distributions is, because of the fact that ckeditor is often included as a dependency, that you can not specify a version constraint like ^4.2.1
.
If you wanna include a full version, you have to "patch" your root composer.json
pointing to a specific branch or version, which makes package management with dependency resolution useless in this setup.
Would be really nice, if you could provide a solution for this.
from ckeditor4-releases.
And how would Composer resolve anything like ^4.7.0+full
? I'm afraid that it will simply skip meta info, and will just use any other preset. That's a no-go for us if it would replace 4.x.x+basic
with a 4.x.x+full
or the other way around during the update.
from ckeditor4-releases.
Tried it with a fork and it does not work :(
See my issue in composer/composer...
from ckeditor4-releases.
It is a possibility, I created #69 for this, however it's not a hi priority for us ATM as it will require a bit of work to make it happen (and maintain backward compat).
from ckeditor4-releases.
Related Issues (20)
- Error invalid-lts-license-key
- HTTPS on the CKEditor website HOT 7
- Separate distribution channels for basic / full / standard preset HOT 1
- Require `composer-installers` to give us a possibility to use it HOT 1
- Downloading full version HOT 1
- 4.7.3: Spell Checker blocks editing when remote spell checker is offline HOT 1
- Why is 'enterkey' plugin not distributed? HOT 1
- skin.js missing in monoo-lisa HOT 1
- Unable to access 'https://github.com/ckeditor/ckeditor-releases.git/ HOT 1
- CKEditor 4 td input error on Korean. HOT 1
- After copy & paste ckeditor data, Custom plugin data is not rendered in ckeditor HOT 1
- Installing CKEditor via Composer HOT 1
- Update links to docs from docs.ckeditor.com/ to ckeditor.com/docs/ HOT 1
- Website not working HOT 1
- safari browser is not support paste event with image HOT 1
- Latest release version via the builder is broken HOT 8
- Packagist not updated for 4.18.0 HOT 1
- Stylesheet Parser Plugin Missing?
- extra space between two lines
- About full version use npm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckeditor4-releases.