lp:~l3on/ubuntu/precise/piuparts/merge+patch
- Get this branch:
- bzr branch lp:~l3on/ubuntu/precise/piuparts/merge+patch
Branch merges
- Mathieu Trudel-Lapierre: Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 1399 lines (+423/-221)13 files modifiedMakefile (+4/-2)
README.txt (+25/-0)
TODO (+9/-25)
debian/NEWS (+3/-3)
debian/changelog (+101/-45)
debian/patches/add-existing-chroot-option.patch (+84/-0)
debian/patches/series (+1/-0)
piuparts-analyze.py (+4/-2)
piuparts-report.py (+63/-53)
piuparts-slave.py (+7/-7)
piuparts.1.txt (+10/-4)
piuparts.py (+109/-77)
piupartslib/packagesdb.py (+3/-3)
Related bugs
Bug #926730: piuparts: Please add --existing-chroot option | Undecided | Fix Released | |
Bug #926738: Please merge piuparts 0.43 (universe) from Debian testing | Undecided | Fix Released |
Related blueprints
Branch information
- Owner:
- Leo Iannacone
- Status:
- Development
Recent revisions
- 20. By Leo Iannacone
-
* Merge from Debian testing (LP: #926738). Remaining changes:
- In Ubuntu, debfoster tries to remove packages with priority required
even if MaxPriority=required is used. Setting MaxPriority to important
reduces the number of packages to be removed as well as false positives
generated by unwanted package removals. This can be dropped if a
proper fix for debfoster is found.
- piuparts.py:
+ Set default keyring name to ubuntu-archive- keyring. pgp
+ Set default distribution to precise.
* New patch add-existing-chroot- option. patch (LP: #926730):
- add --existing-chroot option to piuparts, it is useful when you use
pbuilder with "--no-targz" option, that creates a chroot within
a directory instead of a ".tar.gz" file.
* piuparts.py:
- Add to self.ignored_patterns: /run/.*
- Unset DISPLAY variable before running commands in the chroot.
- Read possibly remaining buffered output after a command terminated.
- Run apt-cache policy on the packages to be installed.
- Simplify keeping the reference chroot state: move tree info, selections
and diversions into a dict, can be extended easily.
- Fix --*end-meta documentation and actually enable these options.
- Cleanup options and settings.
* piupartslib/packagesdb. py:
- Restrict circular-dependency state to packages on the circle.
* piuparts-master.py:
* piuparts-slave.py:
- Fix chdir in/out of the slave dir to work with relative paths.
* piuparts-report.py:
- Reorder the list of known problem analyses and add a few new ones.
- Correctly split + strip comma-separated lists.
* piuparts-analyze. py:
- Also consider bugs that 'affects' a package.
- Treat bugs without 'found' version as older than anything.
* Makefile: Support version number substitution in piuparts-*.py, too.
* README.txt: Document piuparts.conf settings used by piatti.git scripts.
* piuparts.1.txt: correctly reverse the description of --save-end-meta
and --end-meta.
* piuparts-report.py:
- add support for more static pages and add bug_howto.tpl, explaining how
to file meaningful bugs piuparts-analyse understands. This page also
links to the templates used for bug filing.
* piuparts-slave.py: make status message more useful by including the
section. - 19. By Mahyuddin Susanto
-
* Merge from Debian testing. Remaining changes:
- In Ubuntu, debfoster tries to remove packages with priority required
even if MaxPriority=required is used. Setting MaxPriority to important
reduces the number of packages to be removed as well as false positives
generated by unwanted package removals. This can be dropped if a
proper fix for debfoster is found.
- piuparts.py:
+ Set default keyring name to ubuntu-archive- keyring. pgp
+ Set default distribution to precise. - 17. By Andrew Starr-Bochicchio
-
* Merge from Debian Unstable. Remaining changes:
- In Ubuntu, debfoster tries to remove packages with priority required
even if MaxPriority=required is used. Setting MaxPriority to important
reduces the number of packages to be removed as well as false positives
generated by unwanted package removals. This can be dropped if a
proper fix for debfoster is found.
- piuparts.py: Set default keyring name to ubuntu-archive- keyring. pgp
* piuparts.py: Set default distribution to precise.
* piupartslib/packagesdb. py: Apply patch by Scott Schaefer to also consider
alternative depends: the algorithm used to select the "best" alternative
is:
1) Prefer first alternative in state "essential-required"
2) If no "essential-required" alternatives, prefer first alternative
in state "successfully-tested"
3) Otherwise, prefer first alternative in state
"waiting- to-be-tested" IF NO REMAINING alternatives are in one of the
"unknown/ fail" states
For this two new states have been introduced:
a) "unknown-preferred- alternative" : equivalent of "unknown", this defers
calculation of this package's state, since one or more of its
alternative depends are "unknown" (or
"unknown- preferred- alternative" ), and no alternative is either
"essential- required" or "successfully- tested" . The alternatives will
be re-tested on subsequest pass.
b) "no-dependency-from-alternativ es-exists" : if none of the alternatives
can be found in the archive.
(Closes: #526045)
* piuparts-report.py:
- correct a typo from the patch for #523950.
- make_stats_graph: draw the two new states as well.
- point to source code in git instead of svn.
* piuparts.py:
- use proxy settings either from apt configuration or http_proxy
environment variable, the latter overwriting the former (if present)
- Thanks to Scott Schaefer for the patch. (Closes: #632046)
- new option "--no-install-purge-test" to only do upgrade tests
- Thanks to Andreas Bergmann for the patch (Closes: #588482)
- run dpkg with --force-unsafe-io by default and introduce new option
"--dpkg-noforce- unsafe- io" to disable this feature. (Closes: #633033)
Thanks to Scott once more!
- new option: "--fail-on-broken- symlinks" . Remove option "--warn-symlinks"
as this is the default now.
* piuparts-slave:
- check if chroot-tgz is older than max-tgz-age (defaulting to 30 days)
and recreate it, if it is. Keep backup and put in back in place when
debootstrapping a new chroot-tgz fails. Retry after min-tgz-retry-delay
seconds. Thanks to Scott Schaefer for the patch. (Closes: #632924)
- document new configuration options max-tgz-age and min-tgz-retry-delay
in README.txt.
- fix bug in piuparts-slave which prevented running a single section by
including section name as command-line argument - thanks again to Scott
and see 632924 too.
* debian/control:
- require python >= 2.6.6-3~, get rid of python-support build-depends.
- add X-Python-Version: pseudo-header
* debian/rules: use dh_python2 instead of python-support to build the
package
* Makefile: build for python 2.6 and 2.7 instead of 2.5 and 2.6.
* Source code is now stored in git.
http://anonscm. debian. org/gitweb/ ?p=piuparts/ piuparts. git
git clone git+ssh://git.debian. org/git/ piuparts/ piuparts. git
Thanks to Thomas Koch for setting those up and keeping history!
* The configuration and scripts used on piatti.debian.org have also been
moved to git, the URLs are the same, just s#piuparts#piatti#.
* Add entry about git to NEWS.
* Update Vcs-*-Headers in control to reflect move to git. - 16. By Andrew Starr-Bochicchio
-
* Merge from Debian Unstable. Remaining changes:
- In Ubuntu, debfoster tries to remove packages with priority required
even if MaxPriority=required is used. Setting MaxPriority to important
reduces the number of packages to be removed as well as false positives
generated by unwanted package removals. This can be dropped if a
proper fix for debfoster is found.
- Makefile: added python2.7 support and drop python2.5 support (unsupported)
- piuparts.py:
+ set default keyring name to ubuntu-archive- keyring. pgp
* piuparts.py: set default distribution to oneiric - 15. By Fabrice Coutadeur
-
* Merge from Debian Unstable. Remaining changes:
- In Ubuntu, debfoster tries to remove packages with priority required
even if MaxPriority=required is used. Setting MaxPriority to important
reduces the number of packages to be removed as well as false positives
generated by unwanted package removals. This can be dropped if a
proper fix for debfoster is found.
* Makefile: added python2.7 support and drop python2.5 support (unsupported)
* piuparts.py:
- set default distribution to natty
- set default keyring name to ubuntu-archive- keyring. pgp - 14. By Fabrice Coutadeur
-
Deleted previously wrongly added home/fabrice directory. Thanks Matthieu for
notifying - 13. By Fabrice Coutadeur
-
piuparts.py: added log-level option, to allow the user to choose the log
level, and thus limit the output to info and/or error messages instead of
default debug level. The option values are: error, info, dump and debug.
Also added an info message about successful installation of deb files. - 12. By Mathieu Trudel-Lapierre
-
* Merge from debian testing, remaining changes: (LP: #502651)
- Build for Python 2.6 too, no longer do it for 2.4, unsupported.
- In Ubuntu, debfoster tries to remove packages with priority required
even if MaxPriority=required is used. Setting MaxPriority to important
reduces the number of packages to be removed as well as false positives
generated by unwanted package removals. This can be dropped if a
proper fix for debfoster is found.
- dropped changes:
+ Set default Ubuntu distribution to lucid (applied upstream)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/precise/piuparts