SpecSpec
Size: 2986
Comment: removed irritating discrepancy between SpecSpec and SpecTemplate
|
Size: 5574
Comment: Added Summary, Rationale and Use Cases
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= How to Write an Ubuntu Specification = | * '''Launchpad Entry''': UbuntuSpec:foo * '''Created''': <<Date(2005-10-25T15:45:54Z)>> * '''Contributors''': * '''Packages affected''': * '''See also''': SpecTemplate |
Line 3: | Line 7: |
This is an example Ubuntu specification, with comments on how to write a good Ubuntu specification. The better your spec, the better the chances that your ideas will be implemented in Ubuntu, and accepted by the distro team. |
== Summary == |
Line 7: | Line 9: |
== Status == * '''Launchpad Entry''': https://launchpad.net/distros/ubuntu/+spec/foo * '''Created''': [[Date(2005-10-25T15:45:54Z)]] by MatthewEast * '''Contributors''': MatthewEast * '''Packages affected''': == Introduction == This specification decribes the way we would like Ubuntu specifications to be written. It takes the form of a specification itself. You can see the SpecTemplate, which it is recommended you use for your own specifications in this system. |
An application that downloads software, content and other data from a location with a good Internet connection, in order to ship it to a location that may not have a good or cheap Internet connection. |
Line 22: | Line 13: |
As we develop new ideas for features in Ubuntu it's important to have a clear idea of the exact status of each idea. Putting this content in the wiki gives our community a chance to participate in the discussion and design of a feature, and increases the chance that community members will feel confident enough to start work on the implementation of the feature. A good specification allows community members who were not physically present at meetings discussing a topic to participate in the implementation of the spec. |
Many NGOs work in areas where Internet connectivity might be slow, expensive, censored or otherwise severely limited. |
Line 31: | Line 15: |
== Specification Structure == | Examples of the above would include rural areas in Africa where connectivity is extremely expensive. While a school may acquire Ubuntu installation media quite effortlessly, installing additional software may be prohibitive due to the high cost of bandwidth. Another case may be where a natural disaster has hit an area, destroying telecoms infrastructure. In these examples, a disk could be prepared with a mirror of useful tools and content that could be prepared in another area or even another country and then shipped off to location. |
Line 33: | Line 17: |
The spec is broken into a number of sections and sub-sections. We describe each of these in turn: |
== Use Cases == |
Line 36: | Line 19: |
1. '''The title'''. A short heading for the spec, no more than 12 words. | * Eric needs to visit a disaster location tomorrow and needs to set up a contact center for the area, he has very little information about the area or what kind of infrastructure is available. He's also unsure which software and content may be useful. He uses Manifest to create a mirror in his pocket that allows him to have all of the Ubuntu repositories and a few PPAs available onsite. |
Line 38: | Line 21: |
1. '''The status metadata'''. This section contains some well-defined metadata for the spec. It's important to put in as may flags and tags as possible that accurately describe the state and scope of the specification. These flags are used to generate reporting pages automatically. Please use as many flags as make sense for this spec from the following list: HighPriority, LowPriority, MediumPriority, UduBof, UbzSpecification, BrainDump, DraftSpecification, ApprovedSpecification, ImplementedSpecification, DistroSpecification, LaunchpadSpecification, CommunitySpecification, UbuntuTrack, KubuntuTrack, EdubuntuTrack, LaunchpadTrack. |
* Kyle is installing Edubuntu in schools in Limpopo, South Africa. The only connectivity available here is 3G/HSDPA that costs €0.20 per MB. He creates a mirror on disk using Manifest at a university in Johannesburg and duplicates it on the servers installed at each school he works at, saving the collective schools large amounts of money. |
Line 48: | Line 23: |
1. '''Introduction'''. A brief introduction to the topic or spec. This should not attempt to tell '''why''' the spec is being defined, just '''what''' is being specified. |
* Kenny is a student at South Park Elementary and doesn't have an Internet connection at home. He uses the connection at school to mirror an off-line version of Wikipedia that he'll share with his siblings and use for doing homework. |
Line 52: | Line 25: |
1. '''Rationale''': a summary of '''why''' this spec is being defined. 1. '''Scope and Use Cases'''. The use cases are not always required, but in many cases they bring much better clarity to the scope and scale of the specification than could be obtained by talking in abstract terms. |
== Scope == |
Line 58: | Line 27: |
1. '''Implementation Plan'''. This section is usually broken down into subsections, such as the packages being affected, data and system migration where necessary, user interface requirements and pictures (photographs of drawings on paper work ell). |
This specification covers feature specifications for Ubuntu and Launchpad. It is not meant as a more general specification format. == Design == A specification should be built with the following considerations: * The person implementing it may not be the person writing it. It should be clear enough for someone to be able to read it and have a clear path towards implementing it. If it doesn't, it needs more detail. * That the use cases covered in the specification should be practical situations, not contrived issues. * Limitations and issues discovered during the creation of a specification should be clearly pointed out so that they can be dealt with explicitly. * If you don't know enough to be able to competently write a spec, you should either get help or research the problem further. Avoid spending time making up a solution: base yourself on your peers' opinions and prior work. * Specifications should be written in clear, concise and correct English. If you're not a native speaker, co-editing the spec with somebody who is might be a good idea. Specific issues related to particular sections are described further below. === Summary === The summary should not attempt to say '''why''' the spec is being defined, just '''what''' is being specified. === Rationale === This should be the description of '''why''' this spec is being defined. === Scope and Use Cases === While not always required, but in many cases they bring much better clarity to the scope and scale of the specification than could be obtained by talking in abstract terms. ==== Use Cases ==== Use cases are positive statements which (loosely) conform to a pattern like * A person and their role * The objective they want to achieve * The steps they go through * The positive result Specifically, describing the current unsatisfactory state of affairs is not a use case; that belongs in the Rationale section. === Implementation Plan === This section is usually broken down into subsections, such as the packages being affected, data and system migration where necessary, user interface requirements and pictures (photographs of drawings on paper work well). == Implementation == To implement a specification, the assignee should observe the use cases carefully, and follow the design specified. He should make note of places in which he has strayed from the design section, adding rationale describing why this happened. This is important so that next iterations of this specification (and new specifications that touch upon this subject) can use the specification as a reference. The implementation is very dependent on the type of feature to be implemented. Refer to the team leader for further suggestions and guidance on this topic. == Outstanding Issues == The specification process requires experienced people to drive it. More documentation on the process should be produced. The drafting of a specification requires English skills and a very good understanding of the problem. It must also describe things to an extent that someone else could implement. This is a difficult set of conditions to ensure throughout all the specifications added. There is a lot of difficulty in gardening obsolete, unwanted and abandoned specifications in the Wiki. == BoF agenda and discussion == We'll have a first public session on this on the first Monday in UBZ. ---- CategorySpec |
Launchpad Entry: foo
Created: 2005-10-25
Contributors:
Packages affected:
See also: SpecTemplate
Summary
An application that downloads software, content and other data from a location with a good Internet connection, in order to ship it to a location that may not have a good or cheap Internet connection.
Rationale
Many NGOs work in areas where Internet connectivity might be slow, expensive, censored or otherwise severely limited.
Examples of the above would include rural areas in Africa where connectivity is extremely expensive. While a school may acquire Ubuntu installation media quite effortlessly, installing additional software may be prohibitive due to the high cost of bandwidth. Another case may be where a natural disaster has hit an area, destroying telecoms infrastructure. In these examples, a disk could be prepared with a mirror of useful tools and content that could be prepared in another area or even another country and then shipped off to location.
Use Cases
- Eric needs to visit a disaster location tomorrow and needs to set up a contact center for the area, he has very little information about the area or what kind of infrastructure is available. He's also unsure which software and content may be useful. He uses Manifest to create a mirror in his pocket that allows him to have all of the Ubuntu repositories and a few PPAs available onsite.
- Kyle is installing Edubuntu in schools in Limpopo, South Africa. The only connectivity available here is 3G/HSDPA that costs €0.20 per MB. He creates a mirror on disk using Manifest at a university in Johannesburg and duplicates it on the servers installed at each school he works at, saving the collective schools large amounts of money.
- Kenny is a student at South Park Elementary and doesn't have an Internet connection at home. He uses the connection at school to mirror an off-line version of Wikipedia that he'll share with his siblings and use for doing homework.
Scope
This specification covers feature specifications for Ubuntu and Launchpad. It is not meant as a more general specification format.
Design
A specification should be built with the following considerations:
- The person implementing it may not be the person writing it. It should be clear enough for someone to be able to read it and have a clear path towards implementing it. If it doesn't, it needs more detail.
- That the use cases covered in the specification should be practical situations, not contrived issues.
- Limitations and issues discovered during the creation of a specification should be clearly pointed out so that they can be dealt with explicitly.
- If you don't know enough to be able to competently write a spec, you should either get help or research the problem further. Avoid spending time making up a solution: base yourself on your peers' opinions and prior work.
- Specifications should be written in clear, concise and correct English. If you're not a native speaker, co-editing the spec with somebody who is might be a good idea.
Specific issues related to particular sections are described further below.
Summary
The summary should not attempt to say why the spec is being defined, just what is being specified.
Rationale
This should be the description of why this spec is being defined.
Scope and Use Cases
While not always required, but in many cases they bring much better clarity to the scope and scale of the specification than could be obtained by talking in abstract terms.
Use Cases
Use cases are positive statements which (loosely) conform to a pattern like
- A person and their role
- The objective they want to achieve
- The steps they go through
- The positive result
Specifically, describing the current unsatisfactory state of affairs is not a use case; that belongs in the Rationale section.
Implementation Plan
This section is usually broken down into subsections, such as the packages being affected, data and system migration where necessary, user interface requirements and pictures (photographs of drawings on paper work well).
Implementation
To implement a specification, the assignee should observe the use cases carefully, and follow the design specified. He should make note of places in which he has strayed from the design section, adding rationale describing why this happened. This is important so that next iterations of this specification (and new specifications that touch upon this subject) can use the specification as a reference.
The implementation is very dependent on the type of feature to be implemented. Refer to the team leader for further suggestions and guidance on this topic.
Outstanding Issues
The specification process requires experienced people to drive it. More documentation on the process should be produced.
The drafting of a specification requires English skills and a very good understanding of the problem. It must also describe things to an extent that someone else could implement. This is a difficult set of conditions to ensure throughout all the specifications added.
There is a lot of difficulty in gardening obsolete, unwanted and abandoned specifications in the Wiki.
BoF agenda and discussion
We'll have a first public session on this on the first Monday in UBZ.
SpecSpec (last edited 2010-05-30 17:13:07 by dsl-185-83-10)