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

Contributors list #383

Open
dopplershift opened this issue Mar 31, 2017 · 7 comments · Fixed by #1525
Open

Contributors list #383

dopplershift opened this issue Mar 31, 2017 · 7 comments · Fixed by #1525
Labels
Area: Docs Affects documentation Type: Maintenance Updates and clean ups (but not wrong)

Comments

@dopplershift
Copy link
Member

I think it's good to have a contributors list, but that's by no means a consensus open source view. Either way, CONTRIBUTORS.md is out of date, so that's even worse. Current ideas:

  1. Automatically generate a list and include in docs
  2. Generate one for the release tarballs -- not sure yet if this is GitHub, or just needs to be in setup.py for Travis.

Either way, this is a start:

git log --format='%aN' | sort -uf

Also need a .mailmap to remove duplicates.

@dopplershift dopplershift added Area: Docs Affects documentation Type: Maintenance Updates and clean ups (but not wrong) labels Mar 31, 2017
@MinchinWeb
Copy link
Contributor

See also #1522 and #1525.

@MinchinWeb MinchinWeb mentioned this issue Oct 4, 2020
1 task
@dopplershift
Copy link
Member Author

Thanks for finding the issue I couldn't find the other day for some reason--I knew it was around somewhere.

@dopplershift dopplershift added this to the 1.0 milestone Oct 5, 2020
@dopplershift dopplershift linked a pull request Oct 5, 2020 that will close this issue
1 task
@dopplershift dopplershift mentioned this issue Dec 9, 2020
12 tasks
@dopplershift dopplershift reopened this Dec 10, 2020
@dopplershift
Copy link
Member Author

Automation not done yet.

@dopplershift
Copy link
Member Author

Automation all that remains, but pulling this off the milestone.

@dopplershift dopplershift removed this from the 1.0 milestone Dec 11, 2020
@vinodneelakantam
Copy link

how to find the contribution, i mean which folders?
context : I want to segregate the folders with high freq of commits/contributors

@dopplershift
Copy link
Member Author

@vinodneelakantam I think that information is better retrieved from the git history itself. I'm sure there have to be tools out there to help with that kind of analysis.

@vinodneelakantam
Copy link

vinodneelakantam commented Aug 30, 2024

@vinodneelakantam I think that information is better retrieved from the git history itself. I'm sure there have to be tools out there to help with that kind of analysis.

thanky ou for idea , and thank you chatgpt for code

`#!/bin/bash

# Create a CSV file with headers
output_file="contributions.csv"
echo "Directory,Contributor,Commits" > "$output_file"

# List all directories in the current location
directories=$(find . -maxdepth 10 -type d | sed 's|^\./||' | grep -v '^.$')

for dir in $directories; do
  # Get the contributor details
  git shortlog -n -s -- "$dir" | while read -r commits contributor; do
    echo "$dir,$contributor,$commits" >> "$output_file"
  done
done`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Docs Affects documentation Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants