Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions doc/static/uml/c3_dfetch_components_commands.puml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,29 @@ System_Boundary(DFetch, "Dfetch") {
Component(compCommon, "Common", "python", "Common actions for commands")
Component(compCommand, "Command", "python", "Base class for commands")

Component(compAdd, "Add", "python", "Adds a new project to the manifest")
Component(compCheck, "Check", "python", "Checks for updates")
Component(compDiff, "Diff", "python", "Creates patch of local changes")
Component(compEnv, "Environment", "python", "Shows local tools")
Component(compFormatPatch, "FormatPatch", "python", "Format patch for export")
Component(compFreeze, "Freeze", "python", "Pins all projects")
Component(compImport, "Import", "python", "Imports from VCS")
Component(compInit, "Init", "python", "Initializes a manifest")
Component(compRemove, "Remove", "python", "Removes a project from the manifest")
Component(compReport, "Report", "python", "Reports status")
Component(compUpdate, "Update", "python", "Updates all projects")
Component(compUpdatePatch, "UpdatePatch", "python", "Updates patch")
Component(compValidate, "Validate", "python", "Validates manifest")

Rel_U(compAdd, compCommand, "Extends")
Rel_U(compCheck, compCommand, "Extends")
Rel_U(compDiff, compCommand, "Extends")
Rel_U(compEnv, compCommand, "Extends")
Rel_U(compFormatPatch, compCommand, "Extends")
Rel_U(compFreeze, compCommand, "Extends")
Rel_U(compImport, compCommand, "Extends")
Rel_U(compInit, compCommand, "Extends")
Rel_U(compRemove, compCommand, "Extends")
Rel_U(compReport, compCommand, "Extends")
Rel_U(compUpdate, compCommand, "Extends")
Rel_U(compUpdatePatch, compCommand, "Extends")
Expand All @@ -43,6 +47,9 @@ System_Boundary(DFetch, "Dfetch") {
Container(contVcs, "Vcs", "python", "Abstraction of various Version Control Systems.")
Container(contReporting, "Reporting", "python", "Output formatters for various reporting formats.")

Rel(compAdd, contManifest, "Uses")
Rel(compAdd, contProject, "Uses")

Rel(compCheck, contManifest, "Uses")
Rel(compCheck, contProject, "Uses")
Rel(compCheck, contReporting, "Uses")
Expand All @@ -63,6 +70,9 @@ System_Boundary(DFetch, "Dfetch") {
Rel(compImport, contProject, "Uses")
Rel(compImport, contVcs, "Uses")

Rel(compRemove, contManifest, "Uses")
Rel(compRemove, contProject, "Uses")

Rel(compReport, contManifest, "Uses")
Rel(compReport, contProject, "Uses")
Rel(compReport, contReporting, "Uses")
Expand Down
8 changes: 5 additions & 3 deletions doc/static/uml/c3_dfetch_components_manifest.puml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ System_Boundary(DFetch, "Dfetch") {

Boundary(DFetchManifest, "Manifest") {
Component(compManifest, "Manifest", "python", "Main configuration file describing all projects.")
Component(compParse, "Parse", "python", "Utilities for finding manifest files.")
Component(compProject, "Project", "python", "A single project requirement with optionally specific version")
Component(compRemote, "Remote", "python", "A remote source that contains one or more projects.")
Component(compValidate, "Validate", "python", "Validate a manifest.")
Component(compSchema, "Schema", "python", "StrictYAML schema for the manifest.")
Component(compVersion, "Version", "python", "Check and compare versions.")

Rel(compManifest, compProject, "Uses")
Rel(compManifest, compRemote, "Uses")
Rel(compManifest, compSchema, "Uses")
Rel(compParse, compManifest, "Uses")
Rel(compProject, compVersion, "Uses")
Rel_L(compProject, compRemote, "Uses")
Rel(compManifest, compValidate, "Uses")
Rel(compManifest, compRemote, "Uses")
}

Container(contProject, "Project", "python", "Main project that has a manifest.")
Expand Down
3 changes: 3 additions & 0 deletions doc/static/uml/c3_dfetch_components_project.puml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ System_Boundary(DFetch, "Dfetch") {
Boundary(DfetchProject, "Project", "python", "Main project that has a manifest.") {

Component(compAbstractCheckReporter, "AbstractCheckReporter", "python", "Abstract interface for generating a check report.")
Component(compArchiveSub, "ArchiveSubProject", "python", "A subproject based on an archive.")
Component(compGitSub, "GitSubproject", "python", "A subproject based on git.")
Component(compMetadata, "Metadata", "python", "A file containing metadata about a project.")
Component(compSvnSub, "SvnSubproject", "python", "A subproject based on svn.")
Expand All @@ -21,6 +22,7 @@ System_Boundary(DFetch, "Dfetch") {
Component(compSvnSuper, "SvnSuperProject", "python", "A superproject based on svn.")
Component(compNoVcsSuper, "NoVcsSuperProject", "python", "A superproject without VCS.")

Rel_U(compArchiveSub, compSubProject, "Implements")
Rel_U(compGitSub, compSubProject, "Implements")
Rel_U(compSvnSub, compSubProject, "Implements")
Rel(compSubProject, compAbstractCheckReporter, "Uses")
Expand All @@ -41,6 +43,7 @@ System_Boundary(DFetch, "Dfetch") {
Rel_U(compMetadata, contManifest, "Has")
Rel(compSuperProject, contManifest, "Has")
Rel_U(contReporting, contManifest, "Uses")
Rel(compArchiveSub, contVcs, "Uses")
Rel(compGitSub, contVcs, "Uses")
Rel(compSvnSub, contVcs, "Uses")
Rel(compGitSuper, contVcs, "Uses")
Expand Down
Loading