-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Simplifies code contributions by automating the dev setup #11300
Conversation
Would this work-flow actually support running any of the PDF.js test-suits, or even running lint, since making it easier for people to submit completely untested PRs probably isn't such a great idea!? |
Yes, running lint and unit tests would be a very good idea. Ideally you can also run the regression tests though, but I don't know if that is possible in the workflow; running lint and unit tests should already catch a few issues depending on which code is touched. |
Unless it's possible to follow the entire work-flow and run all test-suite (including reference tests) mentioned in https://github.com/mozilla/pdf.js/wiki/Contributing, then advertising this in the README seems like it might cause some unnecessary friction for a would be contributor. For example: Let's assume that we add this and someone uses it to submit a patch touching e.g. That sort of situation doesn't seem great at all, at least as far as I'm concerned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note all patches much contain a good commit message that describes exactly what's being changed and why the change is made; hence something like e.g. "Configures gitpod" is not at all useful (even more so when using the Git command line).
Thanks! @Snuffleupagus I have made the changes and updated the branch. |
At what point is this actually done? |
Oops! Sorry! I was absolutely wrong 😞 I meant to say that contributors don't have to run this command |
Let's give this a try. Thank you! |
Hi! there, 🙂
this PR adds support for Gitpod, a free online tool that lets you automate your dev environment, eases the hurdles for contributions and generally working on GitHub projects. It allows anyone to get a ready-to-code dev environment for any branch, issue and pull request with a single click.
In the case of this project, it will launch a ready to code workspace with the dependencies installed and the web server running so that contributors can start hacking around with the project without wasting any precious time on the development setup.
You can give it a try on my fork of the repo: https://gitpod.io/#https://github.com/nisarhassan12/pdf.js
It seems to work well! Please let me know if there is anything that can be improved. I would love to help :)