Item11276: amend build.pl to refuse to upload if the plugin VERSION is not > than the one in the destination topic

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: BuildContrib, SCM
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: CrawfordCurrie
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

 

ItemTemplate edit

Summary amend build.pl to refuse to upload if the plugin VERSION is not > than the one in the destination topic
ReportedBy SvenDowideit
Codebase
SVN Range
AppliesTo Extension
Component BuildContrib, SCM
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r10 - 10 May 2013, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy