/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/propose/propose.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-02-02 15:38:13 UTC
  • mfrom: (7260.1.2 propose-base-url)
  • Revision ID: breezy.the.bot@gmail.com-20190202153813-ohq1qklj2znlut7y
Add .base_url property to Hoster.

Merged from https://code.launchpad.net/~jelmer/brz/propose-base-url/+merge/362565

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
    """A hosting site manager.
160
160
    """
161
161
 
 
162
    # Does this hoster support arbitrary labels being attached to merge
 
163
    # proposals?
162
164
    supports_merge_proposal_labels = None
163
165
 
 
166
    # The base_url that would be visible to users. I.e. https://github.com/
 
167
    # rather than https://api.github.com/
 
168
    base_url = None
 
169
 
164
170
    def publish_derived(self, new_branch, base_branch, name, project=None,
165
171
                        owner=None, revision_id=None, overwrite=False,
166
172
                        allow_lossy=True):