Merge lp:~cjwatson/difftacular/python-packaging into lp:difftacular

Proposed by Colin Watson
Status: Merged
Merged at revision: 14
Proposed branch: lp:~cjwatson/difftacular/python-packaging
Merge into: lp:difftacular
Diff against target: 109 lines (+90/-0)
4 files modified
.bzrignore (+3/-0)
README.rst (+23/-0)
setup.cfg (+43/-0)
setup.py (+21/-0)
To merge this branch: bzr merge lp:~cjwatson/difftacular/python-packaging
Reviewer Review Type Date Requested Status
Jürgen Gmach Approve
Review via email: mp+427995@code.launchpad.net

Commit message

Add a README and some basic Python packaging.

To post a comment you must log in.
Revision history for this message
Jürgen Gmach (jugmac00) :
review: Approve
Revision history for this message
Colin Watson (cjwatson) wrote :

05:22 <jelmer> cjwatson: that MR LGTM

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2022-08-05 23:26:34 +0000
4@@ -0,0 +1,3 @@
5+*.egg-info
6+__pycache__
7+dist/
8
9=== added file 'README.rst'
10--- README.rst 1970-01-01 00:00:00 +0000
11+++ README.rst 2022-08-05 23:26:34 +0000
12@@ -0,0 +1,23 @@
13+difftacular: Extra diff-generation commands for Bazaar
14+======================================================
15+
16+This `Breezy <https://breezy-vcs.org/>`_ plugin adds a few commands that
17+perform variants on the basic ``brz diff`` command.
18+
19+``brz diff-mainline`` performs a diff between the specified revisions,
20+reflecting only changes originated in the mainline: that is, it first
21+applies any merges introduced between the old and new revisions to a
22+temporary copy of the old tree, and then performs a diff between that
23+temporary copy and the new tree. For example, this can be used to see
24+changes introduced while resolving conflicts during a manual merge.
25+
26+``brz diff-ignore-branches`` performs a diff between the specified
27+revisions, but ignoring merges from the specified branches.
28+
29+``brz preview-diff`` performs a preview diff in the style used by Launchpad
30+merge proposals: it shows the diff that would be introduced by merging the
31+tip of the source branch into the target branch. If a prerequisite branch
32+is also given using the ``--prerequisite-branch`` option, then it will merge
33+the tip of the prerequisite branch into a temporary copy of the target
34+branch, and then show the diff that would be introduced by merging the tip
35+of the source branch into that temporary copy.
36
37=== added file 'setup.cfg'
38--- setup.cfg 1970-01-01 00:00:00 +0000
39+++ setup.cfg 2022-08-05 23:26:34 +0000
40@@ -0,0 +1,43 @@
41+# Copyright (C) 2022 Canonical Ltd.
42+#
43+# This program is free software; you can redistribute it and/or modify
44+# it under the terms of the GNU General Public License as published by
45+# the Free Software Foundation; either version 2 of the License, or
46+# (at your option) any later version.
47+#
48+# This program is distributed in the hope that it will be useful,
49+# but WITHOUT ANY WARRANTY; without even the implied warranty of
50+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51+# GNU General Public License for more details.
52+#
53+# You should have received a copy of the GNU General Public License
54+# along with this program; if not, write to the Free Software
55+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
56+
57+[metadata]
58+name = difftacular
59+version = 0.1
60+description = Extra diff-generation commands for Bazaar
61+long_description = file: README.rst
62+long_description_content_type = text/x-rst
63+url = https://launchpad.net/difftacular
64+author = Aaron Bentley
65+maintainer = The Launchpad developers
66+maintainer_email = launchpad-dev@lists.launchpad.net
67+license = GPL-2.0
68+classifiers =
69+ Environment :: Plugins
70+ License :: OSI Approved :: GNU General Public License v2 (GPLv2)
71+ Programming Language :: Python
72+ Programming Language :: Python :: 2
73+ Programming Language :: Python :: 3
74+ Topic :: Software Development :: Version Control
75+
76+[options]
77+package_dir =
78+ breezy.plugins.difftacular=.
79+packages =
80+ breezy.plugins.difftacular
81+ breezy.plugins.difftacular.tests
82+install_requires =
83+ breezy
84
85=== added file 'setup.py'
86--- setup.py 1970-01-01 00:00:00 +0000
87+++ setup.py 2022-08-05 23:26:34 +0000
88@@ -0,0 +1,21 @@
89+#! /usr/bin/python3
90+
91+# Copyright (C) 2022 Canonical Ltd.
92+#
93+# This program is free software; you can redistribute it and/or modify
94+# it under the terms of the GNU General Public License as published by
95+# the Free Software Foundation; either version 2 of the License, or
96+# (at your option) any later version.
97+#
98+# This program is distributed in the hope that it will be useful,
99+# but WITHOUT ANY WARRANTY; without even the implied warranty of
100+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
101+# GNU General Public License for more details.
102+#
103+# You should have received a copy of the GNU General Public License
104+# along with this program; if not, write to the Free Software
105+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
106+
107+from setuptools import setup
108+
109+setup()

Subscribers

People subscribed via source and target branches

to all changes: