#545794 please provide 'cupt' mode for pbuilder

Package:
pbuilder
Source:
pbuilder
Submitter:
"Eugene V. Lyubimkin"
Date:
2010-01-31 11:27:04 UTC
Severity:
wishlist
#545794#5
Date:
2009-09-09 08:01:23 UTC
From:
To:
I would be glad to have some option in pbuilder to enable 'cupt' mode in
pbuilder, i.e. using cupt for package management. Cupt is a front-end to
dpkg that has some benefits like a possibility to download only binary
package deltas for upgrading (using debdelta(1)).  For pbuilder, it has
the 'satisfy' command, so pbuilder can schedule build dependencies and
conflicts without a dummy package.

#545794#10
Date:
2009-09-27 20:00:56 UTC
From:
To:
Here is the proposed (working for me for '--update' and '--build'
functionality) patch.

#545794#17
Date:
2009-09-30 11:45:56 UTC
From:
To:
Hi,

I've looked through this patch. I have a few questions for you.

Why ?
I think you should fix cupt to accept -y.

I'd rather have cupt wrapper accepting same command-line as apt-get than adding if's here...

I don't generally like this change to 'sh -c' because it will need another layer
of having to care about quoting.

I guess you should fix cupt.

#545794#22
Date:
2009-10-01 08:07:47 UTC
From:
To:
Hi Junichi,

Junichi Uekawa wrote:
Because unless I do that, /usr/lib/pbuilder/pbuilder-checkparams will fail to
recognize '--cupt' param, as it will see only the name of .dsc to build.
Well, I don't have to, however I will. But anyway, what's wrong with current
variant?
Why have I? Extra lines? Cupt is other package manager, and though it has
similar commands and options, but it doesn't need to follow apt-get precisely.
However you have several other places in code with 'sh -c' here and there.
Why? I will probably implement '-y' switch later, but again, I see nothing
wrong in having "echo 'y'", at least in starter patch.

#545794#27
Date:
2009-10-26 10:53:58 UTC
From:
To:
Hi Junichi,

Now I realized right option order for --build, and implemented '-y' in cupt.
The patch became less intrusive.

#545794#32
Date:
2009-11-28 15:49:55 UTC
From:
To:
Hi,

From my perspective, a patch that treats cupt, apt, and aptitude
equally would be more desirable. Rather than '--cupt' I would rather
have '--apt-get=apt-get', or '--apt-get=aptitude', or
'--apt-get=cupt'.

How does that sound?

At Mon, 26 Oct 2009 12:53:58 +0200,
Eugene V. Lyubimkin wrote:

#545794#37
Date:
2009-11-28 16:04:37 UTC
From:
To:
Hi Junichi,

Junichi Uekawa wrote:
Well, '--apt-get=cupt' sounds weird for me. However I'd be fine with something
like '--package-manager=cupt' or like that.

#545794#42
Date:
2009-11-29 10:13:02 UTC
From:
To:
Hi,

At Sat, 28 Nov 2009 18:04:37 +0200,
Eugene V. Lyubimkin wrote:

Sounds good to me.

#545794#47
Date:
2010-01-31 11:24:37 UTC
From:
To:
Hi, I updated a patch to use '--package-manager <pm>' syntax.