vibinex / dev-profiler

Extract meaningful dev insights from your code contributions
GNU General Public License v3.0
6 stars 6 forks source link

Separation of data #25

Closed tapishr closed 1 year ago

tapishr commented 1 year ago

Dod -

tapishr commented 1 year ago

Gsuite id can be used as primary id for recognising orgs User schema

tapishr commented 1 year ago

Commits schema

tapishr commented 1 year ago

Repo schema -

tapishr commented 1 year ago

Postgres schemas for all entities

tapishr commented 1 year ago

When user logs in -

tapishr commented 1 year ago

user table created, repo table created, access to be given, roles created. explored redis, not usable right now, development speed slow due to complex data structure.

tapishr commented 1 year ago

superuser role given to the website user, able to perform joins, yet to test without write permissions. Indexing permissions to be handled by admin users postgres and tapish. Created query for push table ftue and login ftue and tested login with dummy data. Need to ask about storing in git - new repo or cloudrun?

tapishr commented 1 year ago

PR raised with all tasks done

avikalpg commented 1 year ago

Change name of column profile_url to photo_url

avikalpg commented 1 year ago

Org schema:

  1. id
  2. Name
  3. Members
avikalpg commented 1 year ago

remove org and role from users table.

tapishr commented 1 year ago

Created a second user table (@muskan) to store github and bitbucket specific tokens and repos

tapishr commented 1 year ago

Created issue 51 to track pipelines to sync data. Closing this ticket