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
Dan Streetman
90e8fe81e1
replace ubuntutools.logger with standard python logging
2019-11-25 10:10:06 -05:00
Stefano Rivera
118f95b62e
Port hugadaylist to Python 3
2019-09-04 19:24:44 -03:00
Benjamin Drung
cc7170eccb
Fix all flake8 issues
2017-05-01 00:20:03 +02:00
Stefano Rivera
997fb23b2d
Use Launchpadlib.login_with() directly in scripts.
2011-03-01 00:30:54 +02:00
Michael Bienia
5ef61615ce
Use the new web_link attribute of LP objects instead of our own
...
translate_api_web() function.
2011-02-11 15:33:09 +01:00
Benjamin Drung
b09ddfee2f
Make pylint happier.
2010-12-27 21:54:31 +01:00
Benjamin Drung
f8d3f9f2f5
Wrap all long lines in Python scripts.
2010-12-27 14:21:01 +01:00
Benjamin Drung
a3b5e71547
Add missing spaces to Python scripts.
2010-12-27 14:01:03 +01:00
Benjamin Drung
1943df29eb
Remove all trailing spaces.
2010-12-03 00:06:43 +01:00
Stefano Rivera
e55766b0d9
hugdaylist, manage-credentials, massfile, merge-changelog,
...
ubuntutools/requestsync/common.py: Some pyflakes-induced cleanup.
2010-09-22 11:29:14 +02:00
Daniel Holbach
f84f961805
* hugdaylist, requestsync, doc/requestsync.1:
...
ubuntu-{main,universe}-sponsors → ubuntu-sponsors,
{ubuntu,motu}-release → ubuntu-release.
* ubuntutools/ppaput.py: removed, not necessary any more.
* debian/copyright: removed references to ppaput.
2010-03-15 10:22:35 +01:00
Iain Lane
1973bde3e0
Also modify grab-attachments, hugdaylist, update-maintainer to bail on no creds
2009-11-07 19:34:59 +00:00
Jonathan Davies
88abaa56cf
More module reorganzation.
2009-01-19 22:37:27 +00:00
Jonathan Davies
32f8e2b2bc
* Converted everything else.
2009-01-19 18:10:53 +00:00
Jonathan Davies
59aac908c1
* Moved common.py to ubuntutools/ subdirectory to avoid possible conflicts
...
in Python packaging and fixed all imports as necessary.
2009-01-17 11:23:08 +00:00
Markus Korn
920971eaa7
finished porting hugdaylist from launchpadbugs to launchpadlib
2009-01-05 10:29:14 +01:00
Markus Korn
36f3176225
started to replace launchpadbugs by launchpadlib in hugdaylist
2009-01-02 17:53:31 +01:00
Jonathan Davies
4f99bf5466
* buildd: Added checks for arch-indep packages and packages which have no
...
builds in a release.
* hugdaylist: String improvements.
2008-12-31 22:37:21 +00:00
Jonathan Patrick Davies
e636aff690
* buildd:
...
- Added optparse support for option handling.
- Added support to request the rebuilding of only one architecture.
* hugdaylist: Improved number of bugs option handling.
2008-08-13 22:39:02 +01:00
Siegfried-Angel Gevatter Pujals
d3efcc879f
Remove unneeded AUTHORS and README. Add the GPL header to all scripts.
2008-08-11 20:06:35 +02:00
Jonathan Patrick Davies
45a5d024b3
* hugdaylist: Must remember to remove debugging messages in future...
2008-08-11 10:58:04 +01:00
Jonathan Patrick Davies
684715ff89
* hugdaylist: Improved argument and error handling.
2008-08-11 10:57:19 +01:00
Siegfried-Angel Gevatter Pujals
7d7d4c0ef9
Unify headers.
2008-08-10 23:03:05 +02:00
Jonathan Patrick Davies
dba03d5022
* get-branches: Really add copyright header.
...
* hugdaylist: Remove "either". We use version 3 of the GPL only.
2008-08-10 21:57:25 +01:00
Jonathan Patrick Davies
1c7abae846
* AUTHORS: Updated list.
...
* debian/copyright: Synchronized with above.
* hugdaylist:
- Added short version of GPL to header.
- Rewrote option handling with optparse.
- Filter bugs subscribed to the ubuntu-archive team.
2008-08-10 17:20:13 +01:00
Jonathan Patrick Davies
e3afe4de77
* hugdaylist: Added code to handle exceptions.
2008-08-10 15:49:02 +01:00
Daniel Holbach
a79b16b3cc
* hugdaylist: drop one Ubuntu filter statement.
2008-01-21 10:45:33 +01:00
Daniel Holbach
8468034ed9
* debian/control: bumped python-launchpad-bugs requirement to newest version
...
and made it a Recommends. All scripts in ubuntu-dev-tools using it fail
gracefully if it's not installed.
* hugdaylist:
- make use of text connector.
- commentary in wiki output.
2007-12-05 10:04:59 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
e30595f81d
Error handlign improvements in different scripts.
2007-11-07 20:05:37 +01:00
Daniel Holbach
0699933391
* hugdaylist: only mention 'unassigned bugs'.
2007-10-23 12:18:33 +02:00
Daniel Holbach
a8dd716512
* hugdaylist: apply quick fix to not crash.
2007-09-24 09:50:48 +02:00
Daniel Holbach
d61c07aeec
* hugdaylist: prepare the list more carefully (filter out 'fixed committed'
...
bugs and bugs that have ubuntu-*-sponsors subscribed.
2007-09-24 09:41:17 +02:00
Daniel Holbach
d614cabff7
* revuput: deal with the case of NEW packages.
...
* hugdaylist: added a tool to write Wiki lists of bugs in <buglist url> as
in https://wiki.ubuntu.com/UbuntuBugDay/20070912
2007-09-12 16:27:54 +02:00