[opensuse-buildservice] Creating a Tutorial project in OBS
Hi folks, I don't know if this has been suggested before, but just in case - I'd like to propose a tutorial project in OBS. This would be a good accompaniment to the book and wiki. I've been looking for small programming examples to try packaging. I know most people who are packaging will be programmers and this won't be an issue, but I know of at least one sysadmin with minimal programming experience who did a good job with packaging software so I'm sure he won't be the only case. Darix and Bitshuffler kindly pointed me to some small projects on their home: repos in OBS so that I can have a manageable example to work with. When you're starting out you want a 'model' example with a nice, readable .spec file so everything makes sense. So I thought maybe someone would like to create a sample project home: with some accompanying notes, starting with something very small with easy to find tarball and correct spec file for RPM (and perhaps including some notes for DEB). Perhaps, someone might like to create a few projects that would give typical problems - WITH how to fix instructions! It's one thing to go and find documentation to fix a problem as you discover it, but most tutorials start off with easy problems first and gradually get harder! What do you think? I'm sure many people must have suitable little projects tucked away that would be perfect, they could just be copied to a suitably named directory. It would be an added bonus if there were any small simple programs that a student might find useful as a model. Well that's the rough idea, maybe you have a better way of implementing. (perhaps just a wiki page with links to suitable projects would do?) cheers Helen -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, Jan 28, 2011 at 11:33 PM, Helen <postmodernhousewife@gmail.com> wrote:
Hi folks,
I don't know if this has been suggested before, but just in case -
I'd like to propose a tutorial project in OBS. This would be a good accompaniment to the book and wiki.
I'm not aware of any samples. Even more than a normal project, a sample kernel module project would be great.
I've been looking for small programming examples to try packaging. I know most people who are packaging will be programmers and this won't be an issue, but I know of at least one sysadmin with minimal programming experience who did a good job with packaging software so I'm sure he won't be the only case.
Darix and Bitshuffler kindly pointed me to some small projects on their home: repos in OBS so that I can have a manageable example to work with. When you're starting out you want a 'model' example with a nice, readable .spec file so everything makes sense.
I did hardware:open2300 as a sample for myself. Very simple at this point. Could likely use better comments, but I'm not the person to add them. (I'm still qa packaging newbie). I don't think it even has a patch file. The same project is in my home directory, but that version has 2 patch files and 2 sub-projects. It's basically done now too. Again, better comments by a better packager than me would be appropriate. If you want to use these you need to make copies, they are both likely to get more complex as I hope to get them into 11.5 and the packages have some issues I want to patch prior to that happening.
So I thought maybe someone would like to create a sample project home: with some accompanying notes, starting with something very small with easy to find tarball and correct spec file for RPM (and perhaps including some notes for DEB).
I have the DEB stuff for open2300 in my home project.
Perhaps, someone might like to create a few projects that would give typical problems - WITH how to fix instructions! It's one thing to go and find documentation to fix a problem as you discover it, but most tutorials start off with easy problems first and gradually get harder!
What do you think? I'm sure many people must have suitable little projects tucked away that would be perfect, they could just be copied to a suitably named directory. It would be an added bonus if there were any small simple programs that a student might find useful as a model.
Well that's the rough idea, maybe you have a better way of implementing. (perhaps just a wiki page with links to suitable projects would do?)
links to normal projects are bad. Real projects change over time, so what may be simple in 2010, make become complex in 2011 for whatever reason. Copies can be static as long as they build.
cheers
Helen
Greg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, Am Samstag 29 Januar 2011 schrieb Greg Freemyer:
On Fri, Jan 28, 2011 at 11:33 PM, Helen <postmodernhousewife@gmail.com> wrote:
Hi folks,
I don't know if this has been suggested before, but just in case -
I'd like to propose a tutorial project in OBS. This would be a good accompaniment to the book and wiki.
I'm not aware of any samples. Even more than a normal project, a sample kernel module project would be great.
x2. I am personally really searching for a working sample kernel project, as currently all kernel modules build according to the guide by Novell ( http://www.novell.com/communities/node/9226/using-opensuse-build-service- create-and-distribute-kernel-module-packages ) fail in Factory due to some wired issues with the XEN-Kernels (not the build fails, but the installer looks for files in the wrong place, look at package hdjmod in Contrib for an example). Regards, Matthias -- Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke
Am Samstag, 29. Januar 2011, 07:31:39 schrieb Greg Freemyer:
On Fri, Jan 28, 2011 at 11:33 PM, Helen <postmodernhousewife@gmail.com> wrote: ... maybe someone would like to create a sample project home:
with some accompanying notes, starting with something very small with easy to find tarball and correct spec file for RPM (and perhaps including some notes for DEB).
I have the DEB stuff for open2300 in my home project.
Maybe a wiki page, pointing to various projects and packages, with some explenantion would be a good first step. So there is need to push everything into the same project (which maybe not work together with all examples). And we may can merge this later into the OBS best practices book, where it belongs to IMHO. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Greg Freemyer
-
Helen
-
Matthias Bach