Table of contents
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features/designs
As a new contributor, please make sure to perform the following tasks.
-
Refer to the CodeSee map to understand the code on a high level overview.
-
For development, you can develop the project either locally on your machine or use GitPod. For the full setup instructions, refer to this section.
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. By contributing, you agree that your contributions will be licensed under its MIT License.
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can. My stackoverflow question includes sample code that anyone with a base R setup can run to reproduce what I was seeing
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
Please refer to .env.template
for the env variables you may need. I am not going to give you the prod Supabase project access, so please create your own Supabase project and populate those values.
For tables, you need to create these table(s).
create table "DeletedRecords" (
id bigint not null primary key,
created_at timestamp default now(),
repo text not null,
"sourceRepo" text,
"isFork" boolean not null,
"userId" uuid,
"repoDetails" json not null
);
create table "UpdatedRecords" (
id bigint not null primary key,
created_at timestamp default now(),
repo text not null,
"userId" uuid,
"initialRepoDetails" json not null,
"updatedFields" json not null
);
Then you need to add additional auth URLs to your project, depending on the URL you spin up the app on.
- If you are working locally, it should be
http://localhost:3000
- If you are working on Gitpod, it should be
**.gitpod.io
This is my Supabase project auth URL configuration that allows for connecting to localhost, gitpod and prod. You can follow this.
To authenticate to Github, please turn on the Github authentication method in Supabase. You would need to fill the GitHub Client ID and Client Key. These values can be retrieved by following these steps:
- Move to Your github profile > Settings
- Look for Developer Settings
- Click on OAuth Apps
- Create a New OAuth App, copy client id and client key(if it is not there then generate a new key) and fill those values on Supabase.
Example