From dc87cfaa88767942ee089ac4aba8e9f0e5441147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Due=C3=B1as?= Date: Fri, 21 Jun 2024 12:15:51 +0000 Subject: [PATCH] Release 1.0.2 --- NEWS | 14 ++++++++++++++ perceval/_version.py | 4 ++-- pyproject.toml | 2 +- releases/1.0.2.md | 13 +++++++++++++ .../wrong-filepath-for-movedcopied-files.yml | 16 ---------------- 5 files changed, 30 insertions(+), 19 deletions(-) create mode 100644 releases/1.0.2.md delete mode 100644 releases/unreleased/processed/wrong-filepath-for-movedcopied-files.yml diff --git a/NEWS b/NEWS index 8cdbe8853..3e2edf352 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,19 @@ # Releases +## perceval 1.0.2 - (2024-06-21) + +**Bug fixes:** + + * Empty stats for moved/copied files in git\ + Stats about changes on a file were not reported correctly for files + that where moved to a subdirectory. They were reported as an invalid + entry and without action associated. For example, the file + `dir/filename` was moved to `dir/subdir/filename`, but it was reported + as `dir//filename`. Therefore, the entry of the file + `dir/subdire/filename` didn't have the stats about added and deleted + lines. This error has been fixed and stats are reported correctly. + + ## perceval 1.0.1 - (2024-05-09) * Update Poetry's package dependencies diff --git a/perceval/_version.py b/perceval/_version.py index cc82b52d8..143cd4d15 100644 --- a/perceval/_version.py +++ b/perceval/_version.py @@ -1,2 +1,2 @@ -# File auto-generated by semverup on 2024-06-21 10:58:03.242358 -__version__ = "1.0.2-rc.1" +# File auto-generated by semverup on 2024-06-21 12:15:50.368641 +__version__ = "1.0.2" diff --git a/pyproject.toml b/pyproject.toml index 2591d1c59..4b26742eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "perceval" -version = "1.0.2-rc.1" +version = "1.0.2" description = "Send Sir Perceval on a quest to fetch and gather data from software repositories." authors = [ "GrimoireLab Developers" diff --git a/releases/1.0.2.md b/releases/1.0.2.md new file mode 100644 index 000000000..bb9424476 --- /dev/null +++ b/releases/1.0.2.md @@ -0,0 +1,13 @@ +## perceval 1.0.2 - (2024-06-21) + +**Bug fixes:** + + * Empty stats for moved/copied files in git\ + Stats about changes on a file were not reported correctly for files + that where moved to a subdirectory. They were reported as an invalid + entry and without action associated. For example, the file + `dir/filename` was moved to `dir/subdir/filename`, but it was reported + as `dir//filename`. Therefore, the entry of the file + `dir/subdire/filename` didn't have the stats about added and deleted + lines. This error has been fixed and stats are reported correctly. + diff --git a/releases/unreleased/processed/wrong-filepath-for-movedcopied-files.yml b/releases/unreleased/processed/wrong-filepath-for-movedcopied-files.yml deleted file mode 100644 index 70db8f6f1..000000000 --- a/releases/unreleased/processed/wrong-filepath-for-movedcopied-files.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Empty stats for moved/copied files in git -category: fixed -author: Santiago DueƱas -issue: null -notes: > - Stats about changes on a file were not reported correctly - for files that where moved to a subdirectory. They - were reported as an invalid entry and without - action associated. - For example, the file `dir/filename` was moved to `dir/subdir/filename`, - but it was reported as `dir//filename`. Therefore, - the entry of the file `dir/subdire/filename` didn't - have the stats about added and deleted lines. - This error has been fixed and stats are reported - correctly.