Commit graph

215 commits

Author SHA1 Message Date
Paul Gauthier
d73d60ca5e make versionbump faster 2024-08-23 13:50:05 -07:00
Paul Gauthier
b104b0ed7b fix: Exclude 'prompts.py' file from blame analysis 2024-08-21 12:12:12 -07:00
Paul Gauthier (aider)
5bfff7295c fix: Add missing import for sys module in scripts/blame.py 2024-08-13 12:37:46 -07:00
Paul Gauthier (aider)
8988eb9cdd style: format code using linter 2024-08-13 12:37:00 -07:00
Paul Gauthier (aider)
1b39b18772 feat: Modify script to consider files at specific tag or commit 2024-08-13 12:36:57 -07:00
Paul Gauthier (aider)
14fb59f73b fix: Remove unused imports of filecmp and tempfile in scripts/versionbump.py 2024-08-13 09:47:26 -07:00
Paul Gauthier
d5f59d72e4 build: Update pyproject.toml to exclude additional website files 2024-08-13 09:47:20 -07:00
Paul Gauthier (aider)
458864be45 style: Apply linter edits to scripts/versionbump.py 2024-08-13 09:39:48 -07:00
Paul Gauthier (aider)
211ab28253 feat: add check_cog_pyproject function to run cog -r on pyproject.toml and abort if it has changed the file 2024-08-13 09:39:44 -07:00
Paul Gauthier (aider)
acfaa8c001 feat: sort YAML keys alphabetically
The provided changes ensure that the YAML keys are sorted alphabetically when dumping the results and the individual result in the `scripts/blame.py` file. This will provide a deterministic order for the output, making it more consistent across different runs of the script.
2024-07-31 11:30:11 -03:00
Paul Gauthier
928c094b42 Updated HISTORY 2024-07-31 10:51:42 -03:00
Paul Gauthier (aider)
0255030988 feat: add message for non-all-since runs
The commit adds a message to the output when the `--all-since` option is not used, which prints the percentage of code written by Aider in the current release.
2024-07-31 10:51:09 -03:00
Paul Gauthier
c7884c94f6 Add support for more file types in the blame script 2024-07-31 08:50:49 -03:00
Paul Gauthier
6888b07ea0 Add support for Dockerfiles in the blame script 2024-07-30 20:46:20 -03:00
Paul Gauthier
fb8afa5228 blame for .scm files too 2024-07-30 17:04:38 -03:00
Paul Gauthier (aider)
16eadba5e5 Modify process_all_tags_since function to include all data for each tag pair in --all output 2024-07-30 10:16:38 -03:00
Paul Gauthier (aider)
7d5e666ea7 Make the start tag an optional positional argument and use the latest vX.Y.0 tag if no start tag is provided. 2024-07-30 10:14:58 -03:00
Paul Gauthier
9d84c3936c Added date and author #778 2024-07-29 13:14:37 -03:00
Paul Gauthier
15dea19424 Update blame data for website 2024-07-29 11:58:47 -03:00
Paul Gauthier (aider)
108df378aa Add --output option to save YAML results to a file 2024-07-29 11:56:47 -03:00
Paul Gauthier (aider)
35503c0dff Add a tqdm progress bar to the process_all_tags_since function to show progress while working through all tags. 2024-07-29 11:55:39 -03:00
Paul Gauthier
4ed4f1400c Add blame data for Aider project versions 2024-07-29 11:55:04 -03:00
Paul Gauthier (aider)
1044c7a71e Remove unused imports and split long line in blame.py 2024-07-29 11:52:50 -03:00
Paul Gauthier
8ff7242bce Add support for parsing command line arguments to the blame script 2024-07-29 11:52:49 -03:00
Paul Gauthier (aider)
77022a9729 Refactor the code in the if args.all_since block into a new function process_all_tags_since. 2024-07-29 11:19:34 -03:00
Paul Gauthier (aider)
074aeb5048 Change the output format to YAML and include the date of the second tag in each range. 2024-07-29 11:13:55 -03:00
Paul Gauthier
dba560caf9 Add formatting to blame output 2024-07-29 11:13:52 -03:00
Paul Gauthier (aider)
133bb0491e Add support to identify aider-written commits by checking the commit message 2024-07-29 11:05:33 -03:00
Paul Gauthier (aider)
7508b8c93c Improve error handling in get_counts_for_file function to gracefully handle files that cannot be blamed. 2024-07-29 11:04:28 -03:00
Paul Gauthier
d1abb85445 Add debug logging to dump all tags since a given start tag 2024-07-29 11:04:25 -03:00
Paul Gauthier (aider)
83060b5276 Use semver to compare version tags in get_all_tags_since function 2024-07-29 11:03:34 -03:00
Paul Gauthier (aider)
4065fc62e6 Fix AttributeError in blame.py script by updating semver library usage 2024-07-29 11:02:30 -03:00
Paul Gauthier (aider)
e73a05eb77 Add --all-since flag to find all tags since the specified tag and print aider percentage between each pair of successive tags 2024-07-29 11:01:44 -03:00
Paul Gauthier (aider)
17cba2500e Refactor main() to use blame() function and print stats 2024-07-29 10:58:35 -03:00
Paul Gauthier (aider)
b26b6781db Add optional end-tag to blame.py script 2024-07-29 10:54:25 -03:00
Paul Gauthier
361a749a89 Modify the argparse description to get aider/non-aider blame stats 2024-07-29 10:54:24 -03:00
Paul Gauthier (aider)
e91a580540 Aider wrote 29% of the code in this release (157/547 lines). 2024-07-16 15:41:54 +01:00
Paul Gauthier
b18dbf4772 renamed hf-embed -> help 2024-07-16 11:03:01 +01:00
Paul Gauthier
4fbe3d295a added [playwright] extra 2024-07-14 19:34:48 +01:00
Paul Gauthier
76dad84285 added [browser] extra; refac the pip install utils 2024-07-14 17:22:17 +01:00
Paul Gauthier
bafa8ab71c refactor reqs into requirements/ 2024-07-13 16:36:41 +01:00
Paul Gauthier
ea89ca6eb5 hf -> hf-embed 2024-07-10 17:26:56 +01:00
Paul Gauthier
4e07710d4e added aider[hf] 2024-07-10 15:40:40 +01:00
Paul Gauthier
0f8a17e6af Added Aider's contribution percentage to the release notes. 2024-07-07 13:23:30 -03:00
Paul Gauthier (aider)
365652b899 Accumulated lines written by authors with "(aider)" in their name and printed the percentage of lines edited by Aider in this release. 2024-07-07 13:22:21 -03:00
Paul Gauthier
ebd41533d1 Improved the formatting of the grand total output in the blame script. 2024-07-07 13:22:20 -03:00
Paul Gauthier (aider)
a619318dfe Added percentage contribution for each author to the blame report. 2024-07-07 13:17:19 -03:00
Paul Gauthier (aider)
0153a18bff Added grand total line count summary across all Python files. 2024-07-07 13:17:00 -03:00
Paul Gauthier (aider)
1a9adca83c Implemented script to get commit author line counts for all Python files in the repository. 2024-07-07 13:16:21 -03:00
Paul Gauthier
238b8d018a Added support for counting lines changed per author for a specified file since a given tag. 2024-07-07 13:16:19 -03:00