-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
Point at a local installation for dev purpose #47
Comments
Do you want this tied to a particular version or a generic I have to say, I normally work with a |
That's a good question. |
I'm thinking along the lines of allowing multiple labels. You would then be able to point any of these labels to any directory on your machine. In other words, you wouldn't need to go digging for it in your This would then allow support for a single |
The local development candidate feature is now available for testing on our test environment.
Don't forget to source the You can now perform all the commands except listing of candidates. If you attempt to list, the local version simply won't show up in the list (yet). I'll be looking at implementing this shortly. For now, please read the cucumber feature for local development versions which should make the usage very clear. /cc @graemerocher |
Thanks Marco... will give a go! |
On my Mac, when sourcing
|
But apart from that uname problem... the local installation worked fine for me, and I could use my local version! |
Thanks for picking that up. The error that you are seeing is due to something else I was working on. Looks like the Mac version of uname is a little different from other platforms. |
Yeah I also noticed the uname problem, also if you do "gvm list grails" it doesn't display local builds, not serious but for consistency maybe it should? Otherwise works great! |
@graemerocher You might want to read his comment with the bold statement 'You can now perform all the commands except listing of candidates' 😉 |
But since when do we have to read comments, manuals, tutorials, documentation and what not? :-D |
@graemerocher yes, I'll be releasing the listing within the next day or so. |
@pledbrook Wow, I think because it was in bold I just skimmed over that 8D |
Switching from a local installation to a standard one doesn't seem to work. Will investigate. |
OK, so |
I'm struggling to get a Cucumber test that reproduces the problem :( This is passing, even with the broken code:
@marcoVermeulen Any ideas? |
@pledbrook Strange, but I can't replicate what you are seeing. I've run through your scenario manually and it works perfectly on my side. Can you tell me what the exact steps are that you take? |
Is that because you use a label that starts with a number? Ah ha! That's why the test succeeds. I should be trying with a label of 'dev'. Doh! |
Ah, okay. I can replicate it as well now. Well spotted! Are you going to be looking into this one or should I fix it? |
I have a simple fix and cucumber test, but now I'm getting a whole bunch of cuke test failures unrelated to my change. The failures almost look as if aeroplane mode is misfunctioning in the tests. |
Do you perhaps have a local server running on port 8080? |
Yes. Perhaps the tests could fail with a big error message about 8080 already being in use? 😄 Anyway, changing the feature to use |
Is this because the |
No, they're not run in both modes. They should be run with isolated mode enabled. In fact, I'm thinking of stripping out the isolated mode configuration. Isolated mode is proven to work well and is default behaviour by now. I'm all for just keeping it simple. |
OK. Well I've pushed fix + two scenarios (one with isolated mode active, one without). I'm OK with only having the one mode of operation now, but before going 1.0 we should sort out the variables as you've mentioned before. Although they aren't visible via the |
Agree. About isolated_mode, I can look at it this weekend after finishing this feature. |
@graemerocher I've pushed the changes for listing local dev versions. Cukes can be found here. I've deployed it to the test environment as before so give it a go. |
@marcoVermeulen Nice! will give it a go |
Okay guys, not hearing anything back from you so presume it's working... Closing this issue. |
It's indeed working fine. On Tue, Jan 22, 2013 at 10:12 PM, Marco Vermeulen
Guillaume Laforge Blog: http://glaforge.appspot.com/ |
No probs :-) |
As a Groovy developer, I often install development versions of Groovy locally.
It's usually the master branch of upcoming Groovy releases, etc.
It'd be nice if I could tell GVM to use my local installation as well, in addition to all the known release versions. For example:
Or something like that. I'm sure you'll find a better command-line to use.
The text was updated successfully, but these errors were encountered: