-
Notifications
You must be signed in to change notification settings - Fork 15
Prepare release of 1.0.0 #74
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -69,7 +69,7 @@ | |||||
| "web" : "https://github.com/openSUSE/Mojo-IOLoop-ReadWriteProcess" | ||||||
| } | ||||||
| }, | ||||||
| "version" : "0.34", | ||||||
| "version" : "1.0.0", | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "x_contributors" : [ | ||||||
| "Adam Williamson <awilliam@redhat.com>", | ||||||
| "Clemens Famulla-Conrad <cfamullaconrad@suse.de>", | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||
| package Mojo::IOLoop::ReadWriteProcess; | ||||||
|
|
||||||
| our $VERSION = '0.34'; | ||||||
| our $VERSION = '1.0.0'; | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I don't see why we should do that. You referenced a 7 year old blog article from an individual and a Perl module within your personal scope. Every project using a sane version number I now does not feature a v-prefix so I don't see why we should do that
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Said blog article gives a perfectly valid reason. Versions should be strings to preserve all digits. That said, this string is quoted. So it is a string in any case.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The blog article is still relevant, from a very active perl toolchain member, and it recommends that one should use both a I don't know how you conclude "Every project using a sane version number I now does not feature a v-prefix".
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I am not sure what you mean with "module examples". I have no problem including the v in some CPAN specifics as necessary. My point is that I don't see (yet) why the version in the project itself should include the v. Some examples are:
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Look at https://metacpan.org/recent Most modules which use 2 dots are using the
The prefix is about how to specify the version in a perl module. To get the semver version of such a perl module you just strip the
Again, it's about how you specify it in perl.
Oh? Is
So, how many CPAN modules do you maintain? It's possible to leave the And I don't see any problem with it.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So what do we get from prefixing with v? I don't see that discussed in the blog.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only clarity about the version format, like I said.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In the spec file of that very package you are duplicating the version string - you define it once with the At least use Or this all could be simplified by not using
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Well, it depends on how you define "simplify". As you hopefully know, we are using cpanspec to generate the spec files. I don't write that manually. The So, let's have a look Mojolicious: Now you are suggesting, that if cpan_version is something like but in all other cases (like for Mojolicious) I can't use this. That would make the cpanspec code even more complicated.
And even if I would do this for YAML-PP, what about the thousands other CPAN modules that don't? |
||||||
|
|
||||||
| use Mojo::Base 'Mojo::EventEmitter'; | ||||||
| use Mojo::File 'path'; | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.