[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maintaining personal backports

On Wed, Jul 22, 2009 at 08:02:09AM -0500, Kumar Appaiah wrote:
> On Wed, Jul 22, 2009 at 09:33:36PM +0900, Osamu Aoki wrote:
> > > > > And Andrei suggested that I use apt-get source. But I still need to
> > > > > determine some file names using the version of the package, for which
> > > > > I need to parse the sources file. I have to think of an elegant way to
> > > > 
> > > > Maybe it's easier to parse the output of 'apt-cache showsrc'.
> > > 
> > > That would help. Thanks again, Andrei.
> > 
> > How about adding deb-src line in chroot pointing to unstable archive?
> > 
> > Then apt-get source "any-binary" will run in chroot to get pertinent 
> I am not sure how this would help, as I run apt-get source outside of
> the chroot, right?

Yes.  My mistake. Time to sleep :-)  My point was apt-get source is smart
enough to figure out source package from binary package name.
> > I think adding some version using "dch" should help reduce version name
> > confusion of build package.  dch is in devscript.
> I was also thinking about an automated dch to increase the version to
> something like ${VER}~mybpo1, or some such thing. I leave it to you to
> suggest some sane method my which this can be achieved.

I usually do "dch" and manually do things only.

If you wish to automte, you should read man page and experiment it.
Reading source for --bpo option may be interesting. 

You may wish to read some packaged commands such as pentium-builder
which may have some trick for bumping version.

Oh reading version policy of bpo is also interesting.

> Thanks for all the help, and I hope people find this useful.

Good luck.


Reply to: