nodejs / code-and-learn

A series of workshop sprints for Node.js.
164 stars 79 forks source link

Common questions at C&L events #86

Open BridgeAR opened 6 years ago

BridgeAR commented 6 years ago

This issue is meant as a kind of FAQ for mentees and mentors.

Please add comments for things that you might encounter so others can look this up as well.

Questions:

ChALkeR commented 6 years ago
  1. [macOS] test-cluster-bind-privileged-port and test-cluster-shared-handle-bind-privileged-port fail on macOS Mojave, see https://github.com/nodejs/node/issues/21679. Solution: known Mojave issue, just ignore those two.
  2. [macOS] Tests that launch subprocesses and wait for them to abort (e.g. test-process-abort-exitcode and test-domain-with-abort-on-uncaught-exception) take long to run and/or timeout on macOS with CrashReporter enabled. Solution: disable CrashReporter, see https://github.com/nodejs/node/issues/13527#issuecomment-311672640.
  3. Quite often, people have (slightly?) outdated master branch versions. git pull upstream master =).
  4. [Windows]: There was a windows-specific problem with installing a proper Visual Studio build tools. Installing just "Visual C++ build tools" (as https://github.com/nodejs/node/blob/master/BUILDING.md#windows-1 recommenda) didn't help. Installing some more Visual Studio-related stuff helped, but I don't have the details — I wasn't the one who resolved that.
ChALkeR commented 6 years ago

Those issues are not code-and-learn specific, I think that they should be either resolved or mentioned in the documentation (e.g. BUILDING.md).

mhdawson commented 6 years ago

Not necessarily 100% relevant but one comment I got was that its not always obvious who the mentors are. Something like wearing the same shirt or hats that stand out might help ?

So the question would be "who are the mentors"

mcqj commented 6 years ago

It would be useful if the tasks being assigned include the issue number of the associated issue so that committers can include a reference in their commit message.

BridgeAR commented 6 years ago

@mcqj Icreated these tasks specifically for the code and learn event and there are no issues for them. It would have been even more work to create issues and I hope you all had a good experience also without such a reference!

mcqj commented 5 years ago

No problem at all @BridgeAR

gireeshpunathil commented 5 years ago
  1. I completed my first PR, where do I go next? How do I get the list of next level PRs that I can make?

Please review https://www.nodetodo.org/next-steps/

  1. Did you make this (the code change requirement) on purpose, for the new comers?

No, these are incremental improvements that we identified but kept on stock for this exercise. We did not artifically created these issues for the purpose of code & learn.

  1. What happens if I raise PR on the master of my fork?

If you are raising a single PR no problem with that. When a second undertaking is being worked, the existing branch carries the first PR's content that is not desirable. So the best practise is to create one branch per PR and work inside that, for isolation and easy management.

  1. How to run single test?

Exaplained above.

  1. How do I know whether lint (or everything) passes? my output was too long, and at the end of it did not say success or failure.

If there is an error on any of the passes, the bottom of the log will clearly say so. If no error report found, that means all is well.

  1. I am new to git and github. Can you teach me that first?

Sure, will plan for that next time.