Skip to content
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

check for release versions that are lower than already existing ones #960

Closed
dmzaytsev opened this issue Dec 7, 2015 · 27 comments
Closed
Labels

Comments

@dmzaytsev
Copy link

At the moment Rultor doesn't make any check for the release version.
It is possible to release versions that are lower than already existing ones.
It would better if Rultor will prevent such releases.

@yegor256 yegor256 added the bug label Dec 8, 2015
@alex-palevsky
Copy link
Contributor

@dmzaytsev this task will get someone's attention soon

@alex-palevsky
Copy link
Contributor

@dmzaytsev since the ticket has no milestone I set it to 2.0

@alex-palevsky alex-palevsky added this to the 2.0 milestone Dec 8, 2015
@alex-palevsky
Copy link
Contributor

@dmzaytsev thanks for the ticket, your account was topped for 15 mins, payment 71681605

@alex-palevsky
Copy link
Contributor

@jimdeanspivey please pick this up, and keep in mind these instructions. Any technical questions - ask right here

The budget here is 30 mins, which is exactly how much time will be paid for, when the task is completed

@JimmySpivey
Copy link

Here is my understanding of the problem:

[at-sign]rultor release, tag is `0.1`
[at-sign]rultor release, tag is `0.2`
[at-sign]rultor release, tag is `0.8`
[at-sign]rultor release, tag is `0.3`

And that the problem is that I should not be able to release version 0.3 since the current version is 0.8 ?

@dmzaytsev
Copy link
Author

@JimDeanSpivey yep, Rultor shouldn't allow release 0.3 in this case

@dmzaytsev
Copy link
Author

@yegor256 on the other note it would be nice to be able to force any release
so if i say rultor release, tag='0.3' force
rultor will release it in any case

what do you think?

@JimmySpivey
Copy link

Not sure if Rultor enforces version numbers (as opposed to just allowing any string). So I want to mentioned that version numbers in git releases can be any string, which means that is not always possible to validate that they must be high enough.

  • 1.2.3 - most common and valid. This can be validated to make sure that 1.2.3. is not lower than the current version.
  • my-tagged-release - obviously there is no way to apply version ordering here
  • 1.2.3-beta - Some people put characters after or in with many different reasons. I think these should be ignored.

@JimmySpivey
Copy link

Currently have it rejecting if the version number is too low via this PR: #989 But still waiting for input regarding the force functionality.

Also, I have some questions/concerns about qulice's enforcement. Because I cannot use the new keyword in a for loop, I had to use Guava's transformation utils to convert a list from one object type to another. I think the code looks much cleaner without Guava (using manual for loops and the new keyword). Performance-wise, it's probably also faster than using guava or the same. Should I raise an issue, using code samples of before and after, on qulice issues ?

@yegor256
Copy link
Owner

@JimDeanSpivey make sure you address your comments to someone, by adding the name in front of it. otherwise, who are you talking to? :)

@yegor256
Copy link
Owner

@dmzaytsev I think that "force" is not required now. maybe, in the future, if someone will ask for that, we'll implement it

@JimmySpivey
Copy link

@alex-palevsky code-review needed for #989

@alex-palevsky
Copy link
Contributor

@alex-palevsky code-review needed for #989

@jimdeanspivey OK

@alex-palevsky
Copy link
Contributor

@jimdeanspivey the task is your hands for the last 16 days.. keep in mind that if it's not closed in the next 48 hours, it will be re-assigned to someone else, see No Obligations principle. This article should help if you're stuck... -30 added to your rating, current score is: +8

@alex-palevsky
Copy link
Contributor

@jimdeanspivey this task is taking too long, I have to change the performer, sorry. Please stop working with it right now. See our no obligations principle. -60 to your rating, your total score is -112

@alex-palevsky
Copy link
Contributor

@gumbelmj please go ahead, it's your task now, keep this in mind, and don't hesitate to ask any technical questions you may have

Budget here is 30 mins (keep this principle in mind)

@original-brownbear
Copy link
Contributor

@gumbelmj I'm sorry but this task has been with you for more than 10 days now.
Given that you did not address the criticism in the PR today and this is the last task missing for the next release, this cannot wait any longer.

@original-brownbear
Copy link
Contributor

@alex-palevsky assign me please.

@gumbelmj
Copy link
Contributor

@original-brownbear I did not know this was holding up a release. I will address the comments.

original-brownbear added a commit to original-brownbear/rultor that referenced this issue Feb 28, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Feb 28, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
… this PR, this is not in the scope of the issue.
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
… this PR, this is not in the scope of the issue.
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
… this PR, this is not in the scope of the issue.
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
… this PR, this is not in the scope of the issue.
original-brownbear added a commit to original-brownbear/rultor that referenced this issue Mar 2, 2016
rultor pushed a commit that referenced this issue Mar 4, 2016
rultor pushed a commit that referenced this issue Mar 4, 2016
@original-brownbear
Copy link
Contributor

@dmzaytsev alright, merged and released om 1.61.8 at last after a million delays :) Could you close here please ?

@dmzaytsev
Copy link
Author

@original-brownbear sure :)
thank you

@original-brownbear
Copy link
Contributor

@alex-palevsky can you close here ? This is still open in my agenda, thanks :)

@alex-palevsky
Copy link
Contributor

@original-brownbear 30 mins sent to your balance (ID AP-43453076WK620521H), many thanks! It took 126 hours and 55 mins.. +30 added to your rating, at the moment it is: +812

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants