[Feature request] apt-like prevu commands and a hint

Bug #86071 reported by ViktorNagy
4
Affects Status Importance Assigned to Milestone
Prevu
Confirmed
Undecided
Unassigned

Bug Description

I think that it would be easier to use prevu with the following command structure

prevu install <packagename>
prevu update -> prevu-update
prevu clean -> clean the prevu src and builds directories
prevu clean-all -> clean prevu/src, builds and pbuilder/aptcache
prevu clean-deb -> clean prevu/deb

The main reason is that everyone is used to apt-get.

An other small idea is to give a hint if there are unresolved dependencies, like
"It can happen that first you have to prevu some other packages, and don't use to forget to run prevu update before prevuing again <packagename>."

Revision history for this message
John Dong (jdong) wrote :

That would be a great idea to unify all prevu commands into a single command. However, doing so requires prevu to have a mechanism for parsing arguments.

If anyone is willing to provide a branch/patch to do that, I'd be happy to look at it :)

Changed in prevu:
status: Unconfirmed → Confirmed
Revision history for this message
RealMurphy (carsten-welcomes-you) wrote :

Hi,

I guess python has a module behaving like Perl's Getopt::Long where you can automatically let it parse the options. I don't know if the getopt.py class provides the means you will need for that. Sorry, I have yet to learn Python, still being a Perl devotee ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.