-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename project from 'python-diff-annotator' to 'PatchScope'
Also change the name of project from 'diffannotator' to 'patchscope' in pyproject.toml. Note that not every occurence of 'python-diff-annotator' was replaced, and 'diffannotator' remains one of the packages in 'patchscope'.
- Loading branch information
Showing
9 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,27 +4,32 @@ | |
[](https://editorconfig.org/) | ||
[](https://github.com/tophat/getting-started/blob/master/scorecard.md) | ||
|
||
# Diff Annotator | ||
# PatchScope | ||
|
||
Annotates files and lines of diffs (patches) with their purpose and type, | ||
and performs statistical analysis on the generated annotation data. | ||
|
||
> _Note:_ this project was called 'python-diff-annotator' earlier in its history instead of 'PatchScope', | ||
> and the python package was called 'diffannotator' instead of being called 'patchscope', | ||
> so there are some references to that older name, for example in directory names | ||
> in some Jupyter Notebooks. | ||
## Installation | ||
|
||
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install diffannotator. | ||
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install patchscope. | ||
|
||
To avoid dependency conflicts, it is strongly recommended to create | ||
a [virtual environment][venv] first, activate it, and install diffannotator | ||
a [virtual environment][venv] first, activate it, and install patchscope | ||
into this environment. See also "_[Virtual environment](#virtual-environment)_" | ||
subsection below. | ||
|
||
To install the most recent version, use | ||
```commandline | ||
python -m pip install diffannotator@git+https://github.com/ncusi/python-diff-annotator#egg=main | ||
python -m pip install patchscope@git+https://github.com/ncusi/PatchScope#egg=main | ||
``` | ||
or (assuming that you can clone the repository with SSH) | ||
```commandline | ||
python -m pip install diffannotator@git+ssh://[email protected]/ncusi/python-diff-annotator.git#egg=main | ||
python -m pip install patchscope@git+ssh://[email protected]/ncusi/PatchScope.git#egg=main | ||
``` | ||
|
||
## Usage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters