Small smart fixes need to go in the Intrepid package
Bug #279343 reported by
Gustavo Niemeyer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
High
|
Unassigned | ||
smart (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A branch is up for review at
lp:~niemeyer/smart/small-fixes
It integrates a few minor fixes which should be integrated in Smart
and in the Landscape release in Intrepid as soon as possible:
- If deb-non-interactive is set, pass --force-confold to dpkg.
- In the logic for ordering conflicts, use UNPACK to detect for
conflict situations that might require an early removal of a
package that is to be installed later, rather than CONFIG.
It also integrates the following test-fixing changes:
- Fix 404 fetcher error wording so that tests work correctly when
pycurl isn't available and urllib is in use.
- Rename test.py to test so that testing doesn't break in
newer Python releases.
Changed in landscape: | |
status: | New → In Progress |
Changed in landscape: | |
milestone: | none → thames |
Changed in landscape: | |
importance: | Undecided → High |
Changed in smart: | |
status: | New → In Progress |
Changed in landscape: | |
status: | In Progress → Fix Committed |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Let's go!
[1] or(config, (upgpkg, REMOVE), OPTIONAL) or(unpack, (upgpkg, REMOVE), OPTIONAL)
- self.addSuccess
+ self.addSuccess
This change looks untested :/. I don't know how hard it would be to trigger it. But it looks like the tests don't even go through this path at all
[2] test.py is referenced in several places in the code: MANIFEST.in, usage of the file itself, and in the locale files.
[3] Some flakes py:1716: 'ftplib' imported but unused
mart/fetcher.py:32: 'string' imported but unused
smart/fetcher.
tests/debpm.py:2: 'copy' imported but unused
tests/debpm.py:12: 'REMOVE' imported but unused
[4] Maybe bug #273605 could be solved here?
Thanks!