shyamtawli / devFind

devFind is an open source project that aims to create a platform for developers to showcase their skills and connect with potential collaborators, all in a user-friendly and searchable format.
https://dev-find.vercel.app/
MIT License
543 stars 585 forks source link

[Feat]: Automate Merging of PRs for Profile Additions with Verifications #805

Open ApenasGabs opened 8 months ago

ApenasGabs commented 8 months ago

What feature?

What do think about automatize the added merge of PR that's adds profiles ? I saw this on a project that's do the same as this project but for a course platform, I think that we can do something like
this of course, we have to add some extra verifications, but I think that will work very well.

Add screenshots

No response

Code of Conduct

github-actions[bot] commented 8 months ago

Welcome, @ApenasGabs! Your issue is like a spark that ignites innovation. We're thrilled to dive into it and work together to find a solution.

Soon the maintainers/owner will review it and provide you with feedback/suggestions.

shyamtawli commented 8 months ago

But here we have a issue that, sometimes in ProfileList.json file conflicts occur.

ApenasGabs commented 8 months ago

I think that in these cases we can make the manual merge, what do you think ?

Bismay5467 commented 8 months ago

@ApenasGabs Great idea! To address file conflicts, let's consider adopting a new file naming convention: TIME_OF_PROFILE_CREATION or assign a random id to the files. This approach should help resolve the issue. Keen to hear your thoughts!

cc: @shyamtawli

shyamtawli commented 7 months ago

We have to find a way that people just need to add there profile file, not the filename in ProfileList.json. Because sometimes two user adds filename in same line and I have to fix it manually.

Is there any way that If a profile PR is merged we can add that data on Database and then fetch it from there?

Sanchitbajaj02 commented 7 months ago

We have to find a way that people just need to add there profile file, not the filename in ProfileList.json. Because sometimes two user adds filename in same line and I have to fix it manually.

Is there any way that If a profile PR is merged we can add that data on Database and then fetch it from there?

What if we implement a simple form which will append the ProfileList.json? Or a better idea is to host the ProfileList.json to a database service like Firebase or Appwrite. What are your opinions on this?