-
-
Notifications
You must be signed in to change notification settings - Fork 976
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
Standardizing Asset Directory Structure #1449
Standardizing Asset Directory Structure #1449
Conversation
…onfigures `.gitignore`
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
|
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.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
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.
We need an answer for this question here before we can approve this PR. The correct file locations need to be verified. We MUST NOT put files in an inappropriate location.
Please take a look. |
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 Gitignore is incorrect.
Not if they are unused elsewhere |
…`video` directory,fixes links in `README.md` `INSTALLATION.md` , removes redundant files.
PTAL;I changed the gitignore file |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1449 +/- ##
===========================================
- Coverage 98.17% 97.61% -0.57%
===========================================
Files 184 214 +30
Lines 10767 12906 +2139
Branches 835 1018 +183
===========================================
+ Hits 10571 12598 +2027
- Misses 186 293 +107
- Partials 10 15 +5 ☔ View full report in Codecov by Sentry. |
@noman2002 Comments and / or suggestions please |
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.
Changes looks good to me, but instead of mentioning each file in gitignore we can have separate folder for the images we need in the project.
won't that allow commits to images folder ? |
@palisadoes Your thoughts on this. |
|
The A simple |
@zakhaev26 Where are image and video files stored for posts from the Mobile app and Talawa-Admin? We need to make sure that these actions will still work. At some time in the past they were stored in these directories. Double check before removing them. |
PTAL,did changes as requested by @EshaanAgg . Please let me know if the approach is wrong/needs more changes |
# Ensuring no images and video are commited in ./video and ./image directories | ||
|
||
|
||
markdown/* |
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.
Why have you added the markdown directory here? I don't think so this directory exists.
It should contain the videos
and images
directories that get the uploaded files.
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 also want to make sure that any files in any subdirectories of those two directories don't get uploaded. This syntax won't do that
|
Is this ready for review? |
Closing due to inactivity |
Description
This PR addresses the issue related to the inconsistent storage of image and video assets in the Talawa API repository. The goal was to standardize the directory structure to align with the one used in Talawa Admin.
Changes Made
src/assets/image
andsrc/assets/video
following the structure used in Talawa Admin.src/assets
.talawa-api
.videos
directory ,so I removed it..gitignore
to prevent future uploads tovideo/
andimage/
directories and ensure these directories remain in the repository.Links
Additional Notes
Potential Impact
Developers working on the Talawa API should be aware of the changes in asset locations.
Closes: #1441