755 Commits

Author SHA1 Message Date
Iain Lane
d9dd366665 * requestsync:
- Guard some calls when -n is specified
  - Fetch changelog of specified version, not current version. If an
    experimenal upload happened after the unstable one we're syncing, this
    is considered to be current by p.d.o and we would get those changelog
    entries in the sync request
  - Remove trailing fullstop from sync bug title
2009-08-17 12:02:35 +01:00
Siegfried-Angel Gevatter Pujals
9842049f21 Change pbuilder-dist header to mention cowbuilder in addition to pbuilder. 2009-08-16 00:20:27 +02:00
Siegfried-Angel Gevatter Pujals
1028885576 If there's a "etc/<distro>/apt.conf" file inside the build result
directory, pass it to pbuilder as --aptconfdir. Thanks to Paul Novotny
and Ryan Pavlik (LP: #363043).
2009-08-16 00:18:24 +02:00
Siegfried-Angel Gevatter Pujals
5069952a4a * pbuilder-dist:
- Expand "~" in PBUILDFOLDER to the user's home directory.
2009-08-16 00:12:37 +02:00
Iain Lane
e54ee2d25a Attempt to fix sponsorship detection for new source packages 2009-08-09 15:06:56 +01:00
Michael Bienia
087fac7ede requestsync: Fix call of isLpTeamMember()
Merge changes from my devel branch:
 - rename lpapiwrapper.py to lpapicache.py to match more to its function
 - remove unneeded imports from ubuntutools/common.py
2009-08-09 13:24:30 +02:00
Michael Bienia
17c36f9107 requestsync: Call isLpTeamMember() from the correct object 2009-08-09 13:20:13 +02:00
Michael Bienia
c060c48ec8 Merge with trunk. 2009-08-09 13:03:00 +02:00
Iain Lane
39594f64e0 * requestsync: Guard some calls when -n is specified
* suspicious-source: Add *.hs *.el *.css to whitelist
2009-08-08 16:03:28 +01:00
Michael Bienia
3e71ff7ab7 ubuntutools/common.py: remove unneeded imports 2009-08-07 13:10:22 +02:00
Michael Bienia
8a29c11904 lpapicache.py: add DistributionSourcePackage 2009-08-06 16:23:38 +02:00
Michael Bienia
0db2c71998 lpapicache.py: Rename the SourcePackage class to SourcePackagePublishingHistory
which it really is and to make room once a class for the real source_package is
needed.
2009-08-06 16:16:17 +02:00
Michael Bienia
54e9563e92 Replace LpApiWrapper.getUbuntuSourcePackage() with
Distribution('ubuntu').getArchive().getSourcePackage()
2009-08-04 15:53:49 +02:00
Michael Bienia
a49e4f6d43 Replace LpApiWrapper.getUbuntuDistribution() with Distribution('ubuntu') 2009-08-04 15:49:24 +02:00
Michael Bienia
74e55c2166 Rename lpapiwrapper.py to lpapicache.py as it describes its function better 2009-08-04 15:40:41 +02:00
Michael Bienia
b3b816515e lpapiwrapper.py: Move getMe() from LpApiWrapper to PersonTeam 2009-08-04 15:32:39 +02:00
Michael Bienia
97bed31aa1 Add an entry to debian/changelog. 2009-07-29 23:16:13 +02:00
Michael Bienia
52f9b37eaa - buildd: add a --batch mode for batch retrying/rescoring of packages
- lpapiwrapper.py: add the needed methods and classes for this
- udtexceptions.py: rename PocketDoesNotExist to PocketDoesNotExistException
  to be in line with the naming of the other exceptions
2009-07-29 23:07:22 +02:00
Michael Bienia
f46bca3f23 buildd: add a --batch mode for batch retrying/rescoring of packages 2009-07-29 23:03:01 +02:00
Michael Bienia
c1a9323035 buildd: Rename --v2 to --batch 2009-07-29 22:59:26 +02:00
Michael Bienia
a30e797e8c buildd: some cleanup 2009-07-29 16:20:58 +02:00
Michael Bienia
20157940ae buildd: make the -a option not break in v2 mode 2009-07-29 16:13:24 +02:00
Michael Bienia
6c5a9971fe buildd: Add v2 mode 2009-07-29 16:02:58 +02:00
Michael Bienia
4f97f5ba15 buildd: Create a base to add code for the new v2 mode 2009-07-29 14:49:06 +02:00
Michael Bienia
cdb1292963 - lpapiwrapper.py: fix typos
- buildd: add options for the new mode (v2)
2009-07-25 17:03:14 +02:00
Michael Bienia
b96c73ba64 * Merge from by devel branch. 2009-07-25 16:00:26 +02:00
Michael Bienia
f3e8c0ee84 lpapiwrapper.py: Added methods needed for buildd. 2009-07-25 16:00:01 +02:00
Michael Bienia
ce84101f73 lpapiwrapper.py: Let PersonTeam.__str__() return a unicode string. 2009-07-25 14:04:25 +02:00
Michael Bienia
3fb1ca0b7c lpapiwrapper.py:
- Move LpApiWrapper.canUploadPackage() and LpApiWrapper.isPerPackageUploader()
  to PersonTeam. Leave stubs for now in LpApiWrapper.
2009-07-24 16:52:18 +02:00
Michael Bienia
2c8ac5fb5b * Merge with trunk. 2009-07-24 09:42:35 +02:00
Sarah Hobbs
76455d8933 Fix typo in buildd so specifiying arches works again 2009-07-24 17:37:06 +10:00
Michael Bienia
558b589715 * Merge with trunk. 2009-07-24 09:23:40 +02:00
Michael Bienia
27cccf9a70 * Drop python-launchpad-bugs from Depends.
It's still referenced in ubuntutools/ppaput.py but this module isn't used
  by anything and should be updated to use the LP API.
2009-07-24 09:21:19 +02:00
Michael Bienia
3bcda69839 * udtexceptions.py
- Rename PocketDoesNotExist to PocketDoesNotExistException to be in line with
    the naming of the other exceptions.
2009-07-23 14:21:42 +02:00
Michael Bienia
d062a2f8a6 * lpapiwrapper.py:
- Rename Distribution.getMainArchive() to getArchive() and let it also fetch
    other archives besides the main one.
* udtexceptions.py:
  - Add ArchiveNotFoundException
2009-07-23 14:19:21 +02:00
Michael Bienia
ddab40c44f * lpapiwrapper.py:
- Move getUbuntuSourcePackage() from LpApiWrapper to the Archive class
    and rename it to getSourcePackage().
  - Leave LpApiWrapper.getUbuntuSourcePackage() as a shortcut for now.
2009-07-23 13:36:05 +02:00
Michael Bienia
ffd08de377 * Merge with trunk on LP. 2009-07-22 14:29:23 +02:00
Michael Bienia
a178201eea * lpapiwrapper.py:
Add a Archive wrapper class.
2009-07-22 14:26:27 +02:00
Michael Bienia
fcf86d2ad2 * lpapiwrapper.py:
Move getUbuntu{Development,}Series from LpApiWrapper to Distribution
  and rename it to get{Development,}Series
* pull-lp-source, requestsync:
  Updated for the above mention change.
2009-07-22 13:43:53 +02:00
Michael Bienia
30915541e4 * lpapiwrapper.py:
- Move getUbuntuArchive() from LpApiWrapper to Distribution and rename it to
    getMainArchive()
2009-07-22 12:23:36 +02:00
Michael Bienia
046798d12b * lpapiwrapper.py:
Move isLpTeamMember from LpApiWrapper to PersonTeam where it belongs
2009-07-22 12:04:14 +02:00
Michael Bienia
d63b782aec * lpapiwrapper.py:
- Add a check for cached LP API URLs instead of blindly fetching it
2009-07-22 11:54:31 +02:00
Michael Bienia
adf3557967 * lpapiwrapper.py:
- Update some doc strings
  - Update PersonTeam to the new BaseWrapper
2009-07-22 11:47:22 +02:00
Michael Bienia
f0ca5053fe * lpapiwrapper.py:
- Rewrite BaseWrapper.__new__() again to make it more generic
  - Add a Distribution wrapper class
2009-07-22 11:27:28 +02:00
Nicolas Valcarcel Scerpella
480bbc9278 * mk-sbuild-lv:
- Add check for built-in dm_snapshot (LP: #398414)
2009-07-20 15:08:19 -05:00
Michael Bienia
884024ddd8 * lpapiwrapper.py:
- Rename _PersonTeam to PersonTeam and make it a sub-class of BaseWrapper.
2009-07-19 16:17:02 +02:00
Michael Bienia
974deb0a9a * lpapiwrapper.py:
- Rename _SourcePackage to SourcePackage and make it a sub-class of BaseWrapper
2009-07-19 15:59:43 +02:00
Michael Bienia
682d7be285 * lpapiwrapper.py:
- Replace _UbuntuSeries with DistroSeries
2009-07-19 15:49:14 +02:00
Michael Bienia
c397ad9f7b * lpapiwrapper.py:
- add a base class for all wrapper classes
  - add a wrapper class for "distro_series"
2009-07-19 15:40:07 +02:00
Loïc Minier
509360d40d Document target dist as optional in the help output 2009-07-16 00:02:41 +02:00