-
-
Notifications
You must be signed in to change notification settings - Fork 759
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
Setup script for .env configuration file #1350
Conversation
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersWhen your PR has been assigned reviewers contact them to get your code reviewed and approved via:
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1350 +/- ##
===========================================
- Coverage 97.39% 96.99% -0.40%
===========================================
Files 143 137 -6
Lines 3640 3426 -214
Branches 1073 963 -110
===========================================
- Hits 3545 3323 -222
- Misses 90 98 +8
Partials 5 5 ☔ View full report in Codecov by Sentry. |
Will check it thoroughly and confirm later. |
@SiddheshKukade Please remember your review. It's been some time |
Looks good. I tried a few combinations |
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 have not updated INSTALLATION.md
to make people know that the setup script exists
Use the one in the API repo as a guide
I have updated the installation guide. |
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.
- The script does not check to see whether the API is actually running
- The script assumes any character that is not N is yes. This is not valid
- If you make any edits to the .env file in the script then any pre-existing comments already existing in the .env file are removed
- If you make any edits to the .env file in the script and then hit CTRL-C then any pre-existing comments already existing in the .env file are removed
- The script must assume a default of Y, if a pre-existing configuration parameter exists
- If any value in the .env file is commented out but the rest are valid, the script fails telling you
Please copy the contents of .env.example to .env file
This is not valid. The script should automatically insert missing values
Please test the script more thoroughly
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 fix the failing test
…igurations exists, default Y is assumed, automatically insert missing values
Hi @palisadoes I have made all the requested changes and also tested the script. The tests are failing because of type errors in src/screens/OrgPost/OrgPost.tsx |
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 can't test. It hangs when testing the API URL when the URL is valid.
It takes a little bit of time because we are making an API call to test whether the server is running or not. Screen.Recording.2024-01-14.at.7.21.57.PM-2.mov |
@palisadoes |
The tests are still failing. Please merge your code with the latest upstream |
Updated the PR with the latest upstream. The tests are still failing. |
Tests are still failing |
|
I have updated the PR with the latest changes but the tests are still failing. |
This file shouldn't be a part of this PR. That may be the cause
|
That file isn't required in this PR. It must not need included. |
If this file is no longer in the PR, why is it being linted in the tests? Please make a minor commit to see whether it triggers the correct action
|
|
The tests are still failing for Should I try creating a new PR? |
Yes. Please create a new one. Closing |
What kind of change does this PR introduce?
Issue Number:
Fixes #1233
Did you add tests for your changes?
No
Snapshots/Videos:
Screen.Recording.2024-01-02.at.12.18.53.PM.mov
If relevant, did you update the documentation?
Summary
Does this PR introduce a breaking change?
Other information
Have you read the contributing guide?