Closed
Bug 629743
Opened 15 years ago
Closed 14 years ago
Test environment setup should install a fixed version of Mozmill
Categories
(Mozilla QA Graveyard :: Mozmill Crowd Extension, defect)
Mozilla QA Graveyard
Mozmill Crowd Extension
Tracking
(Not tracked)
RESOLVED
WONTFIX
0.3
People
(Reporter: whimboo, Assigned: aaronmt)
References
Details
Attachments
(3 files, 2 obsolete files)
Right now the test environments setup script installs the most recent version of Mozmill available on pypi. We have to change that and only allow new versions of Mozmill once we have signed off and everything works as expected.
That requires a small change in the setup.py script. Aaron, would you like to do that?
Assignee | ||
Comment 1•15 years ago
|
||
Not sure what setup.py script you're referring to. As far as I know I think Clint would have to expose the older versions of Mozmill for download on PyPi
Reporter | ||
Comment 2•15 years ago
|
||
Sorry, I mean our setup.sh and setup.cmd scripts in the test environment.
Assignee | ||
Comment 3•15 years ago
|
||
I think this is what you want
Assignee | ||
Updated•15 years ago
|
Attachment #508400 -
Flags: review? → review?(hskupin)
Reporter | ||
Comment 4•15 years ago
|
||
Comment on attachment 508400 [details] [diff] [review]
Patch v1 - mozmill==1.5.1
>-easy_install -U mercurial mozrunner jsbridge mozmill
>+easy_install -U mercurial mozrunner jsbridge mozmill==1.5.1
Not sure if this will really work. Specifying the version only for mozmill could break the other modules. We should better remove dependencies and let easy_install decide which packages have to be installed. We have a hard-coded version dependency, so that should work. Please thoroughly test it with different versions.
Attachment #508400 -
Flags: review?(hskupin) → review-
Assignee | ||
Updated•15 years ago
|
Assignee: aaron.train → nobody
Reporter | ||
Comment 5•15 years ago
|
||
Aaron, whats the reason for un-assigning yourself? I definitely need you help for 0.2.
Assignee | ||
Comment 6•15 years ago
|
||
http://packages.python.org/distribute/easy_install.html#upgrading-a-package
Aside from maybe needing to specify quotes around the package and version I think that should work.
Specifying mozmill==1.5.1, installs its dependencies: MozRunner 2.5.2, and JSBridge 2.4.1, so I don't think its necessary in specifying the other modules.
I think easy_install "mozmill==1.5.1" should be fine
Unassigned because aside from just playing with the package version, I don't have any any other knowledge about pip or easy_install. Happy to test this out though
Reporter | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> Unassigned because aside from just playing with the package version, I don't
> have any any other knowledge about pip or easy_install. Happy to test this out
> though
It's not a matter of having no knowledge. For all the new stuff we are working on we have mostly no knowledge and have to find a way to get goals accomplished. I really would like to see you working on this bug.
Assignee | ||
Comment 8•15 years ago
|
||
Attached is my install log when I specify: easy_install -U mozmill==1.5.1
Assignee: nobody → aaron.train
Assignee | ||
Comment 9•15 years ago
|
||
Since easy_install is able to satisfy the dependencies on its own, we just have to change the lines in the environment setup files from [1] to [2]
[1] easy_install -U mercurial mozrunner jsbridge mozmill
[2] easy_install -U mercurial mozmill=1.5.1
Reporter | ||
Comment 10•15 years ago
|
||
Have you tried to jump between releases and the latest release candidates? Does that work?
Assignee | ||
Comment 11•14 years ago
|
||
(In reply to comment #10)
> Have you tried to jump between releases and the latest release candidates? Does
> that work?
Yes, easy_install/pip works great without specifying a hard version number, it finds a best match (which is the latest version):
Reading http://pypi.python.org/simple/mozmill/
Reading http://code.google.com/p/mozmill
Reading http://github.com/mozautomation/mozmill
Reading https://developer.mozilla.org/en/Mozmill
Best match: mozmill 1.5.2rc3
See the upgrade.log attached. I initially had 1.5.1 installed, and executed:
easy_install -U mozmill
After the upgrade, I had 1.5.2rc3, ManifestDestiny-0.2.2, MozRunner 2.5.3rc1, JSBridge 2.4.2rc1
Assignee | ||
Comment 12•14 years ago
|
||
If we want a fixed version for 1.5.1 at the moment, the following patch works as the dependencies are satisfied and downloaded, and 1.5.1 is installed.
Reminder though, this will need to be updated when 1.5.2 is released. The change would be |easy_install -U mozmill| ... it will download all dependencies including the new ManifestDestiny.
Attachment #509796 -
Flags: review?(hskupin)
Reporter | ||
Comment 13•14 years ago
|
||
(In reply to comment #12)
> Reminder though, this will need to be updated when 1.5.2 is released. The
> change would be |easy_install -U mozmill| ... it will download all dependencies
> including the new ManifestDestiny.
No, we will have to use "mozmill==1.5.2", or as discussed we want to go with bug 632362.
Reporter | ||
Comment 14•14 years ago
|
||
Comment on attachment 509796 [details] [diff] [review]
Patch v2 - mozmill==1.5.1
>-easy_install -U mercurial mozrunner jsbridge mozmill
>+easy_install mozmill==1.5.1
Why are you removing mercurial?
Attachment #509796 -
Flags: review?(hskupin) → review-
Assignee | ||
Comment 15•14 years ago
|
||
Ah, oversight on my already deployed environment. I will update the patch.
Assignee | ||
Comment 16•14 years ago
|
||
Added back 'mercurial' module to easy_install package listing for Linux and OS X
Attachment #508400 -
Attachment is obsolete: true
Attachment #509796 -
Attachment is obsolete: true
Attachment #510633 -
Flags: review?(hskupin)
Reporter | ||
Comment 17•14 years ago
|
||
Comment on attachment 510633 [details] [diff] [review]
Patch v3 - mozmill==1.5.1
I haven't seen a comment from you why you have removed the -U option, but as testing shows it works also fine and broken packages get repaired. Lets get this checked in.
Attachment #510633 -
Flags: review?(hskupin) → review+
Assignee | ||
Comment 18•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 19•14 years ago
|
||
As spoken, we want to revert these changes.
https://github.com/whimboo/mozmill-crowd/commit/6ca6a49c134265e70cbb69f8b23db7085e3a8223
Henrik, with git, is this just 'git revert 6ca6a49' with a message to commit, and then pushing to master?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 20•14 years ago
|
||
I had to try it on my own but yes, that how it works. I did the backout this time:
https://github.com/whimboo/mozmill-crowd/commit/4e7b7f3f01c5d85302ac34a9555f1a26b25a67ad
Reporter | ||
Updated•14 years ago
|
Target Milestone: --- → 0.3
Assignee | ||
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 21•14 years ago
|
||
This is not fixed. We have moved it to a future milestone.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 22•14 years ago
|
||
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/13229757
Comment 23•14 years ago
|
||
Henrik Skupin deleted the linked story in Pivotal Tracker
Reporter | ||
Comment 24•14 years ago
|
||
Closing as wontfix, now that we want to have fixed versions of all tools. I will file new bugs for upcoming tasks under the Automation component.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → WONTFIX
Updated•13 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•