-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
this.remote async execution order #903
Comments
What version are you on? |
NodeJS: 4.2.2 |
I meant |
Sorry, in Germany it was late |
Same issue here. |
@SBoudrias bump |
Personally I’ve solved the issue using an NPM module instead of the built-in remote utility. And I agree with @SBoudrias (#766 (comment)) regarding the remote and fetch utilities: those tasks can be accomplished with other NPM modules. By the way, it's just my opinion :) |
@benitolopez What npm module? I don't think it is a good idea to turn off using built in functions instead of debugging them. Many people require same things so I am glad that the built in utilities exist and I don't need to worry about vendor things. |
@benitolopez Thanks for letting me know. How are you handling remote fetches where you only want to download a single file or directory, not the entire zip? |
I'm using that module to download the whole zip so I've never tried with a single file. But the example in the download page downloads a zip and a single file. Just delete the "zip" line. |
@benitolopez I can confirm it shows an example to download a single file. However, since GitHub doesn't provide download links for single folders of a GitHub repo I would need to download the entire repo, extract it into a temporary folder and copy the things from there. Seems to be not a really profit instead of debugging |
@julmot I'll get to it, but I'm fairly certain it's an issue with your code specifically as you're the only one who reported this issue - or any issues regarding asynchronous execution. As such, it's not really to the top of my todo list currently. If you can create a reducer test case generator reproducing this issue, it'll help me look into it faster. Also, it might just help you figure out the issue if it's effectively related to your own code. |
@SBoudrias on your wish Demo generatorHere is a ZIP containing a demo generator: Steps to reproduceAll you need to do is extract it and run Expected behaviourThis will output: I have framed the wrong part. All |
Oh, I totally misunderstood your issue. The |
@SBoudrias Thanks for letting me know. |
@julmot what is really the issue you want to fix? |
@SBoudrias I would like to have a console output that shows the tasks in the same order as they are processed in the background. If an action like |
Hey, you could manually use |
I find the current log behavior confusing and I think others too. Is there a way to hide those "create x" statements? |
No. We haven't had complaint from end users and we want to keep the experience consistent across our ecosystem. |
A part of a yeoman generator:
will print the following:
Fetching...
andcreate "..."
is related tothis.remote
.So what I expect is:
What is going on here?
The text was updated successfully, but these errors were encountered: