Local tarball gets overwritten if there's no extra version information
Bug #1458851 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Low
|
Björn Tillenius |
Bug Description
If you put a local source package tarball in the charm directory which has the same name as the package version, the tarball will be overwritten when the package is built. This causes a rebuild to happen, since the md5sum is now different.
For example, usually we have a tarball that is named like this:
landscape-
And the package version is actually 1.2.3~ubuntu1. If the version in the tarball and the package would ever be the same, the tarball will get overwritten as above.
Related branches
lp:~bjornt/landscape-charm/tests-real-package
- 🤖 Landscape Builder: Approve (test results)
- Fernando Correa Neto (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 303 lines (+103/-20)9 files modifieddev/ubuntu-deps (+2/-1)
lib/apt.py (+4/-3)
lib/callbacks/tests/test_scripts.py (+3/-0)
lib/tests/stubs.py (+50/-1)
lib/tests/test_apt.py (+34/-15)
lib/tests/test_migrate_schema.py (+1/-0)
lib/tests/test_pause.py (+3/-0)
lib/tests/test_resume.py (+3/-0)
lib/tests/test_services.py (+3/-0)
tags: | added: kanban |
tags: | added: upgradable-charm |
Changed in landscape-charm: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Björn Tillenius (bjornt) |
tags: | removed: kanban |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.