Dan Streetman
7d278cde21
ubuntu-build: use correct exception from LP login failure
2022-08-09 12:15:09 -04:00
Dan Streetman
ad402231db
ubuntu-build: explicitly login to LP
...
LP: #1984113
2022-08-09 12:14:56 -04:00
Dan Streetman
0eeb93ee0c
logging: update ubuntutools.getLogger() to output to stdout/stderr correctly
...
Python logging by default sends all output to stderr, but that's not what
normal programs usually do and is not expected for these scripts.
Change the ubuntutools.getLogger() method to return a logger with handlers
correctly set up to send INFO level (or lower) logs to stdout and WARNING
level (or higher; technically INFO+1 level or higher) logs to stderr.
This results in normally logged output going to stdout and warnings/errors
going to stderr, as expected.
2021-02-02 06:25:12 -05:00
Mattia Rizzolo
0aa7280f94
ubuntu-build: add support for riscv64.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-04-29 00:12:24 +02:00
Dan Streetman
90e8fe81e1
replace ubuntutools.logger with standard python logging
2019-11-25 10:10:06 -05:00
Stefano Rivera
6c375255c4
Port ubuntu-build to Python 3
2019-09-04 19:24:44 -03:00
Iain Lane
4471193d9c
ubuntu-build: Pass the pocket through to the archive permission check
...
So that we can retry builds in releases where the release pocket is frozen -
for example so that backporters can retry backports builds.
2017-05-30 10:12:56 +01:00
Benjamin Drung
cc7170eccb
Fix all flake8 issues
2017-05-01 00:20:03 +02:00
Colin Watson
f232d121d2
pbuilder-dist, ubuntu-build: Add s390x.
2016-07-16 10:55:28 +01:00
Dimitri John Ledkov
1ecf020703
* Add ppc64el to valid architectures in pbuilder-dist and ubuntu-build.
...
* Simplify mirror detection in mk-sbuild, all supported releases, all
architectures but i386/amd64 are on ports.ubuntu.com
2013-12-20 15:03:55 +00:00
Dmitrijs Ledkovs
06874a8bad
add arm64 knowledge to mk-sbuild, ubuntu-build, pbuilder-dist.
2013-10-13 21:54:31 +01:00
Stefano Rivera
8faeb46334
ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott
...
Kitterman(LP: #1088010 )
2012-12-12 17:25:20 +02:00
Stefano Rivera
fc9ddd974e
mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf.
2011-11-29 11:42:40 +02:00
Benjamin Drung
2ba510bb89
Fix invalid name pylint report.
2010-12-27 22:33:01 +01:00
Benjamin Drung
53c5d801f8
ubuntu-build: Make pylint happier.
2010-12-27 19:55:48 +01:00
Stefano Rivera
9fa9f3eb96
Whitespace and style cleanups
2010-12-23 00:01:39 +02:00
Stefano Rivera
d0ed0d83cc
Broke ubuntu-build in lat commit. Add missing indent
2010-12-22 23:06:03 +02:00
Stefano Rivera
f01beda01c
Convert last Python code from mixed tabs and spaces to spaces
2010-12-22 23:04:29 +02:00
Benjamin Drung
1943df29eb
Remove all trailing spaces.
2010-12-03 00:06:43 +01:00
Michael Bienia
cc8ec956b0
Factor our the spliting of the release name and the pocket name into its
...
own function.
2010-03-20 19:45:04 +01:00
Michael Bienia
f77f947359
ubuntu-build: missed updating a function call.
2010-03-08 18:08:06 +01:00
Michael Bienia
f5c6695e13
ubuntutools/lp/lpapicache.py:
...
* Make PersonTeam.getMe() a class property (PersonTeam.me).
ubuntutools/requestsync/lp.py, ubuntu-build:
* Update for the above mentioned change.
2010-02-20 18:13:15 +01:00
Michael Bienia
0dfe4b4731
ubuntutools/lp/lpapicache.py:
...
* PersonTeam.canUploadPackage() can now also check package sets for upload
permissions. This requires now to also pass the distroseries as package sets
are per distroseries.
* Drop PersonTeam.isPerPackageUploader() as it's also handled by canUploadPackage()
ubuntu-build: Update for the PersonTeam.canUploadChange().
ubuntutools/requestsync/{lp,mail}.py:
* needSponsorship() now also expects a release name because of the above mentioned
change to PersonTeam.canUploadPackage().
requestsync: Update for needSponsorship() change.
2010-02-20 15:48:48 +01:00
Michael Bienia
dc5c649441
Rename buildd to ubuntu-build to resolve filename conflict ( Closes : #558816 )
2009-11-30 23:01:47 +01:00