Pydriller

Latest version: v2.7

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

2.3

What's Changed
* update document type for clone_repo_to param by hatrg in https://github.com/ishepard/pydriller/pull/239
* enhance method _get_repo_name_from_url to handle case when .git is part of the repo name by hatrg in https://github.com/ishepard/pydriller/pull/240

New Contributors
* hatrg made their first contribution in https://github.com/ishepard/pydriller/pull/239

**Full Changelog**: https://github.com/ishepard/pydriller/compare/2.2...2.3

2.2

What's Changed
* Update tutorial.rst by stefanodallapalma in https://github.com/ishepard/pydriller/pull/209
* Update repository.py by stefanodallapalma in https://github.com/ishepard/pydriller/pull/212
* Workaround Windows Temp File Cleanup Error by totoroyyb in https://github.com/ishepard/pydriller/pull/214
* Adding ModifiedFile.content and deprecating ModifiedFile.source_code by stefanodallapalma in https://github.com/ishepard/pydriller/pull/220
* Cleaning unused property setters by stefanodallapalma in https://github.com/ishepard/pydriller/pull/221
* Return undecoded content by stefanodallapalma in https://github.com/ishepard/pydriller/pull/231
* Stop packaging tests by gremat in https://github.com/ishepard/pydriller/pull/233
* Add CodeQL workflow for GitHub code scanning by lgtm-com in https://github.com/ishepard/pydriller/pull/234

New Contributors
* totoroyyb made their first contribution in https://github.com/ishepard/pydriller/pull/214
* gremat made their first contribution in https://github.com/ishepard/pydriller/pull/233
* lgtm-com made their first contribution in https://github.com/ishepard/pydriller/pull/234

**Full Changelog**: https://github.com/ishepard/pydriller/compare/2.1...2.2

2.1

What's Changed
* Choose calculation variant to calculate the code churn metric by glato in https://github.com/ishepard/pydriller/pull/176
* Fixed exception on repeated run of clone_repo_to by HelgeCPH in https://github.com/ishepard/pydriller/pull/180
* Update README.md by shantanuo in https://github.com/ishepard/pydriller/pull/182
* Update repository.py docs by stefanodallapalma in https://github.com/ishepard/pydriller/pull/185
* Catch specific exception with malformed repo url by andodet in https://github.com/ishepard/pydriller/pull/189
* Fix mypy issues by ishepard in https://github.com/ishepard/pydriller/pull/192
* Changed documentation for commit and modifiedfile object by k----n in https://github.com/ishepard/pydriller/pull/191
* Add Python 3.10 to GHA workflow by gliptak in https://github.com/ishepard/pydriller/pull/193
* Treat URLs starting with http:// as remote by thtrummer in https://github.com/ishepard/pydriller/pull/200
* Add the option to include deleted files in repository mining by 12f23eddde in https://github.com/ishepard/pydriller/pull/206

New Contributors
* glato made their first contribution in https://github.com/ishepard/pydriller/pull/176
* shantanuo made their first contribution in https://github.com/ishepard/pydriller/pull/182
* andodet made their first contribution in https://github.com/ishepard/pydriller/pull/189
* k----n made their first contribution in https://github.com/ishepard/pydriller/pull/191
* gliptak made their first contribution in https://github.com/ishepard/pydriller/pull/193
* thtrummer made their first contribution in https://github.com/ishepard/pydriller/pull/200
* 12f23eddde made their first contribution in https://github.com/ishepard/pydriller/pull/206

**Full Changelog**: https://github.com/ishepard/pydriller/compare/2.0...2.1

2.0

- Multithreading is now supported! With the flag `num_workers` you can specify how many threads you want to use (default = 1). With threads you can be much faster: when analysing the entire history of apache hadoop, I went from 11.04 minutes to 1.46 minutes!
- It was time to rename and shorten the main classes:
- RepositoryMining -> Repository
- GitRepository -> Git
- Renamed `Modification` to a more meaningful class name `ModifiedFile`

1.15.5

The commit obj now carries on information from gitstats, namely:

- deletions: number of deleted lines in the commit
- insertions: number of added lines in the commit
- lines: total number of added + deleted lines in the commit
- files: number of files changed in the commit

1.15.4

- Remove git property from GitRepository.
- Better tests for get_commits_last_modified_lines

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.