Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • dev
  • main
  • Issue/3142-kpiGenerator
  • Hotfix/3115-userReportingEmpty2
  • Hotfix/3115-userReportingEmpty
  • Issue/3073-kpi
  • Issue/2492-respOrg
  • Issue/3005-kpiReportingBroken
  • Issue/2982-kpiDataPub
  • gitkeep
  • Issue/2847-reporting
  • Issue/2850-removeGrantId
  • Issue/2432-publicationKpi
  • Hotfix/xxxx-rors
  • Issue/2666-adminCronjobs-theSequal
  • Issue/2666-adminCronjobs
  • Issue/2568-betterLogging
  • Issue/2518-docs
  • Hotfix/2388-sensitive
  • Issue/2330-fixNaNQuotainAdmin
  • Fix/xxxx-organization
  • Fix/xxxx-wrap
  • Hotfix/2332-userInstitutesInReporting
  • Issue/2283-activityFix
  • Issue/2304-virtuosoRoars
  • Fix/xxxx-indexOutOfRange
  • Fix/xxxx-minorFixes
  • Issue/2186-systemStatusReporting
  • Issue/2184-kpiGeneratorProject
  • Issue/2183-kpiGeneratorResource
  • Issue/2185-kpiGeneratorAP
  • Issue/2182-kpiGeneratorUser
  • Issue/2181-kpiGeneratorBase
  • 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

Target

Select target project
  • Coscine / backend / scripts / KPI Reporting Generator
1 result
Select Git revision
  • dev
  • main
  • Issue/3142-kpiGenerator
  • Hotfix/3115-userReportingEmpty2
  • Hotfix/3115-userReportingEmpty
  • Issue/3073-kpi
  • Issue/2492-respOrg
  • Issue/3005-kpiReportingBroken
  • Issue/2982-kpiDataPub
  • gitkeep
  • Issue/2847-reporting
  • Issue/2850-removeGrantId
  • Issue/2432-publicationKpi
  • Hotfix/xxxx-rors
  • Issue/2666-adminCronjobs-theSequal
  • Issue/2666-adminCronjobs
  • Issue/2568-betterLogging
  • Issue/2518-docs
  • Hotfix/2388-sensitive
  • Issue/2330-fixNaNQuotainAdmin
  • Fix/xxxx-organization
  • Fix/xxxx-wrap
  • Hotfix/2332-userInstitutesInReporting
  • Issue/2283-activityFix
  • Issue/2304-virtuosoRoars
  • Fix/xxxx-indexOutOfRange
  • Fix/xxxx-minorFixes
  • Issue/2186-systemStatusReporting
  • Issue/2184-kpiGeneratorProject
  • Issue/2183-kpiGeneratorResource
  • Issue/2185-kpiGeneratorAP
  • Issue/2182-kpiGeneratorUser
  • Issue/2181-kpiGeneratorBase
  • 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

Commits on Source 3

3 files
+ 11
3
Compare changes
  • Side-by-side
  • Inline

Files

+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
		<AssemblyName>Coscine.KpiGenerator</AssemblyName>
		<ImplicitUsings>enable</ImplicitUsings>
		<Nullable>enable</Nullable>
		<Version>0.1.10</Version>
		<Version>0.1.11</Version>
	</PropertyGroup>

	<PropertyGroup>
+0 −2
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ public abstract class Reporting<O> where O : class
    public GitLabClient GitLabClient { get; set; }
    public List<Organization> Organizations { get; set; }
    public RdfStoreConnector RdfStoreConnector { get; init; }
    public SparqlRemoteEndpoint QueryEndpoint { get; init; }
    public ConsulConfiguration Configuration { get; }
    private static string HostUrl { get; } = "https://git.rwth-aachen.de/";
    private static string InstanceName { get; set; } = null!;
@@ -45,7 +44,6 @@ public abstract class Reporting<O> where O : class
        Options = options;
        Configuration = new ConsulConfiguration();
        RdfStoreConnector = new RdfStoreConnector(Configuration.GetStringAndWait("coscine/local/virtuoso/additional/url"));
        QueryEndpoint = new SparqlRemoteEndpoint(new Uri(Configuration.GetStringAndWait("coscine/local/virtuoso/additional/url")));
        GitLabClient = new GitLabClient(HostUrl, Configuration.GetStringAndWait("coscine/global/gitlabtoken"));
        Organizations = new List<Organization>() { _otherOrganization };

+10 −0
Original line number Diff line number Diff line
@@ -171,6 +171,16 @@ public class UserReporting : Reporting<UserReportingOptions>
                            Console.WriteLine($"   No {searchedEntityType} found for user with ID \"{id}\" and login provider {loginProvider.DisplayName}");
                            continue;
                        }
                        if (orgShibboleth.RorUrl.Contains('#'))
                        {
                            var orgTopLevelRor = orgShibboleth.RorUrl[..orgShibboleth.RorUrl.IndexOf('#')];
                            var orgTopLevel = FetchOrganizationByRor(orgTopLevelRor);
                            if (!orgTopLevel.RorUrl.Equals(_otherOrganization.RorUrl))
                            {
                                result.Add(orgTopLevel);
                                break;
                            }
                        }
                        result.Add(orgShibboleth);
                        break;
                    default: