Skip to content

Commit 1fb40f1

Browse files
Fix for issue #82 (#121)
* Fix for issue #82 Allow distributed definitions of DSDL namespaces. * Update specification/dsdl/architecture.tex Co-authored-by: Pavel Kirienko <[email protected]> * adding change to the updates section Co-authored-by: Pavel Kirienko <[email protected]>
1 parent 68a9580 commit 1fb40f1

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
*.tmp
22
*.cache
33
.mypy_cache
4-
4+
.DS_Store

specification/dsdl/architecture.tex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,14 @@ \subsection{File hierarchy}
143143
\caption{Data type definition file name structure\label{fig:dsdl_definition_file_name_structure}}
144144
\end{figure}
145145

146-
DSDL namespaces are represented as directories, where one directory defines exactly one namespace, possibly nested.
146+
DSDL namespaces are represented as directories, where one directory defines exactly one namespace\footnote{%
147+
While a single directory can define only one namespace, the inverse is not prohibited; namespaces can be
148+
defined as the union of the contents of multiple directories that share the same name and folder hierarchy (up to
149+
the root namespace folder). The rules for how distributed definitions such as these are resolved are specific to any
150+
tools that manage them. This specification applies only to the resulting union assuming it is equivalent to a single
151+
file tree.
152+
}, possibly nested.
147153
The name of the directory defines the name of its data type name component.
148-
A directory defining a namespace will always define said namespace in its entirety,
149-
meaning that the contents of a namespace cannot be spread across different directories sharing the same name.
150154
One directory cannot define more than one level of
151155
nesting\footnote{%
152156
For example, ``\texttt{foo.bar}'' is not a valid directory name.

specification/introduction/introduction.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ \subsection{v1.0 -- work in progress}
216216

217217
\item The default extent function has been removed (section \ref{sec:dsdl_composite_extent_and_sealing}).
218218
The extent now has to be specified explicitly always unless the data type is sealed.
219+
220+
\item The constraint on DSDL namespaces being defined in a single folder was removed. Namespaces can be hosted
221+
across multiple repositories and code can be generated from a union of said folders.
219222
\end{itemize}
220223

221224
\subsection{v1.0-beta -- Sep 2020}

0 commit comments

Comments
 (0)