add-apt-repository: confirmation question is a CLI UI regression, breaking scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Oneiric |
Fix Released
|
Medium
|
Bartosz Kosiorek |
Bug Description
TEST CASE:
1. run: sudo add-apt-repository ppa:mvo
2. verify that it prompts
3. install software-properties from oneiric-proposed
4. run: sudo FORCE_ADD_
5. verify that it does *not* prompt
The addition in oneiric of a confirmation question as the default behavior for add-apt-repository is a change in behavior which breaks all scripts that were using add-apt-repository and most every code snippet on the web which explains how to install software from a PPA. (the instructions still work in sequence, but if someone wants to just highlight three lines which add the repo, run update, and then install the package, the second two get eaten by the prompt) Additionally, although there is a new -y option which enables the old behavior, this option did not exist in pre-oneiric, it becomes quite klunky to write system automation scripts which work across releases.
It seems that this causes many more problems than it solves, imho.
summary: |
- Confirmation question is a UI regression breaking scripts + add-apt-repository: confirmation question is a CLI UI regression, + breaking scripts |
Changed in software-properties (Ubuntu): | |
status: | New → In Progress |
Changed in software-properties (Ubuntu Oneiric): | |
status: | New → In Progress |
description: | updated |
Changed in software-properties (Ubuntu): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Hello Monty, or anyone else affected,
Accepted software-properties into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you in advance!