Merge lp:~jelmer/brz-debian/setup into lp:brz-debian

Proposed by Jelmer Vernooij
Status: Needs review
Proposed branch: lp:~jelmer/brz-debian/setup
Merge into: lp:brz-debian
Diff against target: 116 lines (+24/-28)
3 files modified
byov.conf (+13/-10)
bzrtools_import.py (+2/-8)
cmds.py (+9/-10)
To merge this branch: bzr merge lp:~jelmer/brz-debian/setup
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+394601@code.launchpad.net

Commit message

Fix byov setup: Install setuptools.

Description of the change

Install setuptools.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

Unmerged revisions

1233. By Jelmer Vernooij

Upgrade to fossa.

1232. By Jelmer Vernooij

Install debmutate.

1231. By Jelmer Vernooij

Install debmutate.

1230. By Jelmer Vernooij

Avoid typing.

1229. By Jelmer Vernooij

Typo.

1228. By Jelmer Vernooij

Install patiencediff.

1227. By Jelmer Vernooij

Install pip.

1226. By Jelmer Vernooij

Install cython.

1225. By Jelmer Vernooij

Build against lp:brz/3.1.

1224. By Jelmer Vernooij

Install older dulwich.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'byov.conf'
2--- byov.conf 2018-10-10 22:35:39 +0000
3+++ byov.conf 2020-11-28 13:33:24 +0000
4@@ -3,19 +3,22 @@
5 # Start with an up to date system by default
6 vm.update = True
7 # External sources dependencies, packages are not recent enough
8-dulwich.clone = (git clone git://jelmer.uk/dulwich ../dulwich.git)
9-dulwich.install = (cd ../dulwich.git && ./setup.py install --user)
10-dulwich3.install = (cd ../dulwich.git && python3 ./setup.py install --user)
11+dulwich.clone = (git clone git://jelmer.uk/dulwich -b 0.19 ../dulwich-0.19.git)
12+dulwich.clone3 = (git clone git://jelmer.uk/dulwich ../dulwich.git)
13+dulwich.install = (cd ../dulwich-0.19.git && ./setup.py install --user)
14+dulwich.install3 = (cd ../dulwich.git && python3 ./setup.py install --user)
15+cython.install = (pip install cython)
16+cython.install3 = (pip3 install cython)
17+patiencediff.install = (pip install patiencediff)
18+patiencediff3.install = (pip3 install patiencediff)
19+debmutate3.install = (pip3 install debmutate)
20
21 [brz-plugin-debian]
22-vm.release = xenial
23-brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, cython, cython3, python-fastimport, python-dulwich
24+vm.release = fossa
25+brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, python-fastimport, python-dulwich, python3-setuptools, python-setuptools, python-pip, python3-pip
26 debian.build_deps = python-debian, python-apt, dpkg-dev, fakeroot, devscripts, patchutils, pristine-tar, quilt, python-lzma, libalgorithm-merge-perl, python-yaml, python-distro-info, python3-distro-info, python3-apt, python3-yaml, python3-debian
27 vm.packages = {brz.build_deps}, {debian.build_deps}, {debian.test_deps}, bzr, python-debian, python-junitxml
28-brz.branch = (bzr branch lp:brz ../brz-trunk)
29+brz.branch = (bzr branch lp:brz/3.1 ../brz-trunk)
30 brz.make = (cd ../brz-trunk && make)
31-byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {brz.branch} && {brz.make})
32-byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (BRZ_PLUGINS_AT=debian@`pwd` BRZ_PLUGIN_PATH=-site:-user python2 ../brz-trunk/brz selftest -v --parallel=fork --subunit2 | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
33-[brz-plugin-debian-py3]
34-byoci.setup.command = ({dulwich.clone} && {dulwich3.install} && {brz.branch} && {brz.make})
35+byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.clone3} && {dulwich.install3} && {cython.install} && {cython.install3} && {patiencediff.install} && {patiencediff3.install} && {debmutate3.install} && {brz.branch} && {brz.make})
36 byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (BRZ_PLUGINS_AT=debian@`pwd` BRZ_PLUGIN_PATH=-site:-user python3 ../brz-trunk/brz selftest -v --parallel=fork --subunit2 | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
37
38=== modified file 'bzrtools_import.py'
39--- bzrtools_import.py 2020-11-21 03:31:58 +0000
40+++ bzrtools_import.py 2020-11-28 13:33:24 +0000
41@@ -5,11 +5,7 @@
42
43 from __future__ import absolute_import
44
45-import errno
46-import os
47 from io import BytesIO
48-import tarfile
49-from typing import BinaryIO, Optional
50
51 from ...upstream_import import (
52 add_implied_parents,
53@@ -36,8 +32,6 @@
54 from ...trace import warning
55 from ...tree import Tree
56 from ...transform import resolve_conflicts
57-from ...transport import get_transport
58-from ...workingtree import WorkingTree
59
60
61 class UnknownType(BzrError):
62@@ -80,7 +74,7 @@
63
64
65 def _get_paths_to_process(
66- archive_file: str, prefix: Optional[str],
67+ archive_file: str, prefix,
68 implied_parents, exclude=None):
69 to_process = set()
70 for member in archive_file.getmembers():
71@@ -106,7 +100,7 @@
72
73 def _import_archive(
74 tree: Tree, archive_file: str, file_ids_from,
75- target_tree: Optional[Tree] = None, exclude=None):
76+ target_tree = None, exclude=None):
77 prefix = common_directory(names_of_files(archive_file))
78 try:
79 transform = tree.transform
80
81=== modified file 'cmds.py'
82--- cmds.py 2020-11-21 03:31:58 +0000
83+++ cmds.py 2020-11-28 13:33:24 +0000
84@@ -26,7 +26,6 @@
85 import os
86 import shutil
87 import tempfile
88-from typing import Optional
89
90 from ... import (
91 urlutils,
92@@ -760,15 +759,15 @@
93 'merge had completed failed. Add the new changelog '
94 'entry yourself, review the merge, and then commit.')
95
96- def run(self, location: Optional[str] = None,
97- upstream_branch: Optional[str] = None,
98- version: Optional[str] = None,
99- distribution: Optional[str] = None, package: Optional[str] = None,
100- directory: str = ".", revision=None, merge_type=None,
101- last_version: Optional[str] = None,
102- force: Optional[bool] = None, snapshot: bool = False,
103- launchpad: bool = False, force_pristine_tar: bool = False,
104- dist_command: Optional[str] = None):
105+ def run(self, location=None,
106+ upstream_branch=None,
107+ version=None,
108+ distribution=None, package=None,
109+ directory=".", revision=None, merge_type=None,
110+ last_version=None,
111+ force=None, snapshot=False,
112+ launchpad=False, force_pristine_tar=False,
113+ dist_command=None):
114 from debian.changelog import Version
115
116 from .hooks import run_hook

Subscribers

People subscribed via source and target branches

to all changes: