Item11276: amend build.pl to refuse to upload if the plugin VERSION is not > than the one in the destination topic
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
that way we eliminate the reason that $rev and $date were used (before there was a build contrib..)
$rev etc are pretty broken on subversion, and totally gone in git.
I should do penance and implement it - but if someone else does it, it will happen sooner.
--
SvenDowideit - 22 Nov 2011
Doesn't this stop upload of an older version if a release was done by mistake? Or there was a flawed attach or other issue during the previous upload.
If this is implemented it probably needs an exception. I know sometimes it's taken me several attempts to get a full upload completed.
--
GeorgeClark - 22 Nov 2011
so long as it aborts for
./build.pl upload
it will stop me from doing the wrong thing, which will achieve what
$rev
was intended to when we were still on
cvs
.. which is all I want...
--
SvenDowideit - 22 Nov 2011
Okay, so I release
BlahPlugin 1.2. Upload fetches the topic to recover the form, and saves a new version. Topic now at 1.2. Then it starts the attach. Attaches tgz, and then zip, and that one times out and crashes. So I try again. Now the web topic is at 1.2, aren't I stuck?
--
GeorgeClark - 22 Nov 2011
why would we write something as dumb as that?
as upload is fetching the topic to recover the form already, all we need to do is compare
before we save a new version.
--
SvenDowideit - 23 Nov 2011
While I agree this would be nice to have, I don't consider it Urgent. Reprioritised as an enhancement.
--
CrawfordCurrie - 10 May 2013