GCC Code Coverage Report


Directory: ./
File: src/project_generator_load.h
Date: 2025-12-15 11:32:44
Exec Total Coverage
Lines: 0 0 -%
Functions: 0 0 -%
Branches: 0 0 -%

Line Branch Exec Source
1 /***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7 #ifndef __PROJECT_GENERATOR_LOAD_H__
8 #define __PROJECT_GENERATOR_LOAD_H__
9
10 #include "PPath.h"
11 #include "PPackageAttribute.h"
12 #include "PProjectMembers.h"
13
14 typedef std::map<PString, PPackageAttribute> PackageMap;
15 typedef std::map<PString, PProjectMembers> ProjectMembersMap;
16
17 ///Configuration of the project
18 struct ProjectConfig{
19 ///Name of the project
20 PString name;
21 ///Project url
22 PString url;
23 ///Project version
24 PString version;
25 ///Description of the project
26 PString description;
27 ///Main branch of hte project
28 PString mainBranch;
29 ///Specific runner tag if needed (could be MUST_big_runner)
30 PString runnerTag;
31 ///CI toolkit url
32 PString ciToolkitUrl;
33 ///Version of the Phoenix CI toolkit component (optional, defaults to 3.0.4)
34 PString ciToolkitVersion;
35 ///Map of authors of the project
36 ProjectMembersMap authorMap;
37 ///Map of maintainers of the project
38 ProjectMembersMap maintainerMap;
39 ///Map of the contributors of the project
40 ProjectMembersMap contributorMap;
41 ///List of keywords linked to the project
42 std::vector<PString> keywordList;
43 ///Date of creation of the project
44 PString publicationDate;
45 ///Map of all dependencies of the project with structure PPackageAttribute values
46 PackageMap mapDependencies;
47
48 };
49
50
51 bool project_generator_loadConfig(ProjectConfig & config, const PPath & descriptionFile);
52 bool project_generator_loadPackageInfo(ProjectConfig & config);
53
54 #endif
55