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

Sync with Github profiles #25

Open
kousu opened this issue Nov 3, 2021 · 1 comment
Open

Sync with Github profiles #25

kousu opened this issue Nov 3, 2021 · 1 comment
Labels
supporting infrastructure Scripts, CI, build tools, hosting

Comments

@kousu
Copy link
Member

kousu commented Nov 3, 2021

re: pictures of lab members: how about fetching (if it exists) the picture from github? that would ensure most pictures are up there (without "pushing" lab members) and make it automated (for new members)

Originally posted by @jcohenadad in #21 (comment)

Given that we have our org-chart recorded on https://github.com/orgs/neuropoly/teams

Screenshot 2021-11-03 at 12-19-33 Build software better, together

it should be possible to generate most of /team. To make it easier to manage, we can use include, e.g.:

## Faculty

```{include} _faculty.md
```

## PhD Students

```{include} _phd-students.md
```

...

where the script is responsible for generating team/_*.md.

It's really easy to make this go one-way. Where this gets tricky is with preserving people's custom profile links, alternate social media, email addresses, deciding between a local embedded profile or using a link to an external page. Not impossible, but it means actually parsing the pre-existing markdown and that's likely to be buggy.

We could tell people that everything will be pulled from github, so e.g. if they want an email address listed they need to also make it public on github, and if they want to use a personal site they need to list it publically on github.

@jcohenadad
Copy link
Member

We could tell people that everything will be pulled from github, so e.g. if they want an email address listed they need to also make it public on github, and if they want to use a personal site they need to list it publically on github.

yes, as i was reading your post, i though exactly about that option. That would be neat!

@kousu kousu added the supporting infrastructure Scripts, CI, build tools, hosting label Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
supporting infrastructure Scripts, CI, build tools, hosting
Projects
None yet
Development

No branches or pull requests

2 participants