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

Don't manually hardcode list of users with commit access levels #63

Open
jdm opened this issue Sep 29, 2013 · 1 comment
Open

Don't manually hardcode list of users with commit access levels #63

jdm opened this issue Sep 29, 2013 · 1 comment

Comments

@jdm
Copy link

jdm commented Sep 29, 2013

Anybody with L1 access can grab the L1/L2/L3 data from
https://ldap.mozilla.org/contributors/. It might be easiest to have a script that fetches it and updates the leaderboard data.

@debloper
Copy link
Member

Now that we know we can get this data as well, makes sense we plan how to implement it.

Our backend ( @MozillaIndia/leaderchalk ) is a Node.js server, which we can extend to operate this way:

  • Get the bugzilla data & save the JSON
  • Get the access data from LDAP & save the TXT/CSV
    • This works just fine: curl -# -3 -u user@id:password https://ldap.mozilla.org/contributors/scm_level_X.EXT
  • Read/parse the TXT/CSV & cross verify the IDs against the JSON we saved
  • For matches found, extend the JSON's items with the level details
  • After checking for all (~50 devs), save the new JSON

How about that?

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

2 participants