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
=== modified file 'byov.conf'
--- byov.conf 2018-10-10 22:35:39 +0000
+++ byov.conf 2020-11-28 13:33:24 +0000
@@ -3,19 +3,22 @@
3# Start with an up to date system by default3# Start with an up to date system by default
4vm.update = True4vm.update = True
5# External sources dependencies, packages are not recent enough5# External sources dependencies, packages are not recent enough
6dulwich.clone = (git clone git://jelmer.uk/dulwich ../dulwich.git)6dulwich.clone = (git clone git://jelmer.uk/dulwich -b 0.19 ../dulwich-0.19.git)
7dulwich.install = (cd ../dulwich.git && ./setup.py install --user)7dulwich.clone3 = (git clone git://jelmer.uk/dulwich ../dulwich.git)
8dulwich3.install = (cd ../dulwich.git && python3 ./setup.py install --user)8dulwich.install = (cd ../dulwich-0.19.git && ./setup.py install --user)
9dulwich.install3 = (cd ../dulwich.git && python3 ./setup.py install --user)
10cython.install = (pip install cython)
11cython.install3 = (pip3 install cython)
12patiencediff.install = (pip install patiencediff)
13patiencediff3.install = (pip3 install patiencediff)
14debmutate3.install = (pip3 install debmutate)
915
10[brz-plugin-debian]16[brz-plugin-debian]
11vm.release = xenial17vm.release = fossa
12brz.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-dulwich18brz.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
13debian.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-debian19debian.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
14vm.packages = {brz.build_deps}, {debian.build_deps}, {debian.test_deps}, bzr, python-debian, python-junitxml20vm.packages = {brz.build_deps}, {debian.build_deps}, {debian.test_deps}, bzr, python-debian, python-junitxml
15brz.branch = (bzr branch lp:brz ../brz-trunk)21brz.branch = (bzr branch lp:brz/3.1 ../brz-trunk)
16brz.make = (cd ../brz-trunk && make)22brz.make = (cd ../brz-trunk && make)
17byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {brz.branch} && {brz.make})23byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.clone3} && {dulwich.install3} && {cython.install} && {cython.install3} && {patiencediff.install} && {patiencediff3.install} && {debmutate3.install} && {brz.branch} && {brz.make})
18byoci.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)"
19[brz-plugin-debian-py3]
20byoci.setup.command = ({dulwich.clone} && {dulwich3.install} && {brz.branch} && {brz.make})
21byoci.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)"24byoci.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)"
2225
=== modified file 'bzrtools_import.py'
--- bzrtools_import.py 2020-11-21 03:31:58 +0000
+++ bzrtools_import.py 2020-11-28 13:33:24 +0000
@@ -5,11 +5,7 @@
55
6from __future__ import absolute_import6from __future__ import absolute_import
77
8import errno
9import os
10from io import BytesIO8from io import BytesIO
11import tarfile
12from typing import BinaryIO, Optional
139
14from ...upstream_import import (10from ...upstream_import import (
15 add_implied_parents,11 add_implied_parents,
@@ -36,8 +32,6 @@
36from ...trace import warning32from ...trace import warning
37from ...tree import Tree33from ...tree import Tree
38from ...transform import resolve_conflicts34from ...transform import resolve_conflicts
39from ...transport import get_transport
40from ...workingtree import WorkingTree
4135
4236
43class UnknownType(BzrError):37class UnknownType(BzrError):
@@ -80,7 +74,7 @@
8074
8175
82def _get_paths_to_process(76def _get_paths_to_process(
83 archive_file: str, prefix: Optional[str],77 archive_file: str, prefix,
84 implied_parents, exclude=None):78 implied_parents, exclude=None):
85 to_process = set()79 to_process = set()
86 for member in archive_file.getmembers():80 for member in archive_file.getmembers():
@@ -106,7 +100,7 @@
106100
107def _import_archive(101def _import_archive(
108 tree: Tree, archive_file: str, file_ids_from,102 tree: Tree, archive_file: str, file_ids_from,
109 target_tree: Optional[Tree] = None, exclude=None):103 target_tree = None, exclude=None):
110 prefix = common_directory(names_of_files(archive_file))104 prefix = common_directory(names_of_files(archive_file))
111 try:105 try:
112 transform = tree.transform106 transform = tree.transform
113107
=== modified file 'cmds.py'
--- cmds.py 2020-11-21 03:31:58 +0000
+++ cmds.py 2020-11-28 13:33:24 +0000
@@ -26,7 +26,6 @@
26import os26import os
27import shutil27import shutil
28import tempfile28import tempfile
29from typing import Optional
3029
31from ... import (30from ... import (
32 urlutils,31 urlutils,
@@ -760,15 +759,15 @@
760 'merge had completed failed. Add the new changelog '759 'merge had completed failed. Add the new changelog '
761 'entry yourself, review the merge, and then commit.')760 'entry yourself, review the merge, and then commit.')
762761
763 def run(self, location: Optional[str] = None,762 def run(self, location=None,
764 upstream_branch: Optional[str] = None,763 upstream_branch=None,
765 version: Optional[str] = None,764 version=None,
766 distribution: Optional[str] = None, package: Optional[str] = None,765 distribution=None, package=None,
767 directory: str = ".", revision=None, merge_type=None,766 directory=".", revision=None, merge_type=None,
768 last_version: Optional[str] = None,767 last_version=None,
769 force: Optional[bool] = None, snapshot: bool = False,768 force=None, snapshot=False,
770 launchpad: bool = False, force_pristine_tar: bool = False,769 launchpad=False, force_pristine_tar=False,
771 dist_command: Optional[str] = None):770 dist_command=None):
772 from debian.changelog import Version771 from debian.changelog import Version
773772
774 from .hooks import run_hook773 from .hooks import run_hook

Subscribers

People subscribed via source and target branches

to all changes: