Skip to contentSkip to conversation

Debian Packaging

DISCUSSION Centurion Computer Technology (2005) Ltd 3 participants 7 messages Jan 7, 2008 – Jan 8, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I plan to spend some time working on the raid/lvm support which seems rather broken at the moment. To make this happen I need to be able to build debian packages directly out of git as the test machines don't have a dev environment, and I don't want to mess with my workstations boot process.

Robert, Can you please add the debian packaging specific stuff to the git repo.

Thanks,

Signature · 4 lines
Daniel Reurich

Centurion Computer Technology (2005) Limited.
Ph: 021 797 722
#1 lore raw
Quoted 7 lines · On Tue, Jan 08, 2008 at 08:51:49AM +1300, Centurion Computer Technology (2005)…

Hi,

I plan to spend some time working on the raid/lvm support which seems rather broken at the moment. To make this happen I need to be able to build debian packages directly out of git as the test machines don't have a dev environment, and I don't want to mess with my workstations boot process.

Nice! This is very needed.

Quoted 2 lines

Robert, Can you please add the debian packaging specific stuff to the git repo.

What git repo?

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
#2 lore raw
Quoted 9 lines · Robert Millan
Quoted 7 lines · On Tue, Jan 08, 2008 at 08:51:49AM +1300, Centurion Computer Technology (2005)…

Hi,

I plan to spend some time working on the raid/lvm support which seems rather broken at the moment. To make this happen I need to be able to build debian packages directly out of git as the test machines don't have a dev environment, and I don't want to mess with my workstations boot process.

Quoted 7 lines

Nice! This is very needed.

Quoted 2 lines

Robert, Can you please add the debian packaging specific stuff to the git repo.

What git repo?

The one Pavel setup at:

	http://repo.or.cz/w/grub2.git

(that's the project's web page, see it for download instructions)

Signature · 4 lines
Daniel Reurich

Centurion Computer Technology (2005) Limited.
Ph: 021 797 722
#3 lore raw
Quoted 9 lines · On Tue, Jan 08, 2008 at 11:06:50AM +1300, Centurion Computer Technology (2005)…
Quoted 5 lines
Quoted 2 lines

Robert, Can you please add the debian packaging specific stuff to the git repo.

What git repo?

The one Pavel setup at:

	http://repo.or.cz/w/grub2.git

(that's the project's web page, see it for download instructions)

That's a mirror of our CVS, right? You mean that you want me to add the debian stuff to CVS, or... ?

I'm sorry but I'm not familiar with git. I know it supports strange branching stuff but that's about it :-)

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
#4 lore raw
Quoted 7 lines · Robert Millan
Quoted 6 lines · On Tue, Jan 08, 2008 at 11:06:50AM +1300, Centurion Computer Technology (2005)…
Quoted 5 lines
Quoted 2 lines

Robert, Can you please add the debian packaging specific stuff to the git repo.

What git repo?

Quoted 6 lines
Quoted 3 lines

The one Pavel setup at:

	http://repo.or.cz/w/grub2.git

(that's the project's web page, see it for download instructions)

That's a mirror of our CVS, right? You mean that you want me to add the debian stuff to CVS, or... ?

Hopefully Pavel can enlighten us on how this relates to CVS. I thought everything was/had moved to git. I assume that if youa dd it to CVS then it will be magically replicated in the git repository

Quoted 3 lines

I'm sorry but I'm not familiar with git. I know it supports strange branching stuff but that's about it :-)

For debian there is also cool tools like git-buildpackage which runs the dbuild process straight out of the git tree and git-dch for updating the changelog with the comments out of gits commit logs. Definitely worth a play.

Quoted 1 line
Signature · 4 lines
Daniel Reurich

Centurion Computer Technology (2005) Limited.
Ph: 021 797 722
#5 lore raw
Quoted 3 lines · On Tue, 2008-01-08 at 11:26 +1300, Centurion Computer Technology (2005) Ltd…

Hopefully Pavel can enlighten us on how this relates to CVS. I thought everything was/had moved to git. I assume that if youa dd it to CVS then it will be magically replicated in the git repository

There is no magic here. I just run a simple script from time to time (it's not even a cron job). I cannot promise that it will happen forever.

I suggest that you don't rely on the git repository as it is now. I don't want to be in the position that others depend on me running something every day or on my machine being up and running.

If you really need a git repository, I suggest that you make your own mirror or take over the mirroring process on repo.or.cz and make it automatic. You'll need a user account on repo.or.cz for the later.

Just in case, that's the script I'm using:

#!/bin/sh

GRUB2_GIT_DIR=/home/proski/src/grub2-git GRUB2_CVS_AUTHORS=/home/proski/local/grub-cvs-authors GRUB2_CVS_ROOT=:pserver:[email protected]:/cvsroot/grub GRUB2_GIT_REPO=git+ssh://repo.or.cz/srv/git/grub2.git

cd "$GRUB2_GIT_DIR"
git-cvsimport -d "$GRUB2_CVS_ROOT" -C "$GRUB2_GIT_DIR" -k -u -A \
"$GRUB2_CVS_AUTHORS" -a grub2

git-update-server-info
git-gc --prune
git-push --all "$GRUB2_GIT_REPO"

Signature · 2 lines
Regards,
Pavel Roskin
#6 lore raw
In reply to Centurion Computer Technology (2005) Ltd
Quoted 7 lines · On Tue, Jan 08, 2008 at 11:26:13AM +1300, Centurion Computer Technology (2005)…
Quoted 2 lines · Robert Millan

That's a mirror of our CVS, right? You mean that you want me to add the debian stuff to CVS, or... ?

Hopefully Pavel can enlighten us on how this relates to CVS. I thought everything was/had moved to git. I assume that if youa dd it to CVS then it will be magically replicated in the git repository

Uhm yes, I suppose so. Well, anyway, I don't think adding the debian directory to official GRUB CVS is a good idea. Debian has its own policies, and there are strong reasons for having the packaging be split from upstream.

Perhaps there's an easier way to archive what you need. For example, you could simply grab the latest debian package, and start working from there. Then you can revision-control your tree with git; this worked well for me (I made a local SVN repository for my own use when working on the LinuxBIOS port).

Quoted 7 lines
Quoted 2 lines

I'm sorry but I'm not familiar with git. I know it supports strange branching stuff but that's about it :-)

For debian there is also cool tools like git-buildpackage which runs the dbuild process straight out of the git tree and git-dch for updating the changelog with the comments out of gits commit logs. Definitely worth a play.

I might have a look when I have some free time. Just not now :-)

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)