[yast-devel] Generic / Repo-specific READMEs at GitHub
Hi, When Christopher was in Prague, a few of us had a brainstorming about the need of having devel-documentation placed directly in a Yast/libstorage/linuxrc repository. There are no doubts that it's one of the most important parts of projects hosted at GitHub. All their howtos mention "create README[.md]" as the very first step. In fact, we'll have new hires in the team and in such situations, good documentation is one of the most important parts. Good documentation goes from very high level to lower and lower level. We have already summarized that in Yast Team Challenges, but the summary doesn't belong to this document as it's too detailed. That's why I'm putting it here as a WIP item and deleting it from that document: --- cut --- The README should at least describe the steps needed for maintenance (for a person without expert knowledge in the area) including: * What is the project good for - what does it actually do (and how), what it cannot do (unsupported scenarios), limitations * Links to the documentation, high level and low level descriptions (e.g. RFC, wikipedia articles, man pages, project documentation, openSUSE wiki), terminology * How to fetch the source code (if something outside Git is needed it should be mentioned) * What prerequisites are needed to build the sources (external libraries, gems, scripts, …) * How to build the sources (make/rake commands…) * How to setup a testing environment (e.g. iSCSI target for iSCSI client) * How to run the code to test a change (esp. needed for non trivial projects like linuxrc) * How to run automated tests * How to build a package for submission * How to submit the package (if it needs some manual steps) * Troubleshooting (how to solve typical problems) The README should be reasonably short, if some section is too long it should be moved to a separate document (or to GitHub wiki) and linked. --- cut --- The project consists of - Taking a decision where to go - How to get there - Implementing this important documentation Those two who, according to my knowledge, were working on this were Ladislav and Christopher, but there were not the only ones and a pilot project for READMEs has been done a few months ago by Martin. It's still not finished, but moving forward. Thanks Lukas -- Lukas Ocilka, Systems Management (Yast) Team Leader SLE Department, SUSE Linux -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 25.2.2015 v 14:09 Lukas Ocilka napsal(a):
Hi,
When Christopher was in Prague, a few of us had a brainstorming about the need of having devel-documentation placed directly in a Yast/libstorage/linuxrc repository. There are no doubts that it's one of the most important parts of projects hosted at GitHub. All their howtos mention "create README[.md]" as the very first step.
[...]
The project consists of - Taking a decision where to go
I created a README template which should be used in all Yast repositories [1]. It contains some notes and hints what should be documented there. I moved the shared parts and some documentation from openSUSE wiki to a separate page which should be linked from READMEs [2]. And I also adapted the yast2 README to follow this template [3].
- How to get there
Please, review the current state. If you have an idea what can be improved just post it here. It will be more difficult to change it once we modify the README files globally in all repositories...
- Implementing this important documentation
Ideally do it in parallel - split the yast modules across all Yast developers. That leads me to an idea which I'll discuss in a separate mail... [1] https://github.com/yast/yast-yast2/blob/master/doc/README_Template.md [2] http://yastgithubio.readthedocs.org/en/latest/development [3] https://github.com/yast/yast-yast2/blob/master/README.md -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 02/03/2015 16:36, Ladislav Slezak wrote:
Dne 25.2.2015 v 14:09 Lukas Ocilka napsal(a):
Hi,
When Christopher was in Prague, a few of us had a brainstorming about the need of having devel-documentation placed directly in a Yast/libstorage/linuxrc repository. There are no doubts that it's one of the most important parts of projects hosted at GitHub. All their howtos mention "create README[.md]" as the very first step.
[...]
The project consists of - Taking a decision where to go
I created a README template which should be used in all Yast repositories [1]. It contains some notes and hints what should be documented there.
I moved the shared parts and some documentation from openSUSE wiki to a separate page which should be linked from READMEs [2].
And I also adapted the yast2 README to follow this template [3].
- How to get there
Please, review the current state. If you have an idea what can be improved just post it here. It will be more difficult to change it once we modify the README files globally in all repositories...
- Implementing this important documentation
Ideally do it in parallel - split the yast modules across all Yast developers. That leads me to an idea which I'll discuss in a separate mail...
[1] https://github.com/yast/yast-yast2/blob/master/doc/README_Template.md [2] http://yastgithubio.readthedocs.org/en/latest/development [3] https://github.com/yast/yast-yast2/blob/master/README.md
I noticed in [3] that there is an link to a not valid url [4] [4] http://www.rubydoc.info/github/yast/yast-yast2 <= "generated yardoc documentation"
--
Best Regards
Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/
-- Michel Normand -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Fri, 19 Feb 2016 19:27:42 +0100 Normand <normand@linux.vnet.ibm.com> wrote:
On 02/03/2015 16:36, Ladislav Slezak wrote:
Dne 25.2.2015 v 14:09 Lukas Ocilka napsal(a):
Hi,
When Christopher was in Prague, a few of us had a brainstorming about the need of having devel-documentation placed directly in a Yast/libstorage/linuxrc repository. There are no doubts that it's one of the most important parts of projects hosted at GitHub. All their howtos mention "create README[.md]" as the very first step.
[...]
The project consists of - Taking a decision where to go
I created a README template which should be used in all Yast repositories [1]. It contains some notes and hints what should be documented there.
I moved the shared parts and some documentation from openSUSE wiki to a separate page which should be linked from READMEs [2].
And I also adapted the yast2 README to follow this template [3].
- How to get there
Please, review the current state. If you have an idea what can be improved just post it here. It will be more difficult to change it once we modify the README files globally in all repositories...
- Implementing this important documentation
Ideally do it in parallel - split the yast modules across all Yast developers. That leads me to an idea which I'll discuss in a separate mail...
[1] https://github.com/yast/yast-yast2/blob/master/doc/README_Template.md [2] http://yastgithubio.readthedocs.org/en/latest/development [3] https://github.com/yast/yast-yast2/blob/master/README.md
I noticed in [3] that there is an link to a not valid url [4]
[4] http://www.rubydoc.info/github/yast/yast-yast2 <= "generated yardoc documentation"
Hi, for me the link works. What it show for you? I know that rubydoc something just remove generated doc and you have to regenerate it again, so maybe you hit that state. If you know how to make it more persistant we welcome it. Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (4)
-
Josef Reidinger
-
Ladislav Slezak
-
Lukas Ocilka
-
Normand