chiark / gitweb /
topgit.git
8 years agoOptimize creation of orig.tar.gz a bit
Uwe Kleine-König [Tue, 17 Mar 2009 09:35:04 +0000 (10:35 +0100)]
Optimize creation of orig.tar.gz a bit

Checking out the tag isn't necessary.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agofix typo s/follopwing/following/
Uwe Kleine-König [Tue, 17 Mar 2009 09:25:59 +0000 (10:25 +0100)]
fix typo s/follopwing/following/

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoUpdate Debian policy version (no changes needed)
Uwe Kleine-König [Mon, 16 Mar 2009 07:53:36 +0000 (08:53 +0100)]
Update Debian policy version (no changes needed)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agodocument maintainer and uploader change in debian/changlog
Uwe Kleine-König [Thu, 5 Mar 2009 14:58:35 +0000 (15:58 +0100)]
document maintainer and uploader change in debian/changlog

The actual change was 0a871830e7be1c6a.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agonew upstream release topgit-0.7
Uwe Kleine-König [Thu, 5 Mar 2009 11:10:40 +0000 (12:10 +0100)]
new upstream release topgit-0.7

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoMerge tag 'topgit-0.7' of git://repo.or.cz/topgit
Uwe Kleine-König [Thu, 5 Mar 2009 10:40:25 +0000 (11:40 +0100)]
Merge tag 'topgit-0.7' of git://repo.or.cz/topgit

8 years agobump version number to 0.7
Uwe Kleine-König [Thu, 5 Mar 2009 10:29:07 +0000 (11:29 +0100)]
bump version number to 0.7

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agomake removing quilt patches dir more robust
Uwe Kleine-König [Thu, 5 Mar 2009 09:19:05 +0000 (10:19 +0100)]
make removing quilt patches dir more robust

This way errors only occur if something goes really wrong, so don't feed
to /dev/null and don't ignore non-zero exit status.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: martin f. krafft <madduck@debian.org>
8 years agolimit tg branches to those ready for deployment
martin f. krafft [Thu, 5 Mar 2009 10:02:22 +0000 (11:02 +0100)]
limit tg branches to those ready for deployment

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoswitch back to DH6 compat until we use DH7
martin f. krafft [Thu, 5 Mar 2009 09:52:33 +0000 (10:52 +0100)]
switch back to DH6 compat until we use DH7

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agopoint only to the GPLv2 common-licence
martin f. krafft [Thu, 5 Mar 2009 09:45:52 +0000 (10:45 +0100)]
point only to the GPLv2 common-licence

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoChange maintainer to list and add Uwe as uploader
martin f. krafft [Thu, 5 Mar 2009 09:31:24 +0000 (10:31 +0100)]
Change maintainer to list and add Uwe as uploader

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoUpdate packaging copyright to GPLv2 and include 2009
martin f. krafft [Thu, 5 Mar 2009 09:29:56 +0000 (10:29 +0100)]
Update packaging copyright to GPLv2 and include 2009

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoFix typo s/emmail/email/
Uwe Kleine-König [Tue, 3 Mar 2009 09:31:22 +0000 (10:31 +0100)]
Fix typo s/emmail/email/

This was introduced by a tired coder in d479474440713.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoMerge branch 'upstream' of git.debian.org:/git/collab-maint/topgit
Uwe Kleine-König [Tue, 3 Mar 2009 09:30:10 +0000 (10:30 +0100)]
Merge branch 'upstream' of git.debian.org:/git/collab-maint/topgit

8 years agoAdd documentation for tg export --linearize
Uwe Kleine-König [Tue, 3 Mar 2009 09:01:23 +0000 (10:01 +0100)]
Add documentation for tg export --linearize

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoDon't throw away already started base on resumed create.
Uwe Kleine-König [Sun, 1 Mar 2009 19:55:40 +0000 (20:55 +0100)]
Don't throw away already started base on resumed create.

The problem was that after a failure to create the patch base the
resuming tg create did reset HEAD to the next tree to merge in which is
the right thing for a pristine create.

This addresses Debian Bug #513018 and is based on a patch by the bug
reporter Gábor Braun.  A recipe triggering the bug is part of the report
that can be found at http://bugs.debian.org/513018.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoSuggest git-email package
martin f. krafft [Sun, 1 Mar 2009 17:59:33 +0000 (18:59 +0100)]
Suggest git-email package

Signed-off-by: martin f. krafft <madduck@debian.org>
Conflicts:

debian/changelog
debian/control

8 years agoAlso suggest make.
martin f. krafft [Sun, 1 Mar 2009 15:40:48 +0000 (16:40 +0100)]
Also suggest make.

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agofix the PATCHES_DIR deprecation warning
martin f. krafft [Sun, 1 Mar 2009 11:39:29 +0000 (12:39 +0100)]
fix the PATCHES_DIR deprecation warning

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoDeprecate tg2quilt.mk's $PATCHES_DIR variable
martin f. krafft [Sun, 1 Mar 2009 11:25:59 +0000 (12:25 +0100)]
Deprecate tg2quilt.mk's $PATCHES_DIR variable

put a warning in place to point people to $QUILT_PATCH_DIR instead.

8 years agoSuggest the quilt package
martin f. krafft [Fri, 27 Feb 2009 17:00:30 +0000 (18:00 +0100)]
Suggest the quilt package

8 years ago[TOPGIT] implement linearize export method
Uwe Kleine-König [Thu, 15 Jan 2009 21:45:57 +0000 (22:45 +0100)]
[TOPGIT] implement linearize export method

This is a draft that seems to work for my test case.  The error handling
is to be improved though.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years ago[TOPGIT] make creating a commit from a topgit branch a function
Uwe Kleine-König [Wed, 14 Jan 2009 20:26:18 +0000 (21:26 +0100)]
[TOPGIT] make creating a commit from a topgit branch a function

This helps avoiding code duplication for the next commit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years ago[TOPGIT] make tg remote idempotent
Uwe Kleine-König [Wed, 14 Jan 2009 20:23:51 +0000 (21:23 +0100)]
[TOPGIT] make tg remote idempotent

Before this patch each call to tg remote added three config entries
no matter if they already existed.  After some time my .git/config was
crowded.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years ago[TOPGIT] allow working with annihilated branches
Uwe Kleine-König [Wed, 25 Feb 2009 19:44:11 +0000 (20:44 +0100)]
[TOPGIT] allow working with annihilated branches

If you decide that you want to drop a patch, you can just merge in its
base with strategy "theirs".  Then you have base=topic and so no .top*
files any more.  This patch fixes tg summary and the helper function
recurse_deps() to handle these annihilated branches as if they don't
exist and don't show up in .topdeps files.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years ago[TOPGIT] limit rev-list in branch_contains to a single rev
Uwe Kleine-König [Wed, 25 Feb 2009 10:05:00 +0000 (11:05 +0100)]
[TOPGIT] limit rev-list in branch_contains to a single rev

This eases reading of debug output using sh -x and probably helps
performance, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoFix GPL version in copyright file (closes: #514157).
martin f. krafft [Wed, 4 Feb 2009 19:51:58 +0000 (20:51 +0100)]
Fix GPL version in copyright file (closes: #514157).

8 years agobump version number to 0.6
martin f. krafft [Fri, 23 Jan 2009 05:33:43 +0000 (16:33 +1100)]
bump version number to 0.6

8 years agoput tg version into a variable at the top
martin f. krafft [Fri, 23 Jan 2009 05:33:29 +0000 (16:33 +1100)]
put tg version into a variable at the top

8 years agotg-patch: add support for generating patches against worktree and index
Kirill Smelkov [Wed, 21 Jan 2009 20:18:42 +0000 (23:18 +0300)]
tg-patch: add support for generating patches against worktree and index

This implements `tg patch -i` and `tg patch -w` to see current patch as
generated against not-yet-committed index and worktree.

NOTE: unfortunately `git cat-file blob <file>` does not provide an option
to cat file from worktree (only from an object or from index), so I had to
unroll my own `cat file topic:file` with special support for '(i)' and
'(w)' topics.

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
8 years agotg-patch: fix pagination
Kirill Smelkov [Wed, 21 Jan 2009 20:18:42 +0000 (23:18 +0300)]
tg-patch: fix pagination

Previously, when I was invoking `tg patch` the following used to happen:

1. .topmsg content was sent directly to _terminal_
2. for each file in the patch, its diff was generated with `git diff`
   and sent to *PAGER*
3. trailing 'tg: ...' was sent to terminal again

So the problem is that while `tg patch >file` works as expected, plain
`tg patch` does not -- in pager there is only a part of the whole patch
(first file diff) and header and trailer are ommitted.

I've finally decided to fix this inconvenience, and the way it works is
like in git -- we just hook `setup_pager` function in commands which
need to be paginated.

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
8 years agoImplement setup_pager just like in git
Kirill Smelkov [Wed, 21 Jan 2009 20:18:42 +0000 (23:18 +0300)]
Implement setup_pager just like in git

setup_pager() spawns a pager process and redirect the rest of our output
to it.

This will be needed to fix `tg patch` output in the next commit.

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
8 years agomake tg remote idempotent
Uwe Kleine-König [Wed, 14 Jan 2009 20:23:51 +0000 (21:23 +0100)]
make tg remote idempotent

Before this patch each call to tg remote added three config entries
no matter if they already existed.  After some time my .git/config was
crowded.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8 years agoCheck for git-send-email and die if not found
martin f. krafft [Wed, 21 Jan 2009 03:36:45 +0000 (14:36 +1100)]
Check for git-send-email and die if not found

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg-completion: complete options for `tg remote`
Kirill Smelkov [Mon, 5 Jan 2009 15:08:20 +0000 (18:08 +0300)]
tg-completion: complete options for `tg remote`

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg-completion: complete options for `tg summary`
Kirill Smelkov [Mon, 5 Jan 2009 15:08:19 +0000 (18:08 +0300)]
tg-completion: complete options for `tg summary`

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg export (quilt): Implement numbering the patches
Uwe Kleine-König [Fri, 19 Dec 2008 22:21:48 +0000 (23:21 +0100)]
tg export (quilt): Implement numbering the patches

To ease sending patches, with --numbered each patch gets a number prefix
similar to the output of git format-patch.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg export (quilt): Implement flattening patch paths
Uwe Kleine-König [Fri, 19 Dec 2008 21:40:33 +0000 (22:40 +0100)]
tg export (quilt): Implement flattening patch paths

The result of providing the new flag --flatten is that the exported
patches are all placed directly in the output directory, not in
subdirectories below it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg export (collapse): implement skipping empty patches
Uwe Kleine-König [Fri, 19 Dec 2008 21:18:37 +0000 (22:18 +0100)]
tg export (collapse): implement skipping empty patches

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoNote in tg2quilt.mk's header the need to soft-include the file
martin f. krafft [Tue, 2 Dec 2008 09:52:56 +0000 (10:52 +0100)]
Note in tg2quilt.mk's header the need to soft-include the file

This avoids the build dependency on topgit as debian/rules can be used
just fine without the file present.

Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agoREADME: spelling fixes
Jonas Fonseca [Tue, 2 Dec 2008 07:45:46 +0000 (08:45 +0100)]
README: spelling fixes

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg-summary: -t and --graphviz are mutual exclusive
Bert Wesarg [Wed, 26 Nov 2008 18:39:45 +0000 (19:39 +0100)]
tg-summary: -t and --graphviz are mutual exclusive

The -t and --graphviz don't work together, the output is not what one expect.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: martin f. krafft <madduck@debian.org>
8 years agotg-export: implement skipping empty patches for quilt mode
Uwe Kleine-König [Wed, 26 Nov 2008 12:13:00 +0000 (13:13 +0100)]
tg-export: implement skipping empty patches for quilt mode

addionally fix the README item for skipping the export of empty patches
not to need an option (-n) as this should be the default.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoPass -- to rev-list for branch/filename disambiguation
Marc Weber [Fri, 21 Nov 2008 09:05:30 +0000 (10:05 +0100)]
Pass -- to rev-list for branch/filename disambiguation

While playing around it happened that I called the topic branch and
a file "foo"... Here is a small incomplete patch: I've not tried to
catch all of these errors..

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoAdd Vim modelines for consistent spacing
martin f. krafft [Thu, 20 Nov 2008 14:46:05 +0000 (15:46 +0100)]
Add Vim modelines for consistent spacing

TopGit shell scripts use tabs and this commit instructs Vim via modeline not
to expand tabs.

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@ucw.cz>
9 years agoNote that do_help is used when short messages might be wanted
martin f. krafft [Thu, 20 Nov 2008 14:24:16 +0000 (15:24 +0100)]
Note that do_help is used when short messages might be wanted

From http://marc.info/?l=git&m=122718711327376&w=2, by Petr:

  Note that I think these changes are reasonable only as long as do_help
  is just a short two-line usage help; in the event we also implement a
  longer help, it certainly shouldn't be printed in these cases.

This commit adds a comment to the do_help function to remind us.

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoPrint help message when command is not proper
martin f. krafft [Thu, 20 Nov 2008 14:06:19 +0000 (15:06 +0100)]
Print help message when command is not proper

When invoked with an unknown subcommand, or when --help is sought for
a command that does not exist, TopGit prints the help message.

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
9 years agoRequire an argument to tg -r
martin f. krafft [Thu, 20 Nov 2008 14:04:48 +0000 (15:04 +0100)]
Require an argument to tg -r

Right now, if -r is passed to tg, an ugly shift error occurs. This patch
checks for that case and outputs the help message if it occurs.

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
9 years agoImplement installation of contrib/tg-completion.bash
Uwe Kleine-König [Thu, 20 Nov 2008 09:53:47 +0000 (10:53 +0100)]
Implement installation of contrib/tg-completion.bash

Previously, the bash completion was not installed. This patch fixes
that.

Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoremove duplicate installation dir
martin f. krafft [Thu, 20 Nov 2008 10:58:27 +0000 (11:58 +0100)]
remove duplicate installation dir

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoPrint help output when no command is given
martin f. krafft [Wed, 19 Nov 2008 15:10:23 +0000 (16:10 +0100)]
Print help output when no command is given

As much as I love your message (although you really ought not be
throwing around ducks!), this is more user-friendly.

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
9 years agoCheck for cmddir earlier
martin f. krafft [Wed, 19 Nov 2008 15:08:02 +0000 (16:08 +0100)]
Check for cmddir earlier

Without cmddir, tg is basically useless, even do_help() needs it, so
check it first and die hard if not found

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
9 years agoChange tg help exit code to 0
martin f. krafft [Wed, 19 Nov 2008 15:07:02 +0000 (16:07 +0100)]
Change tg help exit code to 0

Printing --help is not an error, but a successful operation, if the help
output could be printed.

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
9 years agoProvide new tg2quilt target tg-cleanexport to recreate debian/patches.
martin f. krafft [Wed, 19 Nov 2008 16:59:42 +0000 (17:59 +0100)]
Provide new tg2quilt target tg-cleanexport to recreate debian/patches.

9 years agoadd emacs modeline
martin f. krafft [Wed, 19 Nov 2008 16:17:37 +0000 (17:17 +0100)]
add emacs modeline

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agopass --no-print-directory to sub make invocations
martin f. krafft [Wed, 19 Nov 2008 16:13:30 +0000 (17:13 +0100)]
pass --no-print-directory to sub make invocations

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agofix hardcoding of patch dir
martin f. krafft [Wed, 19 Nov 2008 15:57:22 +0000 (16:57 +0100)]
fix hardcoding of patch dir

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agodo not use MAKEFLAGS
martin f. krafft [Wed, 19 Nov 2008 15:57:09 +0000 (16:57 +0100)]
do not use MAKEFLAGS

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agomake __tg-temp-export target phony
martin f. krafft [Wed, 19 Nov 2008 15:55:56 +0000 (16:55 +0100)]
make __tg-temp-export target phony

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoreuse quilt variables
martin f. krafft [Wed, 19 Nov 2008 15:54:56 +0000 (16:54 +0100)]
reuse quilt variables

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoclose README snippet bug too
martin f. krafft [Wed, 19 Nov 2008 14:38:46 +0000 (15:38 +0100)]
close README snippet bug too

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoadd ignore patterns for quilt and debian build
martin f. krafft [Wed, 19 Nov 2008 14:44:15 +0000 (15:44 +0100)]
add ignore patterns for quilt and debian build

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoMake sure gitignore patterns are not recursive
martin f. krafft [Wed, 19 Nov 2008 14:42:47 +0000 (15:42 +0100)]
Make sure gitignore patterns are not recursive

9 years agoupdate since HOWTO is gzipped after install
martin f. krafft [Wed, 19 Nov 2008 14:37:26 +0000 (15:37 +0100)]
update since HOWTO is gzipped after install

9 years agoadd news file
martin f. krafft [Wed, 19 Nov 2008 14:27:30 +0000 (15:27 +0100)]
add news file

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agofactor out standard tg2quilt stuff to its own doc
martin f. krafft [Wed, 19 Nov 2008 14:23:09 +0000 (15:23 +0100)]
factor out standard tg2quilt stuff to its own doc

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agodo not install topgit.mk file
martin f. krafft [Wed, 19 Nov 2008 14:19:26 +0000 (15:19 +0100)]
do not install topgit.mk file

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agorename debhelper files
martin f. krafft [Wed, 19 Nov 2008 14:18:19 +0000 (15:18 +0100)]
rename debhelper files

9 years agoremove +x bit from tg-depend
martin f. krafft [Wed, 19 Nov 2008 14:20:16 +0000 (15:20 +0100)]
remove +x bit from tg-depend

9 years agofix detection of topgit repo
martin f. krafft [Wed, 19 Nov 2008 13:58:10 +0000 (14:58 +0100)]
fix detection of topgit repo

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoprovide tg2quilt to handle most quilt stuff
martin f. krafft [Wed, 19 Nov 2008 13:55:19 +0000 (14:55 +0100)]
provide tg2quilt to handle most quilt stuff

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agofix TG_BRANCHES variable name in README.source
martin f. krafft [Tue, 18 Nov 2008 07:04:33 +0000 (08:04 +0100)]
fix TG_BRANCHES variable name in README.source

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoadd debcheckout support note to README.source
martin f. krafft [Tue, 18 Nov 2008 07:04:19 +0000 (08:04 +0100)]
add debcheckout support note to README.source

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoadd bug numbers to changelog
martin f. krafft [Tue, 18 Nov 2008 06:39:18 +0000 (07:39 +0100)]
add bug numbers to changelog

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoadd a TODO about debian/NEWS for makefile snippet
martin f. krafft [Mon, 17 Nov 2008 22:41:29 +0000 (23:41 +0100)]
add a TODO about debian/NEWS for makefile snippet

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agorecord tg-export factoring in changelog
martin f. krafft [Mon, 17 Nov 2008 22:40:42 +0000 (23:40 +0100)]
record tg-export factoring in changelog

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoupdate workflow to use tg-export debian/rules target
martin f. krafft [Mon, 17 Nov 2008 22:39:16 +0000 (23:39 +0100)]
update workflow to use tg-export debian/rules target

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoinstall topgit make snippet during build
martin f. krafft [Mon, 17 Nov 2008 22:38:48 +0000 (23:38 +0100)]
install topgit make snippet during build

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agofactor out exporting of quilt series to make snippet
martin f. krafft [Mon, 17 Nov 2008 22:24:12 +0000 (23:24 +0100)]
factor out exporting of quilt series to make snippet

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoupdate workflow to make use of tg-export -b
martin f. krafft [Mon, 17 Nov 2008 22:06:17 +0000 (23:06 +0100)]
update workflow to make use of tg-export -b

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoignore tg-depend build files
martin f. krafft [Mon, 17 Nov 2008 21:57:35 +0000 (22:57 +0100)]
ignore tg-depend build files

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agorecord 0.5-1 in changelog, overwriting 0.4-1
martin f. krafft [Mon, 17 Nov 2008 21:48:04 +0000 (22:48 +0100)]
record 0.5-1 in changelog, overwriting 0.4-1

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoMerge commit 'topgit-0.5'
martin f. krafft [Mon, 17 Nov 2008 21:46:55 +0000 (22:46 +0100)]
Merge commit 'topgit-0.5'

9 years agoUpdate version in tg script to 0.5
martin f. krafft [Mon, 17 Nov 2008 21:34:13 +0000 (22:34 +0100)]
Update version in tg script to 0.5

Signed-off-by: martin f. krafft <madduck@debian.org>
9 years agoMake sure $root_dir does not have a trailing slash
Matt McDonald [Fri, 14 Nov 2008 00:15:37 +0000 (19:15 -0500)]
Make sure $root_dir does not have a trailing slash

This adds support for using 'tg create' from within a subdirectory.

Apparently, git doesn't seem a do a good job of normalizing paths.
When topgit tries to add a new .topdeps file in a newly created
branch, git bails out with:

$ tg create new-branch
tg: Automatically marking dependency on old-branch
tg: Creating new-branch base from old-branch...
Switched to a new branch "new-branch"
(here, tg tries to do:  git add ../../..//.topdeps)

fatal: pathspec '/.topdeps' did not match any files

Since $root_dir is used everywhere like: "$root_dir/.topdeps", this
patch tries to make sure that $root_dir never has the trailing slash
so it always produces safe paths.

Signed-off-by: martin f. krafft <madduck@madduck.net>
9 years agoadd todo items to README.source
martin f. krafft [Tue, 11 Nov 2008 10:12:37 +0000 (11:12 +0100)]
add todo items to README.source

9 years agotg depend: Allow adding deps from a subdir inside the repo.
Matt McDonald [Sat, 8 Nov 2008 19:01:02 +0000 (14:01 -0500)]
tg depend: Allow adding deps from a subdir inside the repo.

9 years agotg-export: no current branch check with -b
martin f. krafft [Fri, 26 Sep 2008 19:17:12 +0000 (21:17 +0200)]
tg-export: no current branch check with -b

When --quilt .. -b is given, TopGit dies with

  piper:../pkg/topgit/topgit|build|% tg export --quilt -b debian/locations debian/patches
  tg: fatal: not on a TopGit-controlled branch

which is a little too restrictive as we don't have to be on a tg branch with
-b. This patch simply removes this check if -b has been passed.

Signed-off-by: martin f. krafft <madduck@madduck.net>
9 years agotg-mail: do not use arrays, which are bashisms
martin f. krafft [Fri, 26 Sep 2008 19:04:19 +0000 (21:04 +0200)]
tg-mail: do not use arrays, which are bashisms

tg-mail uses shell arrays for the people array, which are not supported by
POSIX. The script runs as /bin/sh, so it cannot assume non-POSIX features.
This patch reimplements the array population with a POSIX-compliant approach.

Signed-off-by: martin f. krafft <madduck@madduck.net>
9 years agoTopGit: Force adding .topdeps on tg-depend
Antonio Ospite [Tue, 28 Oct 2008 17:54:14 +0000 (18:54 +0100)]
TopGit: Force adding .topdeps on tg-depend

Force adding .topdeps, overcomes the case when .* is in .gitignore

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
9 years agoTopGit: small Makefile nitpichink
Antonio Ospite [Fri, 24 Oct 2008 10:54:24 +0000 (12:54 +0200)]
TopGit: small Makefile nitpichink

Make 'prefix' replacement more explicit using ?=

Use simple substitution assignment := when there are some expansions in
place.  This is a good practice to speed up builds, maybe not particularly
useful with such a simple Makefile.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
9 years agoREADME: tg depend rm TODO (insp. by Jonas)
Petr Baudis [Fri, 7 Nov 2008 21:16:37 +0000 (22:16 +0100)]
README: tg depend rm TODO (insp. by Jonas)

9 years agotg summary --graphviz: Dot-suitable dependency graph
Petr Baudis [Thu, 16 Oct 2008 10:35:16 +0000 (12:35 +0200)]
tg summary --graphviz: Dot-suitable dependency graph

Inspired by Antonio Ospite <ospite@studenti.unina.it>'s tg-graphviz.sh.

9 years agoREADME: lever -> level (spotted by jikos)
Petr Baudis [Thu, 16 Oct 2008 10:10:29 +0000 (12:10 +0200)]
README: lever -> level (spotted by jikos)

9 years agotg export: Clarify usage
Petr Baudis [Fri, 3 Oct 2008 15:23:08 +0000 (17:23 +0200)]
tg export: Clarify usage

9 years agotg mail -r MSGID: Generate In-reply-to header
Petr Baudis [Fri, 3 Oct 2008 15:22:56 +0000 (17:22 +0200)]
tg mail -r MSGID: Generate In-reply-to header

9 years agotg update: Always checkout head, even if we didn't update base further
Petr Baudis [Thu, 2 Oct 2008 11:09:14 +0000 (13:09 +0200)]
tg update: Always checkout head, even if we didn't update base further

9 years agoupdate version in README.source
martin f. krafft [Fri, 26 Sep 2008 18:05:36 +0000 (20:05 +0200)]
update version in README.source

9 years agoupdate merging new upstream
martin f. krafft [Fri, 26 Sep 2008 18:01:27 +0000 (20:01 +0200)]
update merging new upstream