-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please release beta version #127
Comments
I'm not sure if current
Why you're setting that at all in your project's
I'm presuming |
If it's used externally, it's already somehow usable. Maybe it's not RC but it's a BETA.
It doesn't matter for BETA. You aren't going to claim it as stable.
I'm not sure what do you mean. The command below requires setting
If I have minimum-stability higher than "dev" this command won't work. If I set |
I would even say, you must not require branches in composer. It's the worst way for making stable packages. But the module has a branch only for last updates. |
When you specify version as I'm not sure, why this isn't work for you. P.S. |
The |
That's a version range. That's not a version. |
Look, let's go to practice.
I gonna install it.
All packages use DEV version. Do you see the problem? |
Yeah, only prefer-stable works. |
Anyway, I don't why you cannot release at least beta version if people already use it, I don't see any obstacles. The package even don't alpha versions. No milestones at all. |
I don't understand why you think you need
to your composer.json. You'll have all your usual packages at their usual versions, but for this library you'll be using the 2.0.0 dev branch. |
Thanks, @DerMika. That's exactly what I was explaining to @andkirby in #127 (comment). No need to release alpha/beta to use the library. |
Ok, I've set it:
And in
I got this:
|
With pure composer.json:
it's the same. |
I never heard it can work in your suggested way. |
My appologies @andkirby . Now I see where the problem is. In the README command should be
instead of
There is |
This wasn't working because I've created #128 PR with a fix to README. |
Heh, ok )) Yeah, it works for "stable" mode. |
Documentation page at https://getcomposer.org/doc/articles/versions.md#caret doesn't say it will. I've also found good article about version constraints: https://blog.madewithlove.be/post/tilde-and-caret-constraints/ |
Hm, true... Maybe it was before. Thanks for this point. |
Hi :) So, your approach works only if I require the package
For me it's overhead. So, this doesn't work:
|
For what it's worth, Im doing my best to get a release done soon. (Feel free to tag along and fix some issues in the 2.0.0 milestone list). With proper releases we won't have all the above hassle. |
@andkirby the order (before/after) doesn't matter. You just need to mention it in topmost |
@andkirby as we already figured out releasing beta won't allow it be used due minimum stability setting anyway. I guess you have project that you want others to use, but you need stable version to avoid specifying 2 dependencies (to your project and yo |
Hi @aik099,
I have found people requested release of 2.x version. In case it's still under development, it could release at least BETA version.
Anyway, according to versioning I cannot use DEV version. It's not stable at all. If you provided a version which can be used externally it can be BETA version.
Try to use http://semver.org/ for your versioning. It's a good pattern.
Also, the main cause why it's needed because composer minimum-stability.
I must set it to "dev" to fetch the package. In this case other packages can be, even will be, fetched as DEV versions what is really bad because they can be completely unstable.
Assuming aforesaid, I would like to ask you to add your first BETA version. We are really need it.
After a while you may push it stable if there are no serious issues and if it works for you. Just to mark it as stable if it really is.
We are looking forward to v2.0.0-beta. :)
Thanks in advance, and thanks for your efforts in this module!
The text was updated successfully, but these errors were encountered: