guilt/ceder.git
13 years agoGuilt v0.32v0.32
Josef 'Jeff' Sipek [Fri, 16 Jan 2009 19:36:50 +0000 (16 14:36 -0500)]
Guilt v0.32

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoregression: fix path filtering on f10
Eric Sandeen [Tue, 13 Jan 2009 21:31:06 +0000 (13 16:31 -0500)]
regression: fix path filtering on f10

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoGuilt v0.32-rc2v0.32-rc2
Josef 'Jeff' Sipek [Sun, 4 Jan 2009 05:32:29 +0000 (4 00:32 -0500)]
Guilt v0.32-rc2

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt: bug fix: patch names can contained commas
Josef 'Jeff' Sipek [Sun, 4 Jan 2009 05:14:48 +0000 (4 00:14 -0500)]
guilt: bug fix: patch names can contained commas

Fixes bug #47

The comma caused sed to interpret characters after it as a command. E.g.,

jeffpc@maat:~/bin/guilt$ guilt ser -v
  1229742777.15407_2984.josefsipek_2,FS
jeffpc@maat:~/bin/guilt$ guilt push
sed: -e expression #1, char 40: unknown command: `F'

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt: removed cd "$TOP_DIR" in favor of cd_to_toplevel
Josef 'Jeff' Sipek [Sun, 4 Jan 2009 03:44:56 +0000 (3 22:44 -0500)]
guilt: removed cd "$TOP_DIR" in favor of cd_to_toplevel

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoregression: fixed git invocation
Josef 'Jeff' Sipek [Tue, 30 Dec 2008 23:59:21 +0000 (30 18:59 -0500)]
regression: fixed git invocation

The regression suite used 'git-foo' instead of the new 'git foo' syntax. The
actual guilt code used 'git foo' syntax for a while, but the regression
suite got neglected during the conversion.

Closes bug #49

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[PATCH] guilt: add option guilt.diffstat
Wu Fengguang [Sat, 20 Dec 2008 03:58:12 +0000 (19 22:58 -0500)]
[PATCH] guilt: add option guilt.diffstat

Introduce option guilt.diffstat so that we don't have to type
"guilt refresh --diffstat" in its full form every time.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[PATCH] guilt doc: use literal paragraphs for example commands
Wu Fengguang [Sat, 20 Dec 2008 03:58:46 +0000 (19 22:58 -0500)]
[PATCH] guilt doc: use literal paragraphs for example commands

Display example commands verbatim by indenting the paragraphs.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoGuilt v0.32-rc1v0.32-rc1
Josef 'Jeff' Sipek [Sun, 14 Dec 2008 10:01:52 +0000 (14 05:01 -0500)]
Guilt v0.32-rc1

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoMerge branch 'experimental'
Josef 'Jeff' Sipek [Sun, 14 Dec 2008 09:50:37 +0000 (14 04:50 -0500)]
Merge branch 'experimental'

Conflicts:

guilt

13 years agopush: fixed push pushing more than it should
Josef 'Jeff' Sipek [Thu, 2 Oct 2008 01:40:51 +0000 (1 21:40 -0400)]
push: fixed push pushing more than it should

The following commands show what the problem is:

$ guilt series -v
+ foo
= bar
  baz
$ guilt push bar
...
$ guilt series -v
+ foo
+ bar
= baz

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt: anchor three dash divider to EOL.
Paul Gortmaker [Wed, 1 Oct 2008 14:39:00 +0000 (1 10:39 -0400)]
guilt: anchor three dash divider to EOL.

The match on "^---" was too broad, and taking in things like
PGP sigs, and random ascii-art as a match for the divider between
the patch and patch header. This anchors the regex to the end of
the line.  It will still match on the 1st "^---$" encountered,
and not the last, so if you have multiple "^---$", then you loose.

Some patches don't have any sort of header, so you still need a match
on the "^--- " found in the oldfile/newfile stanza of the patch itself.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[GUILT] Use git_editor
Alan Jenkins [Wed, 1 Oct 2008 02:28:53 +0000 (30 22:28 -0400)]
[GUILT] Use git_editor

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt-fold: merge headers of the 2 patchesexperimental
Josef 'Jeff' Sipek [Mon, 15 Sep 2008 17:14:08 +0000 (15 13:14 -0400)]
guilt-fold: merge headers of the 2 patches

fold likes to "lose" the header of the patch being folded. This changes
merges the 2 headers in a really simple way:

* if there are no headers, do nothing
* if there is only one header, use it
* if there are two headers, use the current patch's header, followed by a
  delimiting line, followed by the folded patch's header

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[GUILT PATCH 5/5] Guards test suite
Eric Lesh [Sun, 14 Sep 2008 23:13:05 +0000 (14 19:13 -0400)]
[GUILT PATCH 5/5] Guards test suite

The guards patches touch a lot of guilt, so make sure they don't muck
anything up.

[jeffpc: port to new regression suite]
Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[GUILT PATCH 4/5] get_series: return guarded patches only
Eric Lesh [Sun, 14 Sep 2008 22:09:26 +0000 (14 18:09 -0400)]
[GUILT PATCH 4/5] get_series: return guarded patches only

This renames get_guarded_series to get_series, and introduces
get_full_series for when the full series is needed.  Many guilt
scripts Just Work with that change.  Those that don't are fixed up.

With this patch, guards are respected everywhere in guilt.

Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[GUILT PATCH 3/5] guilt-select: Select guards to apply when pushing patches
Eric Lesh [Sun, 14 Sep 2008 23:05:15 +0000 (14 19:05 -0400)]
[GUILT PATCH 3/5] guilt-select: Select guards to apply when pushing patches

guilt-select chooses guards that alter which patches will be applied
with a guilt-push.  The selected guards are stored in
.git/patches/$branch/guards.

[jeffpc: small tweak of the usage string]
Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[GUILT PATCH 2/5] guilt-guard: Assign guards to patches in series
Eric Lesh [Sun, 14 Sep 2008 23:03:27 +0000 (14 19:03 -0400)]
[GUILT PATCH 2/5] guilt-guard: Assign guards to patches in series

guilt-guard will assign guards to a patch.  They work so that:

    * Patches with no guards are always pushed.

    * Patches with positive guards (i.e. +foo) are pushed *only if* the
      guard is selected.

    * Patches with negative guards (i.e. -foo) are pushed *unless* the
      guard is selected.

This also introduces a number of guard-related utility functions into
guilt.  get_guarded_series is used to get the list of patches that are
applicable given the current guard status.  It replaces get_series in
a later patch.

[jeffpc: small cleanups & bugfixes]
Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[GUILT PATCH 1/5] get_series: Remove comments from end of series lines
Eric Lesh [Sun, 14 Sep 2008 22:53:42 +0000 (14 18:53 -0400)]
[GUILT PATCH 1/5] get_series: Remove comments from end of series lines

Also make sure that series_remove_patch and series_rename_patch do the
right thing if there are comments on the line.

[jeffpc: few tiny bugfixes]
Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoRemove autotagging
Josef 'Jeff' Sipek [Sat, 13 Sep 2008 01:58:08 +0000 (12 21:58 -0400)]
Remove autotagging

NOTE: This is an experimental patch. It may or may not actually get merged.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt: Don't touch working tree when writing commits
Alan Jenkins [Tue, 30 Sep 2008 15:32:59 +0000 (30 11:32 -0400)]
guilt: Don't touch working tree when writing commits

guilt-refresh and guilt-new -f don't affect the content of the working tree.
However the implementation would recreate all the files in the current patch.
This annoys my editor (kate).

[jeffpc: update autotags after guilt-new]
[jeffpc: the commit function must invoke a sub-shell to not polute namespace]
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years ago[PATCH] explicitly set LC_ALL to 'C' in for guilt run-tests
Scott Moser [Tue, 30 Sep 2008 04:36:50 +0000 (30 00:36 -0400)]
[PATCH] explicitly set LC_ALL to 'C' in for guilt run-tests

The output of guilt's run-tests is dependent on LC_COLLATE due to reliance
on a given sorting algorithm. Currently, the test '052' will fail if
LC_ALL/LC_COLLATE/LANG is set to 'en_US.UTF-8' (and likely others values).

Remove the assumption by explicitly setting this in run-tests.

[jeffpc: changed from LANG to LC_ALL & updated description]
Signed-off-by: Scott Moser <smoser@brickies.net>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agodocs: spelling fixes
Josef 'Jeff' Sipek [Tue, 30 Sep 2008 04:29:06 +0000 (30 00:29 -0400)]
docs: spelling fixes

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoContributing: email address fix and subject suggestion
Scott Moser [Tue, 30 Sep 2008 04:18:56 +0000 (30 00:18 -0400)]
Contributing: email address fix and subject suggestion

Signed-off-by: Scott Moser <smoser@brickies.net>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoMerge branch 'master' of ldave2:/home/jeffpc/bin/guilt
Josef 'Jeff' Sipek [Sun, 28 Sep 2008 18:17:33 +0000 (28 14:17 -0400)]
Merge branch 'master' of ldave2:/home/jeffpc/bin/guilt

13 years agopatchbomb: added --git option
Josef 'Jeff' Sipek [Sun, 28 Sep 2008 18:15:07 +0000 (28 14:15 -0400)]
patchbomb: added --git option

This way, one can send relatively terse patches when files are moved/copied.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoMerge branch 'stable'
Josef 'Jeff' Sipek [Sun, 21 Sep 2008 17:54:38 +0000 (21 13:54 -0400)]
Merge branch 'stable'

* stable:
  Guilt v0.31.2
  branch: fix a regression (refs not being copied)

13 years agoGuilt v0.31.2v0.31.2
Josef 'Jeff' Sipek [Sun, 21 Sep 2008 17:51:24 +0000 (21 13:51 -0400)]
Guilt v0.31.2

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agobranch: fix a regression (refs not being copied)
Josef 'Jeff' Sipek [Sun, 21 Sep 2008 17:31:42 +0000 (21 13:31 -0400)]
branch: fix a regression (refs not being copied)

When the status file format changes to not include the hashes of the patch
commits, branch was not updated to copy the refs/patches/$branch/* to
refs/patches/$newbranch/. This meant that after a guilt-branch, guilt got
very unhappy.

Also includes a regression test for guilt-branch.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt: abort if working with a detached head
Josef 'Jeff' Sipek [Tue, 16 Sep 2008 17:01:14 +0000 (16 13:01 -0400)]
guilt: abort if working with a detached head

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoregression: test guilt-new's behavior when index isn't clean
Josef 'Jeff' Sipek [Fri, 12 Sep 2008 15:51:11 +0000 (12 11:51 -0400)]
regression: test guilt-new's behavior when index isn't clean

The working dir may be clean, but the index doesn't have to be. Make sure
guilt-new aborts properly.  This tests the code in the previous commit.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agomust_commit_first needs to check the index, not just the working dir
Josef 'Jeff' Sipek [Fri, 12 Sep 2008 15:49:36 +0000 (12 11:49 -0400)]
must_commit_first needs to check the index, not just the working dir

This fixes a bug, where a number of commands (i.e., new) ignored the
uncommitted changes:

$ echo abc >> def
$ git update-index def
$ guilt new foo # creates a new empty patch, instead of aborting

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoregression: expand t-025 to test guilt-new's -f argument
Josef 'Jeff' Sipek [Thu, 11 Sep 2008 16:17:07 +0000 (11 12:17 -0400)]
regression: expand t-025 to test guilt-new's -f argument

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agodocs: handle `git describe` failing
Josef 'Jeff' Sipek [Tue, 9 Sep 2008 16:24:03 +0000 (9 12:24 -0400)]
docs: handle `git describe` failing

If `git describe` fails, fall back to grabbing the version from
GUILT_VERSION in the guilt file. This allows the docs to be built from the
tarball.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoGuilt v0.31.1v0.31.1
Josef 'Jeff' Sipek [Mon, 8 Sep 2008 15:53:13 +0000 (8 11:53 -0400)]
Guilt v0.31.1

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoGit 1.6.x is fine (not just 1.5.x)
Josef 'Jeff' Sipek [Mon, 8 Sep 2008 15:52:30 +0000 (8 11:52 -0400)]
Git 1.6.x is fine (not just 1.5.x)

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoGuilt v0.31v0.31
Josef 'Jeff' Sipek [Fri, 5 Sep 2008 22:06:00 +0000 (5 18:06 -0400)]
Guilt v0.31

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agopatchbomb: fix bashism
Josef 'Jeff' Sipek [Sun, 24 Aug 2008 12:28:06 +0000 (24 08:28 -0400)]
patchbomb: fix bashism

$RANDOM is a bashism. Use mktemp wrapper to create a temp directory instead.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoDocumentation: add proper 'linkguilt's
Josef 'Jeff' Sipek [Sat, 16 Aug 2008 17:19:06 +0000 (16 13:19 -0400)]
Documentation: add proper 'linkguilt's

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 years agoguilt: Fix git version detection on Debian
Shawn Starr [Fri, 25 Jul 2008 16:52:37 +0000 (25 12:52 -0400)]
guilt: Fix git version detection on Debian

Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoguilt-diff: behave sanely if no patch applied
Alan Jenkins [Thu, 24 Jul 2008 16:18:41 +0000 (24 12:18 -0400)]
guilt-diff: behave sanely if no patch applied

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoguilt-diff: allow paths
Alan Jenkins [Thu, 24 Jul 2008 16:18:32 +0000 (24 12:18 -0400)]
guilt-diff: allow paths

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoBetter "patch does not exist" checks
Alan Jenkins [Thu, 24 Jul 2008 16:18:21 +0000 (24 12:18 -0400)]
Better "patch does not exist" checks

* Add check for guilt-delete
* Improve error message for guilt-fold

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoMake guilt work even after git-sh-setup is moved out of the user's path
Theodore Ts'o [Thu, 24 Jul 2008 16:18:12 +0000 (24 12:18 -0400)]
Make guilt work even after git-sh-setup is moved out of the user's path

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agomust_commit_first: Make sure the index is up to date
Theodore Ts'o [Thu, 24 Jul 2008 16:17:20 +0000 (24 12:17 -0400)]
must_commit_first: Make sure the index is up to date

git diff-files can be confused if the index is not up to date, so make
sure it is updated first.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoregression: fix failure with Git 1.5.5
Eric Sandeen [Thu, 24 Jul 2008 16:17:05 +0000 (24 12:17 -0400)]
regression: fix failure with Git 1.5.5

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoDocumentation: customized the manpage headers to include version info
Jonas Fonseca [Thu, 24 Jul 2008 16:16:53 +0000 (24 12:16 -0400)]
Documentation: customized the manpage headers to include version info

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoDocumentation: improve AsciiDoc formatting of lists in guilt(7)
Jonas Fonseca [Thu, 24 Jul 2008 16:16:42 +0000 (24 12:16 -0400)]
Documentation: improve AsciiDoc formatting of lists in guilt(7)

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
13 years agoDocumentation: rename guiltlink macro to linkguilt
Jonas Fonseca [Thu, 24 Jul 2008 16:16:30 +0000 (24 12:16 -0400)]
Documentation: rename guiltlink macro to linkguilt

Between AsciiDoc 8.2.2 and 8.2.3, the regex for the link: macro was
changed so that it now matches explicit values, and unfortunately in
this case guiltlink was being matched by just 'link', causing the wrong
inline macro template to be applied.

Commit message based on patch by Dan McGee to git.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Shawn Starr <shawn.starr@rogers.com>
14 years agoGuilt v0.30v0.30
Josef 'Jeff' Sipek [Thu, 10 Apr 2008 23:24:06 +0000 (10 19:24 -0400)]
Guilt v0.30

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test that supplied test numbers are valid
Josef 'Jeff' Sipek [Thu, 10 Apr 2008 23:15:14 +0000 (10 19:15 -0400)]
regression: test that supplied test numbers are valid

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test guilt-files -v
Josef 'Jeff' Sipek [Thu, 10 Apr 2008 00:04:37 +0000 (9 20:04 -0400)]
regression: test guilt-files -v

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test guilt-files reading the index for the top-most applied patch
Josef 'Jeff' Sipek [Thu, 10 Apr 2008 00:03:01 +0000 (9 20:03 -0400)]
regression: test guilt-files reading the index for the top-most applied patch

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agofiles: use the diff-index for top-most patch
Josef 'Jeff' Sipek [Wed, 9 Apr 2008 19:32:26 +0000 (9 15:32 -0400)]
files: use the diff-index for top-most patch

This way, added/removed files show up in the listing.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agopatchbomb: do not include "1/1" in the subject if there's only 1 patch
Josef 'Jeff' Sipek [Thu, 3 Apr 2008 22:12:57 +0000 (3 18:12 -0400)]
patchbomb: do not include "1/1" in the subject if there's only 1 patch

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agograph: display patch names instead of hashes
Josef 'Jeff' Sipek [Thu, 3 Apr 2008 22:05:59 +0000 (3 18:05 -0400)]
graph: display patch names instead of hashes

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoimport-commit: replace be careful about * and ? in filenames
Josef 'Jeff' Sipek [Thu, 3 Apr 2008 21:12:11 +0000 (3 17:12 -0400)]
import-commit: replace be careful about * and ? in filenames

The simples solution is to replace them with '-'.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoautotagging: fix a tiny quirk, and document autotagging properly
Josef 'Jeff' Sipek [Thu, 3 Apr 2008 22:48:29 +0000 (3 18:48 -0400)]
autotagging: fix a tiny quirk, and document autotagging properly

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test the new init options
Josef 'Jeff' Sipek [Wed, 2 Apr 2008 22:44:39 +0000 (2 18:44 -0400)]
regression: test the new init options

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoinit: honor a global/system guilt.autotag config option
Josef 'Jeff' Sipek [Wed, 2 Apr 2008 22:42:13 +0000 (2 18:42 -0400)]
init: honor a global/system guilt.autotag config option

If autotag is already set in any of the 3 config files (system, global,
repo), do NOT reset the config variable.  If not set, use a value passed via
the -a or -n options. If no command line options are supplied, use the
default value.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: 011 should test guilt-commit as well
Josef 'Jeff' Sipek [Mon, 31 Mar 2008 20:20:52 +0000 (31 16:20 -0400)]
regression: 011 should test guilt-commit as well

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test for guilt-fork
Josef 'Jeff' Sipek [Mon, 31 Mar 2008 06:58:23 +0000 (31 02:58 -0400)]
regression: test for guilt-fork

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: ref_rename_patch takes patch names, not ref names
Josef 'Jeff' Sipek [Mon, 31 Mar 2008 06:59:09 +0000 (31 02:59 -0400)]
guilt: ref_rename_patch takes patch names, not ref names

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: try to be more portable
Josef 'Jeff' Sipek [Sun, 30 Mar 2008 06:28:32 +0000 (30 02:28 -0400)]
regression: try to be more portable

Mac OS X uses BSD variants of many commands -- the BSD variants tend to be
more picky about options, and syntax. Since OSX is supported by Git, it
makes sense for Guilt to run on it as well.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: simplify command logging
Josef 'Jeff' Sipek [Sun, 30 Mar 2008 06:03:56 +0000 (30 02:03 -0400)]
regression: simplify command logging

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoReplace all display related `echo` calls with a custom function
Josef 'Jeff' Sipek [Sun, 30 Mar 2008 06:05:20 +0000 (30 02:05 -0400)]
Replace all display related `echo` calls with a custom function

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: try to be more portable
Josef 'Jeff' Sipek [Sun, 30 Mar 2008 06:30:40 +0000 (30 02:30 -0400)]
guilt: try to be more portable

Mac OS X uses BSD variants of many commands -- the BSD variants tend to be
more picky about options, and syntax. Since OSX is supported by Git, it
makes sense for Guilt to run on it as well.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agofork: fix regression caused by status format change
Josef 'Jeff' Sipek [Sun, 30 Mar 2008 06:13:21 +0000 (30 02:13 -0400)]
fork: fix regression caused by status format change

The ref needs to be renamed as well in addition to the records in the status
and series files.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: simple makefile
Josef 'Jeff' Sipek [Sun, 30 Mar 2008 05:51:53 +0000 (30 01:51 -0400)]
regression: simple makefile

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoAdd support for DESTDIR in guilt/Makefile.
Adam Golebiowski [Sun, 30 Mar 2008 05:30:43 +0000 (30 01:30 -0400)]
Add support for DESTDIR in guilt/Makefile.

This patch adds support for DESTDIR in guilt/Makefile, making
packagers' life a little bit easier.

Signed-off-by: Adam Golebiowski <adamg@pld-linux.org>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: wrap `git-update-ref -d` to make ref removal cleaner
Josef 'Jeff' Sipek [Fri, 28 Mar 2008 06:55:20 +0000 (28 02:55 -0400)]
guilt: wrap `git-update-ref -d` to make ref removal cleaner

Every time `git-update-ref -d` was run...

1) the expected rev was obtained by running git-rev-parse on the ref being
   removed

2) if the ref did not exist to begin with, ugly errors were being displayed

This commit addresses both of these points.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agorepair: added --autotag repair mode
Josef 'Jeff' Sipek [Fri, 28 Mar 2008 06:35:13 +0000 (28 02:35 -0400)]
repair: added --autotag repair mode

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: replace "echo && return 1" with die
Josef 'Jeff' Sipek [Wed, 26 Mar 2008 23:36:22 +0000 (26 19:36 -0400)]
guilt: replace "echo && return 1" with die

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: check status file for being old format
Josef 'Jeff' Sipek [Wed, 26 Mar 2008 23:33:56 +0000 (26 19:33 -0400)]
guilt: check status file for being old format

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agorepair: allow status file upgrade
Josef 'Jeff' Sipek [Wed, 26 Mar 2008 23:03:33 +0000 (26 19:03 -0400)]
repair: allow status file upgrade

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoUpdate my email address
Josef 'Jeff' Sipek [Tue, 25 Mar 2008 23:24:03 +0000 (25 19:24 -0400)]
Update my email address

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: fix up test 028 expected output
Josef 'Jeff' Sipek [Mon, 24 Mar 2008 21:53:02 +0000 (24 17:53 -0400)]
regression: fix up test 028 expected output

The new status format broke the test.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoMerge branch 'new-status-format'
Josef 'Jeff' Sipek [Mon, 24 Mar 2008 21:42:26 +0000 (24 17:42 -0400)]
Merge branch 'new-status-format'

14 years agoGuilt v0.29v0.29
Josef 'Jeff' Sipek [Wed, 19 Mar 2008 04:38:45 +0000 (19 00:38 -0400)]
Guilt v0.29

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: guilt-commit test
Josef 'Jeff' Sipek [Wed, 19 Mar 2008 04:30:59 +0000 (19 00:30 -0400)]
regression: guilt-commit test

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agocommit: new command to permanently commit patches
Josef 'Jeff' Sipek [Sat, 1 Mar 2008 03:10:22 +0000 (29 22:10 -0500)]
commit: new command to permanently commit patches

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test guilt-repair
Josef 'Jeff' Sipek [Sat, 1 Mar 2008 01:25:38 +0000 (29 20:25 -0500)]
regression: test guilt-repair

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agorepair: remove patch refs
Josef 'Jeff' Sipek [Sat, 1 Mar 2008 01:13:24 +0000 (29 20:13 -0500)]
repair: remove patch refs

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: add tests for guilt-header
Josef 'Jeff' Sipek [Fri, 29 Feb 2008 23:02:42 +0000 (29 18:02 -0500)]
regression: add tests for guilt-header

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoMerge branch 'master' of s390x:bin/guilt
Josef 'Jeff' Sipek [Fri, 29 Feb 2008 22:46:40 +0000 (29 17:46 -0500)]
Merge branch 'master' of s390x:bin/guilt

14 years agoheader: fix patch name existence in the series
Josef 'Jeff' Sipek [Fri, 29 Feb 2008 22:43:10 +0000 (29 17:43 -0500)]
header: fix patch name existence in the series

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoRemove old status format
Josef 'Jeff' Sipek [Mon, 25 Feb 2008 08:14:24 +0000 (25 03:14 -0500)]
Remove old status format

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: setup/teardown refs/patches/$branch/$patch on push/pop
Josef 'Jeff' Sipek [Mon, 25 Feb 2008 06:25:50 +0000 (25 01:25 -0500)]
guilt: setup/teardown refs/patches/$branch/$patch on push/pop

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoPatch names cannot contain whitespace
Josef 'Jeff' Sipek [Mon, 25 Feb 2008 05:49:16 +0000 (25 00:49 -0500)]
Patch names cannot contain whitespace

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoguilt: Use 'git update-ref' instead of echo
Josef 'Jeff' Sipek [Mon, 25 Feb 2008 05:33:48 +0000 (25 00:33 -0500)]
guilt: Use 'git update-ref' instead of echo

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoUse 'git <cmd>' instead of 'git-cmd'
Josef 'Jeff' Sipek [Mon, 25 Feb 2008 04:52:03 +0000 (24 23:52 -0500)]
Use 'git <cmd>' instead of 'git-cmd'

The only remaining user of the dash version is the '. git-sh-setup' line.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoMerge branch 'regression-rewrite'
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:29:22 +0000 (20 18:29 -0500)]
Merge branch 'regression-rewrite'

14 years agopush: output current patch name, not cmd-line argument
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:17:39 +0000 (20 18:17 -0500)]
push: output current patch name, not cmd-line argument

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 027: test refresh code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:12:51 +0000 (20 18:12 -0500)]
regression: test 027: test refresh code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 026: test delete code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:10:29 +0000 (20 18:10 -0500)]
regression: test 026: test delete code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 025: test new code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:08:27 +0000 (20 18:08 -0500)]
regression: test 025: test new code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 024: test unapplied code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:02:57 +0000 (20 18:02 -0500)]
regression: test 024: test unapplied code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 022: test applied code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 23:01:37 +0000 (20 18:01 -0500)]
regression: test 022: test applied code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 060: test files code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 21:50:47 +0000 (20 16:50 -0500)]
regression: test 060: test files code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
14 years agoregression: test 021: test pop code
Josef 'Jeff' Sipek [Sun, 20 Jan 2008 21:50:48 +0000 (20 16:50 -0500)]
regression: test 021: test pop code

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>