Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KPI Reporting Generator
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
KPI Reporting Generator
Compare revisions
v0.1.19 to v0.1.20
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
coscine/backend/scripts/kpi-generator
Select target project
No results found
v0.1.20
Select Git revision
Branches
Fix/xxxx-indexOutOfRange
Fix/xxxx-minorFixes
Fix/xxxx-organization
Fix/xxxx-wrap
Hotfix/2332-userInstitutesInReporting
Hotfix/2388-sensitive
Hotfix/3115-userReportingEmpty
Hotfix/3115-userReportingEmpty2
Hotfix/xxxx-rors
Issue/2181-kpiGeneratorBase
Issue/2182-kpiGeneratorUser
Issue/2183-kpiGeneratorResource
Issue/2184-kpiGeneratorProject
Issue/2185-kpiGeneratorAP
Issue/2186-systemStatusReporting
Issue/2283-activityFix
Issue/2304-virtuosoRoars
Issue/2330-fixNaNQuotainAdmin
Issue/2432-publicationKpi
Issue/2492-respOrg
Issue/2518-docs
Issue/2568-betterLogging
Issue/2666-adminCronjobs
Issue/2666-adminCronjobs-theSequal
Issue/2847-reporting
Issue/2850-removeGrantId
Issue/2982-kpiDataPub
Issue/3005-kpiReportingBroken
Issue/3073-kpi
Issue/3142-kpiGenerator
dev
gitkeep
main
Tags
v0.1.0
v0.1.1
v0.1.10
v0.1.11
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.2
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.2.10
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.8
v1.2.9
79 results
Swap
Target
coscine/backend/scripts/kpi-generator
Select target project
coscine/backend/scripts/kpi-generator
1 result
v0.1.19
Select Git revision
Branches
Fix/xxxx-indexOutOfRange
Fix/xxxx-minorFixes
Fix/xxxx-organization
Fix/xxxx-wrap
Hotfix/2332-userInstitutesInReporting
Hotfix/2388-sensitive
Hotfix/3115-userReportingEmpty
Hotfix/3115-userReportingEmpty2
Hotfix/xxxx-rors
Issue/2181-kpiGeneratorBase
Issue/2182-kpiGeneratorUser
Issue/2183-kpiGeneratorResource
Issue/2184-kpiGeneratorProject
Issue/2185-kpiGeneratorAP
Issue/2186-systemStatusReporting
Issue/2283-activityFix
Issue/2304-virtuosoRoars
Issue/2330-fixNaNQuotainAdmin
Issue/2432-publicationKpi
Issue/2492-respOrg
Issue/2518-docs
Issue/2568-betterLogging
Issue/2666-adminCronjobs
Issue/2666-adminCronjobs-theSequal
Issue/2847-reporting
Issue/2850-removeGrantId
Issue/2982-kpiDataPub
Issue/3005-kpiReportingBroken
Issue/3073-kpi
Issue/3142-kpiGenerator
dev
gitkeep
main
Tags
v0.1.0
v0.1.1
v0.1.10
v0.1.11
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.2
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.2.10
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.8
v1.2.9
79 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Fix: Whitelist files
· ef627bc1
Petar Hristov
authored
2 years ago
ef627bc1
Chore: 0.1.20
· 65b121cd
CoscineBot
authored
2 years ago
# [0.1.20](
v0.1.19...v0.1.20
) (2023-01-27) ## Fix * Whitelist files
65b121cd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/KPI Generator/KPI Generator.csproj
+1
-1
1 addition, 1 deletion
src/KPI Generator/KPI Generator.csproj
src/KPI Generator/Reporting.cs
+4
-2
4 additions, 2 deletions
src/KPI Generator/Reporting.cs
with
5 additions
and
3 deletions
src/KPI Generator/KPI Generator.csproj
View file @
65b121cd
...
...
@@ -7,7 +7,7 @@
<AssemblyName>Coscine.KpiGenerator</AssemblyName>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.1.
19
</Version>
<Version>0.1.
20
</Version>
</PropertyGroup>
<PropertyGroup>
...
...
This diff is collapsed.
Click to expand it.
src/KPI Generator/Reporting.cs
View file @
65b121cd
...
...
@@ -31,6 +31,8 @@ public abstract class Reporting<O> where O : class
private
readonly
ILogger
<
Reporting
<
O
>>
_logger
;
private
readonly
List
<
string
>
_filesToKeepInRepo
=
new
()
{
"README.md"
,
"List_of_Reporting_Variables.xlsx"
};
public
readonly
Organization
_otherOrganization
=
new
()
{
Name
=
"Other"
,
...
...
@@ -109,8 +111,8 @@ public abstract class Reporting<O> where O : class
// Delete files or organizations that are not valid anymore
foreach
(
var
fileInProject
in
projectTree
.
Where
(
file
=>
file
.
Type
.
Equals
(
"blob"
)))
{
//
Ignore the files named "List of Reporting Variables.xlsx" and "README.md"
if
(!
files
.
Any
(
f
=>
f
.
Path
.
Equals
(
fileInProject
.
Path
))
&&
(
!
file
InProject
.
Path
.
Equals
(
"README.md"
)
||
!
fileInProject
.
Path
.
Equals
(
"List_of_Reporting_Variables.xlsx"
)))
//
Delete files, that are not part of "files" and are not any of the files to keep
if
(!
files
.
Any
(
f
=>
f
.
Path
.
Equals
(
fileInProject
.
Path
))
&&
!
_
file
sToKeepInRepo
.
Any
(
f
=>
f
.
Equals
(
fileInProject
.
Path
)))
{
// Add Action
actions
.
Add
(
new
CreateCommitRequestAction
(
CreateCommitRequestActionType
.
Delete
,
fileInProject
.
Path
));
...
...
This diff is collapsed.
Click to expand it.