Skip to content
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

Expand attribution for github files #125

Open
8 tasks
charlesreid1 opened this issue Sep 15, 2018 · 0 comments
Open
8 tasks

Expand attribution for github files #125

charlesreid1 opened this issue Sep 15, 2018 · 0 comments

Comments

@charlesreid1
Copy link
Contributor

charlesreid1 commented Sep 15, 2018

it would be nice to be able to attribute github files to users appropriately (as well as to add some datetime info).

Search schema changes:

  • make search schema index github_user as a whoosh.fields.TEXT type

Github files re-indexing changes:

  • extract a list of all users who have edited a particular document
  • store a list of github users in the github_user field in the format "user1, user2, user3"
  • extract the datetime of the first commit where the file appeared
  • extract the datetime of the latest commit where the file appeared

(to do last two items, we need to fire up an API instance and iterate through files, and see what information is available and how.)

Github issues re-indexing changes:

  • don't just attribute the person opening the issue to the github_user field, also include users who have commented and users who are assigned the task

Once everything is finished:

  • re-index everything with beta
  • copy over search index from beta to live
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant