-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding build files #9
Conversation
@seanlip PTAL! Thanks! |
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.
@HardikGoyal2003 Please add proof of changes (i.e. that guppy still works properly).
Also were you planning to update/add the PR template with the checkbox + instructions to do a build, so that all future PRs to guppy will do that automatically? Would be good to get that process in place now so that the next PR can be a test of that workflow. (Here's the oppia/oppia version: https://github.com/oppia/oppia/blob/develop/.github/PULL_REQUEST_TEMPLATE.md)
@seanlip PTAL! I remember that I needed to add a PR template and add build steps in the readme file. I am currently awaiting the merge of this PR to ensure that we do not encounter any issues with the build process after merging. Thanks! |
@HardikGoyal2003 I'm not sure why you're testing with guppy, you should be testing with the oppia app. Remember how last time we merged this and then your changes broke the oppia app, we shouldn't do that again. Also, I think it's fine to add the template and build steps here since they have no effect on the correctness of the PR. |
@seanlip Okay, I will template and build steps with this PR! Just not sure how to test changes on the oppia app since it takes guppy from the online repo. I found that changing the Screencast.from.27-02-24.11.28.16.PM.IST.webm |
No, you probably should update package.json temporarily and do a reinstall. Don't modify node_modules/ directly. |
@seanlip It's working fine! I changed the guppy dependency path to a local path and restarted the server, it automatically updated the Package.json
|
@seanlip PTAL! Thanks! |
@HardikGoyal2003 Please show video proof of changes that also shows what package.json looks like, thanks. (Reviewers need to verify this.) |
@seanlip Here is the video proof, Thanks! Screencast.from.28-02-24.11.40.52.PM.IST.webm |
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.
Thanks @HardikGoyal2003. Looks fine, left a few comments about the docs, thanks!
PULL_REQUEST_TEMPLATE.md
Outdated
needed because {{Reason}}" and remove all the sections below. | ||
--> | ||
|
||
#### Proof of changes on desktop with slow/throttled network |
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.
You can drop this, and the mobile phone section.
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.
Done!
PULL_REQUEST_TEMPLATE.md
Outdated
## Proof that changes are correct | ||
|
||
<!-- | ||
Add videos/screenshots of the user-facing interface to demonstrate that the changes |
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.
Can you update these instructions to be more specific to Guppy? Remove any that don't apply, and explain how to show proof of changes.
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.
Done!
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.
@seanlip I have already updated the PR template specific to guppy.
README.md
Outdated
@@ -50,6 +50,30 @@ Yes! See the [contributors page](https://daniel3735928559.github.io/guppy/site/ | |||
[roadmap](https://daniel3735928559.github.io/guppy/site/doc/roadmap.html) | |||
for an idea of where the project is heading. | |||
|
|||
## Build process | |||
After making the changes in the Oppia's guppy fork, follow the below steps: | |||
* To get started, run and make sure you are in the guppy directory. |
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.
To get started, make sure you are in the guppy directory, then run the following:
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.
Done!
README.md
Outdated
## Error check | ||
After adding build changes on the local guppy directory, follow the below steps to ensure the changes made are correct. | ||
* Go to ``oppia/package.json`` file on local system. | ||
* Find the ``guppy-dev`` now change the path with your local guppy fork ([Example](https://github.com/oppia/guppy/pull/9#issuecomment-1967417760)). |
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.
Find the line with guppy-dev
, and change the path to your ...
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.
Done!
README.md
Outdated
After adding build changes on the local guppy directory, follow the below steps to ensure the changes made are correct. | ||
* Go to ``oppia/package.json`` file on local system. | ||
* Find the ``guppy-dev`` now change the path with your local guppy fork ([Example](https://github.com/oppia/guppy/pull/9#issuecomment-1967417760)). | ||
* Now, restart the sever and manually test the guppy supported interaction thoroughly that the changes you made are not breaking any part of the code. |
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.
...thoroughly to ensure that ...
You might want to add something along the lines of "attach the video proof above"
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.
Done!
c70c33d
to
322e192
Compare
@seanlip PTAL! Thanks! |
@seanlip The force push was unintended; it occurred as a result of rapid action, likely due to a mistake or oversight rather than a deliberate choice. From next time onwards I will be more careful. |
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.
@HardikGoyal2003 Looks good. Just trivial things.
Also I think you missed responding to this. Reminder to respond to all comments (please double-check that you've done so before asking reviewers for a follow-up review, thanks).
README.md
Outdated
After adding build changes on the local guppy directory, follow the below steps to ensure the changes made are correct. | ||
* Go to ``oppia/package.json`` file on local system. | ||
* Find the line with ``guppy-dev``, and change the path to your local guppy fork ([Example](https://github.com/oppia/guppy/pull/9#issuecomment-1967417760)). | ||
* Now, restart the sever and manually test the guppy supported interaction thoroughly to ensure that the changes you made are not breaking any part of the code. |
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.
sever --> server
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.
Done!
README.md
Outdated
``` | ||
$ npm test | ||
``` | ||
## Error check |
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.
Error check --> Verifying your changes
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.
Done!
README.md
Outdated
After adding build changes on the local guppy directory, follow the below steps to ensure the changes made are correct. | ||
* Go to ``oppia/package.json`` file on local system. | ||
* Find the line with ``guppy-dev``, and change the path to your local guppy fork ([Example](https://github.com/oppia/guppy/pull/9#issuecomment-1967417760)). | ||
* Now, restart the sever and manually test the guppy supported interaction thoroughly to ensure that the changes you made are not breaking any part of the code. |
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.
Did you see my earlier comment? "You might want to add something along the lines of "attach the video proof above"
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.
@seanlip If I'm getting this correct, you have asked to add a Guppy-specific comment in the PR template under the video proof section. Please let me know?
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.
Oh wait, sorry, scratch that -- this is the README file, not the PR template.
I think no changes are needed here, sorry about that. Thanks for clarifying.
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.
Done!
Sorry, looks like you did respond yesterday ... I'm not sure why it wasn't showing up for me when reviewing. In any case, thanks for the reply! |
@seanlip PTAL! Thanks! |
PULL_REQUEST_TEMPLATE.md
Outdated
@@ -13,7 +13,7 @@ If there is no corresponding issue number, fill in N/A where it says [fill_in_nu | |||
## Essential Checklist | |||
|
|||
- [ ] The **PR title** starts with "Fix #bugnum: " or "Fix part of #bugnum: ...", followed by a short, clear summary of the changes. | |||
- [ ] I have followed the build process and error check mentioned in the [readme file](https://github.com/oppia/guppy/blob/master/README.md). | |||
- [ ] I have followed the build process and verifying your changes mentioned in the [readme file](https://github.com/oppia/guppy/blob/master/README.md). |
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.
I have followed the build process and "verifying your changes" section mentioned in the ...
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.
Done!
@seanlip PTAL! Thanks! |
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.
Thanks! LGTM.
(Btw I suggest next time that you don't develop from the master branch -- make a feature branch the usual way please. Thanks!) |
When I say "make a PR to the master branch", I meant "make a PR that gets merged to guppy:master", not make a PR on the master branch of your own fork. Thanks for confirming that things are working fine after the changes. |
Oh, okay, sorry for the misunderstanding. |
Overview
Video Proof of change:
Screencast.from.27-02-24.09.08.16.PM.IST.webm