Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] Creating a Tutorial project in OBS
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Sat, 29 Jan 2011 07:31:39 -0500
  • Message-id: <AANLkTi=obRo6f4C+9QwLDYzjtT9asLZAs87Xi6b_1w0L@mail.gmail.com>
On Fri, Jan 28, 2011 at 11:33 PM, Helen <postmodernhousewife@xxxxxxxxx> 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References