mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Added Aider's contribution percentage to the release notes.
This commit is contained in:
parent
365652b899
commit
0f8a17e6af
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
- Default `--model-settings-file` is now `.aider.model.settings.yml`.
|
||||
- Default `--model-metadata-file` is now `.aider.model.metadata.json`.
|
||||
- Bugfix affecting launch with `--no-git`.
|
||||
- Aider wrote 17% of the 511 lines edited in this release.
|
||||
|
||||
### Aider v0.42.0
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ def main():
|
|||
print(f"- {author}: {count} lines ({percentage:.2f}%)")
|
||||
|
||||
aider_percentage = (aider_total / total_lines) * 100 if total_lines > 0 else 0
|
||||
print(f"\nAider wrote {aider_percentage:.2f}% of {total_lines} lines edited in this release.")
|
||||
print(f"\nAider wrote {aider_percentage:.0f}% of the {total_lines} lines edited in this release.")
|
||||
|
||||
def get_counts_for_file(tag, authors, fname):
|
||||
text = run(['git', 'blame', f'{tag}..HEAD', '--', fname])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue