mNo edit summary |
|||
Line 2: | Line 2: | ||
Environment Modules are a concept unrelated to the Modularity initiative. | Environment Modules are a concept unrelated to the Modularity initiative. | ||
== What is a module? == | == What is a module? == | ||
A module can be thought of as a dotted line we draw around a set of components that we declare a “thing.” It makes sense to think of a module as unit of measure larger than a traditional RPM. | A module can be thought of as a dotted line we draw around a set of components that we declare a “thing.” It makes sense to think of a module as unit of measure larger than a traditional RPM. | ||
== OK, so what is modularity? == | == OK, so what is modularity? == | ||
Modularity is an ongoing initiative in Fedora to resolve the issue of divergent, occasionally conflicting lifecycles of different components (modules). | Modularity is an ongoing initiative in Fedora to resolve the issue of divergent, occasionally conflicting lifecycles of different components (modules). | ||
== What is a module’s lifecycle? == | == What is a module’s lifecycle? == | ||
A module as a whole has its own lifecycle independent of any other module. Maintainers may decide to release multiple modules together on a common release schedule, but it is always possible to release modules independently when desired. | A module as a whole has its own lifecycle independent of any other module. Maintainers may decide to release multiple modules together on a common release schedule, but it is always possible to release modules independently when desired. | ||
== What are a module’s standard properties? == | == What are a module’s standard properties? == | ||
Line 27: | Line 23: | ||
* A module comes with associated metadata such as lifecycle information (when does the module go end of life), who maintains it and to what support level, etc. | * A module comes with associated metadata such as lifecycle information (when does the module go end of life), who maintains it and to what support level, etc. | ||
* A module may include different versions of components than other modules. | * A module may include different versions of components than other modules. | ||
== Why do we call it modularity? == | == Why do we call it modularity? == | ||
We are trying to use an agnostic term so as not to indicate the specific nature of a module or a component. Modules can be big or small, low or high-level, brand new or very mature. As a result, please try not to ascribe too much meaning to the word module or component aside from being a slightly prettier and shorter version of “chunk of some stuff.” | We are trying to use an agnostic term so as not to indicate the specific nature of a module or a component. Modules can be big or small, low or high-level, brand new or very mature. As a result, please try not to ascribe too much meaning to the word module or component aside from being a slightly prettier and shorter version of “chunk of some stuff.” | ||
== Why are we pursuing this goal? == | == Why are we pursuing this goal? == | ||
Well, there a a lot of reasons but, I think, the simplest is to try to disconnect the lifecycle of major components from each other so that they can grow and change at the speed that is appropriate to the component. Why does that matter? Well, that is a significantly more complex conversation and somewhat beyond the scope of this document. | Well, there a a lot of reasons but, I think, the simplest is to try to disconnect the lifecycle of major components from each other so that they can grow and change at the speed that is appropriate to the component. Why does that matter? Well, that is a significantly more complex conversation and somewhat beyond the scope of this document. | ||
== I heard there were videos? == | == I heard there were videos? == | ||
Yes, videos are delivered at the completion of every sprint and posted to a [https://www.youtube.com/channel/UC4O8G9SZwqtkIAuKcT8-JpQ Fedora Modularity YouTube] channel. | Yes, videos are delivered at the completion of every sprint and posted to a [https://www.youtube.com/channel/UC4O8G9SZwqtkIAuKcT8-JpQ Fedora Modularity YouTube] channel. | ||
== Where can I find out more? == | == Where can I find out more? == |
Revision as of 12:36, 19 July 2016
Environment Modules are a concept unrelated to the Modularity initiative.
What is a module?
A module can be thought of as a dotted line we draw around a set of components that we declare a “thing.” It makes sense to think of a module as unit of measure larger than a traditional RPM.
OK, so what is modularity?
Modularity is an ongoing initiative in Fedora to resolve the issue of divergent, occasionally conflicting lifecycles of different components (modules).
What is a module’s lifecycle?
A module as a whole has its own lifecycle independent of any other module. Maintainers may decide to release multiple modules together on a common release schedule, but it is always possible to release modules independently when desired.
What are a module’s standard properties?
- A module has a unique name.
- Each version of a module has its own independent update stream associated with it. We avoid changing ABI or intentionally breaking forwards compatibility in any way within the update stream of a single version.
- A module has a well known set of non-runtime dependencies which are not available in the same “repo” as the module itself. While it seems like this could be easily supported in the “for now” case, having this requirement makes sure we don't paint ourselves into a corner.
- A module has an API. In essence, the API is what makes the module. For example, if we had a Web server module, its API might be HTTP/2. We could provide that using httpd or nginx, and, next week, swap it, because the API is king, not the binaries inside. However, while we need to consider the API model, full support of this may not be necessary for the MVP.
- A module comes with associated metadata such as lifecycle information (when does the module go end of life), who maintains it and to what support level, etc.
- A module may include different versions of components than other modules.
Why do we call it modularity?
We are trying to use an agnostic term so as not to indicate the specific nature of a module or a component. Modules can be big or small, low or high-level, brand new or very mature. As a result, please try not to ascribe too much meaning to the word module or component aside from being a slightly prettier and shorter version of “chunk of some stuff.”
Why are we pursuing this goal?
Well, there a a lot of reasons but, I think, the simplest is to try to disconnect the lifecycle of major components from each other so that they can grow and change at the speed that is appropriate to the component. Why does that matter? Well, that is a significantly more complex conversation and somewhat beyond the scope of this document.
I heard there were videos?
Yes, videos are delivered at the completion of every sprint and posted to a Fedora Modularity YouTube channel.
Where can I find out more?
The best place to start is where you already are: http://fedoraproject.org/wiki/Modularity
As the wiki evolves, categories and new content will be added. Make sure not to miss the blog: https://communityblog.fedoraproject.org/
- Blog posts tagged with “Modularity” https://communityblog.fedoraproject.org/tag/modularity/
- Infra segment of the wiki
- Developer Notes segment of the wiki