[Pkg-bazaar-commits] r181 ./bzr-builddeb/trunk: Merge some cool stuff like hooks, bd-do, blackbox tests.
James Westby
jw+debian at jameswestby.net
Fri Sep 21 17:42:09 UTC 2007
------------------------------------------------------------
revno: 181
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Fri 2007-09-21 18:42:09 +0100
message:
Merge some cool stuff like hooks, bd-do, blackbox tests.
added:
debian/NEWS
doc/user_manual/hooks.rst
hooks.py
specs/do-command
specs/hooks
tests/blackbox/
tests/blackbox/__init__.py
tests/blackbox/test_builddeb.py
tests/blackbox/test_do.py
tests/test_hooks.py
modified:
README
__init__.py
builder.py
config.py
debian/changelog
doc/user_manual/building.rst
doc/user_manual/configuration.rst
doc/user_manual/export_upstream.rst
doc/user_manual/index.rst
doc/user_manual/merge.rst
doc/user_manual/mode_selector.rst
errors.py
repack_tarball.py
specs/import-dsc
tests/__init__.py
tests/test_builder.py
tests/test_config.py
tests/test_import_dsc.py
tests/test_version.py
------------------------------------------------------------
revno: 178.1.1
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Thu 2007-09-13 22:56:04 +0100
message:
Build the working tree by default.
Make -w the default. This makes it, and --ignore-changes, have no effect.
--revision is now accepted so -r-1 can now be used to get the same behaviour
as before.
Add the start of a blackbox test suite that tests this part a little.
added:
debian/NEWS
tests/blackbox/
tests/blackbox/__init__.py
tests/blackbox/test_builddeb.py
modified:
README
__init__.py
config.py
debian/changelog
doc/user_manual/building.rst
doc/user_manual/configuration.rst
doc/user_manual/merge.rst
errors.py
tests/__init__.py
------------------------------------------------------------
revno: 178.1.2
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 14:06:13 +0100
message:
Enable export-upstream for normal mode packages.
It's not blackbox tested currently, and the tests should perhaps be modified
to test UpstreamExporter itself, and then just have simple tests on
the export upstream builders.
modified:
__init__.py
builder.py
debian/changelog
doc/user_manual/configuration.rst
doc/user_manual/export_upstream.rst
doc/user_manual/mode_selector.rst
tests/test_builder.py
------------------------------------------------------------
revno: 178.1.3
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 14:22:46 +0100
message:
Update the import-dsc with the things that have been implemented.
modified:
specs/import-dsc
------------------------------------------------------------
revno: 178.1.4
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 14:33:40 +0100
message:
Add a spec for the bzr bd-do command I am going to implement.
added:
specs/do-command
------------------------------------------------------------
revno: 178.1.5
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 18:32:44 +0100
message:
Two fixes for export upstream.
Allow export_upstream_revision to be set in the configuration, and also
allow export_upstream to be set in the config for normal mode.
modified:
__init__.py
config.py
------------------------------------------------------------
revno: 178.1.6
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 22:42:06 +0100
message:
Use None instead of [] to revert all files.
modified:
import_dsc.py
merge_upstream.py
------------------------------------------------------------
revno: 178.1.7
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 23:11:56 +0100
message:
Add a bd-do command for running commands in an exported tree.
added:
tests/blackbox/test_do.py
modified:
__init__.py
doc/user_manual/merge.rst
specs/do-command
tests/blackbox/__init__.py
------------------------------------------------------------
revno: 178.1.8
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 23:50:43 +0100
message:
Add the changelog entry for bd-do.
modified:
debian/changelog
------------------------------------------------------------
revno: 178.1.9
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sat 2007-09-15 23:50:58 +0100
message:
Use subprocess for building as it is cleaner and saves on chdirs.
modified:
builder.py
------------------------------------------------------------
revno: 178.1.10
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 17:24:23 +0100
message:
Give some more help to the user about what they should do.
If the default command of $SHELL is used then tell the user that they can
"exit 1" to abort the changes.
Once the copying back has happened then tell the user they may need to add
or remove files.
modified:
__init__.py
------------------------------------------------------------
revno: 178.1.11
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 17:59:59 +0100
message:
Add more help for the bd-do command.
modified:
__init__.py
doc/user_manual/merge.rst
------------------------------------------------------------
revno: 178.1.12
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 18:38:22 +0100
message:
Add the start of a spec for hooks.
added:
specs/hooks
------------------------------------------------------------
revno: 178.1.13
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 18:48:11 +0100
message:
Internal hook execution support.
Hooks are run from the [HOOKS] section of the config files, with the normal
precedence rules.
Undefined hooks are ignored, and failing hooks raise an exception.
There is no policy defined here on the names of hooks, nor where they are
executed, and passed hook name will be looked up, and the working directory
for the hook can also be passed.
added:
hooks.py
tests/test_hooks.py
modified:
config.py
errors.py
tests/__init__.py
------------------------------------------------------------
revno: 178.1.14
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 19:11:30 +0100
message:
Hook up the hooks to the builddeb command.
There are currently 3 hooks, 'pre-export' that is run before the the package
is exported so that the branch/working tree can be modified. However the
tree is grabbed first if -r is specified, which may be suprsing. It is run
with the branch as the cwd.
The next two are 'pre-build' and 'post-build' that are run before and after
the builder, with the exported source as the working directory.
More points could be added, and the other commands may want to hook in to the
hooks, especially bd-do.
There could also be an option to disable hooks, for one run on the command
line, or through the config files, and perhaps an option to enable them, as
discussed in the spec.
modified:
__init__.py
tests/blackbox/test_builddeb.py
------------------------------------------------------------
revno: 178.1.15
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 20:40:35 +0100
message:
Document the hooks.
added:
doc/user_manual/hooks.rst
modified:
doc/user_manual/index.rst
------------------------------------------------------------
revno: 178.1.16
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 20:55:44 +0100
message:
Fix typo. Thanks jelmer.
modified:
config.py
------------------------------------------------------------
revno: 178.1.14.1.1
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: dev
timestamp: Sun 2007-09-16 21:39:21 +0200
message:
Fix typo.
modified:
config.py
------------------------------------------------------------
revno: 178.1.17
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 21:03:15 +0100
message:
Add hook support to the changelog.
modified:
debian/changelog
------------------------------------------------------------
revno: 178.1.18
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Sun 2007-09-16 21:06:53 +0100
message:
Remove the TreeConfig as the bug it was there for is fixed upstream.
modified:
config.py
------------------------------------------------------------
revno: 178.1.19
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Mon 2007-09-17 20:39:24 +0100
message:
Fix bd-do for export upstream case.
Copy and paste error that wasn't covered by the tests. Add a simple test
for export upstream mode and fix it.
Also fix a couple of imports that pyflakes caught (and it caught the bug,
thanks).
modified:
__init__.py
tests/blackbox/test_do.py
------------------------------------------------------------
revno: 178.1.20
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Mon 2007-09-17 20:57:48 +0100
message:
Remove some unused imports. Thanks pyflakes.
modified:
repack_tarball.py
tests/test_import_dsc.py
tests/test_version.py
------------------------------------------------------------
revno: 178.1.21
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Mon 2007-09-17 20:58:17 +0100
message:
Cleanup of the test_builder code.
Firstly pull out the export upstream tests to test UpstreamExporter,
rather than the builders for most tests.
Secondly create a BuilddebTestCase that will grow builddeb specific
methods to remove the duplication that I have started adding.
modified:
tests/__init__.py
tests/test_builder.py
------------------------------------------------------------
revno: 178.1.22
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Mon 2007-09-17 21:46:33 +0100
message:
Support $UPSTREAM_VERSION in the export-upstream-revision config option.
This is substituted with the upstream version the plugin is looking for, so
that it can be used to point to the correct tag.
modified:
__init__.py
config.py
debian/changelog
doc/user_manual/export_upstream.rst
tests/blackbox/test_builddeb.py
tests/test_config.py
-------------- next part --------------
Diff too large for email (2700 lines, the limit is 1000).
More information about the Pkg-bazaar-commits
mailing list