-
Nesynchronizované
Thank you very much.
-
Nesynchronizované
Thanks everybody for coming,…
-
Nesynchronizované
If you are packaging software and you want
me to work on with you,
-
Nesynchronizované
this is how you can do that.
-
Nesynchronizované
It is a very self-??? talk:
-
Nesynchronizované
I just want to explain some of the things
that I like,
-
Nesynchronizované
some practice that I prefer about Debian
packaging,
-
Nesynchronizované
and I don't pretend this is any sort of
official,
-
Nesynchronizované
permanent or final thing.
-
Nesynchronizované
I just wanted to share some ideas that I
have about the way that I work with
-
Nesynchronizované
packages, in the hope that maybe, hmm,
for two hopes:
-
Nesynchronizované
One is that I hope that I can show you
something that you have not heard of,
-
Nesynchronizované
or maybe you were doing differently,
-
Nesynchronizované
or maybe you think it is the right think
to do and it is just nice to see somebody
-
Nesynchronizované
somebody else doing it.
-
Nesynchronizované
My second hope is that you can tell me
what I am doing wrong,
-
Nesynchronizované
and you can help me learn and improve
on my own packaging techniques.
-
Nesynchronizované
If you see something that I am proposing
up here,
-
Nesynchronizované
and you think there is a problem with it,
I would like to hear about it too.
-
Nesynchronizované
I just want to see more of the culture
within Debian,
-
Nesynchronizované
of people who are doing packaging,
explaining what they are doing,
-
Nesynchronizované
and so I thought I would just step up and
explain:
-
Nesynchronizované
"Here is some of the practice that I do",
-
Nesynchronizované
In the hope that other people will do the
same and explain what they are doing,
-
Nesynchronizované
and maybe they can learn from me and
I can learn from them.
-
Nesynchronizované
Without much further ????, I am just going
to dive into it.
-
Nesynchronizované
If you have questions, I am perfectly
happy to be interrupted,
-
Nesynchronizované
we have some folks with walking mics
in the crowd:
-
Nesynchronizované
you can just raise your hand.
-
Nesynchronizované
I you have got a question or an
interruption or whatever,
-
Nesynchronizované
that is fine.
-
Nesynchronizované
I ??? I got the whole 15 minutes,
I think there are 20 minutes,
-
Nesynchronizované
I ??? the whole time, so there will be
also time for questions at the end
-
Nesynchronizované
if you prefer.
-
Nesynchronizované
But I do not mind being interrupted.
-
Nesynchronizované
So, this is all on this web page here,
-
Nesynchronizované
you could probably skip this talk and go
read the web page,
-
Nesynchronizované
but then you would not have the nice
??? actions,
-
Nesynchronizované
and it is easier to tell me that I am
wrong in person,
-
Nesynchronizované
so I would like to have that happen.
-
Nesynchronizované
I put this up on the Debian wiki,
-
Nesynchronizované
because I want anyone to be able to find
it.
-
Nesynchronizované
If you thing you have got some good ideas,
you should put it on the Debian Wiki too:
-
Nesynchronizované
other people can take advantage of the
ideas that you have got.
-
Nesynchronizované
First baseline is: I really like revision
control.
-
Nesynchronizované
And I know that it makes me a certain
flavor on nerd,
-
Nesynchronizované
but when we are working with things that
are as complicated as software packages,
-
Nesynchronizované
hmmm, I think a lot of people don't get
that in Debian we are not just working on
-
Nesynchronizované
one software package:
-
Nesynchronizované
you are actually probably, if you are doing
a responsibly work,
-
Nesynchronizované
on at least two software packages, and
maybe 5.
-
Nesynchronizované
So you have got the version that is
unstable and you have got
-
Nesynchronizované
the version that you try to maintain for
stable as well.
-
Nesynchronizované
And we are committing to doing maintenance
work.
-
Nesynchronizované
A lot of our work in the project is ???
in nature:
-
Nesynchronizované
we want to clean up the mess and we want
us to stay out of the way and
-
Nesynchronizované
to make sure things work, functionally,
-
Nesynchronizované
for people who are relying on the
operating system to not get in their way.
-
Nesynchronizované
So revision control I think is really
helpful because it means you can
-
Nesynchronizované
keep track of what changes you have done
on different branches of the project
-
Nesynchronizované
while you are maintaining both of them.
-
Nesynchronizované
Basically, ??? require working with
the revision system I am comfortable with,
-
Nesynchronizované
I prefer Git, I am not going to have a
religious word about it.
-
Nesynchronizované
If upstream uses Git, I am even happier,
and I try to make my packaging depend on
-
Nesynchronizované
upstream's revision control.
-
Nesynchronizované
I like to use 'git-buildpackage', and I
like to use it with debhelper.
-
Nesynchronizované
If you have not tried out
'git-buildpackage',
-
Nesynchronizované
we are going to have a
'git-buildpackage' skill share session
-
Nesynchronizované
later on today actually, and I welcome
you to come and share your tricks with it,
-
Nesynchronizované
or learn some tricks from other people.
-
Nesynchronizované
It is a particular way that you can keep
your Debian packaging in a Git repository,
-
Nesynchronizované
and it helps you to keep track of all of
the changes that ave happened within
-
Nesynchronizované
your packaging and within upstream to
make sure you are not accidentally
-
Nesynchronizované
making other changes.
-
Nesynchronizované
So it is very easy to go back and review
what you have done.
-
Nesynchronizované
I find that really useful.
-
Nesynchronizované
I definitely also like to keep upstream's
source code in the same revision control
-
Nesynchronizované
system.
-
Nesynchronizované
I like to keep the tarballs in the
revision control system because it means
-
Nesynchronizované
that if someone is interested, they can
uses a tool called 'debcheckout'.
-
Nesynchronizované
You can use 'debcheckout' with a name of
a package:
-
Nesynchronizované
you say just "I am really interested in
package 'foo',
-
Nesynchronizované
let me see the source code for that":
-
Nesynchronizované
debcheckout foo
-
Nesynchronizované
You get the source code, and you get the
source code from a revision control
-
Nesynchronizované
system that you can now track and you
can just propose changes on.
-
Nesynchronizované
You can also extract the tarball from that
revision control system.
-
Nesynchronizované
'debcheckout' actually works even if you
do not have upstream stuff in there,
-
Nesynchronizované
but I like to keep it all in one revision
control system,
-
Nesynchronizované
it is just easier to find everything when
you want.
-
Nesynchronizované
Some of these things that I prefer have
to do with what the upstream software
-
Nesynchronizované
developer has done, so I am less inclined
to try the package an upstream software
-
Nesynchronizované
project if they just throw tarballs here
over the wall to an FTP side
-
Nesynchronizované
every now and then.
-
Nesynchronizované
It makes it more difficult for me to know
what they are doing,
-
Nesynchronizované
and why they are doing it.
-
Nesynchronizované
So i like it, I have already said, when
upstream uses Git,
-
Nesynchronizované
I also like when upstream signs their
releases,
-
Nesynchronizované
and say "hey, this is specific release",
-
Nesynchronizované
Because that is a signal that I can use,
or somebody else that understands the
-
Nesynchronizované
project: as said "we think that this
something that other people can use",
-
Nesynchronizované
or "this is a particular version we would
like other people to test".
-
Nesynchronizované
There are a lot of other situations where
maybe it is not so important.
-
Nesynchronizované
And having that be cryptographically
signed is really useful.