Unidata / MetPy

MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
https://unidata.github.io/MetPy/
BSD 3-Clause "New" or "Revised" License
1.26k stars 415 forks source link

Contributors list #383

Open dopplershift opened 7 years ago

dopplershift commented 7 years ago

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.

MinchinWeb commented 4 years ago

See also #1522 and #1525.

dopplershift commented 4 years ago

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

dopplershift commented 3 years ago

Automation not done yet.

dopplershift commented 3 years ago

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

vinodneelakantam commented 3 months ago

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

dopplershift commented 3 months ago

@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 commented 3 months ago

@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`