#5114 RFR: people2 - the next generation of the Fedora People directory
Closed: Fixed None Opened 8 years ago by cydrobolt.

= phenomenon =

The current Fedora People directory generation script is dated and hard to use -- the entire list of users is simply dumped onto an HTML table by a bash script with a loop inside.

= recommendation =

I've written a replacement for the current Fedora People generation script. It is called "people2" (I am very creative).

Git: https://pagure.io/people2

The Pagure repo is mirrored by GitHub in the fedora-infra organisation as well.

Recent Demo (there have been some changes in Git): https://fedorapeople.org/~cydrobolt/people2/

people2 differs slightly from the existing people directory generation script.

people2...
- Uses Jinja templating to render page (currently: bash script with loop and string concatenation)
- Uses front-end JS to provide pagination, search, and profile images w/ load deferral
- Uses Bootstrap, redesigned

people2 requires...
- The jinja2 Python component will be needed by people2 in order to operate
- jinja2 has certain icons and Javascript/CSS libraries that need to be uploaded to people2 on deployment (see git) that needs to be copied to /srv/people/site

people2 creates...
- a static HTML file, the same result that the current people directory generation script creates

Any questions can be directed to "cydrobolt" at #fedora-apps


I like it. I'm fine pushing it out soon... there may need to be replacement or adjustment from fedora hubs, but we can deal with that all when it actually happens. ;)

Same here. :)

It is amazing that people1 even worked: https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/people/files/make-people-page.sh

@cydrobolt, I don't think there's a need to create any new nodes for this. We can likely just deploy right on top of the existing people machines.

Do you need any help or assistance in working that out? I'll grant rights to the sysadmin-web group (of which you are a member) to the people playbook in the meantime.

This is all done. Nice work @cydrobolt. :)

Login to comment on this ticket.

Metadata