yegor256 / rultor

DevOps team assistant that helps you merge, deploy, and release GitHub-hosted apps and libraries
https://www.rultor.com
Other
563 stars 157 forks source link

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

Closed dmzaytsev closed 8 years ago

dmzaytsev commented 8 years ago

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.

alex-palevsky commented 8 years ago

@dmzaytsev this task will get someone's attention soon

alex-palevsky commented 8 years ago

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

alex-palevsky commented 8 years ago

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

alex-palevsky commented 8 years ago

@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 commented 8 years ago

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 commented 8 years ago

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

dmzaytsev commented 8 years ago

@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 commented 8 years ago

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.

JimmySpivey commented 8 years ago

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 commented 8 years ago

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

yegor256 commented 8 years ago

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

JimmySpivey commented 8 years ago

@alex-palevsky code-review needed for #989

alex-palevsky commented 8 years ago

@alex-palevsky code-review needed for #989

@jimdeanspivey OK

alex-palevsky commented 8 years ago

@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 commented 8 years ago

@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 commented 8 years ago

@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 commented 8 years ago

@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 commented 8 years ago

@alex-palevsky assign me please.

gumbelmj commented 8 years ago

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

original-brownbear commented 8 years ago

@gumbelmj as per #16 you had 10 days to complete this task, more than 10 days have passed now. As per #26 it is my obligation to ensure no task becoming stuck. In accordance with #29 my tool towards achieving this is asking to reassign issues.

You were given repeated advice in the PR by me and the code reviewer and there still are a number of issues with your PR. Hence I'm asking @alex-palevsky to address this by reassigning this ticket to me or in whatever other way he sees fit.

gumbelmj commented 8 years ago

@original-brownbear I understand that it is within policy to reassign the issue. At this moment I believe I have addressed all concerns. I didn't realize how much time had elapsed. I apologize. In the future, I will pay more attention to that.

original-brownbear commented 8 years ago

@gumbelmj I have addressed your PR, it is not acceptable for a wide number of reasons, see my comments there.

alex-palevsky commented 8 years ago

@alex-palevsky assign me please.

@original-brownbear OK, it is yours, please proceed

original-brownbear commented 8 years ago

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

dmzaytsev commented 8 years ago

@original-brownbear sure :) thank you

original-brownbear commented 8 years ago

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

alex-palevsky commented 8 years ago

@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