Bug#987884: ITP: git-autofixup -- Automatically fixup commits with related changes

2021-05-01 Thread Daniel Gröber
Hi Andrej,

Thanks for your quick response!

On Sat, May 01, 2021 at 07:39:22PM +0200, Andrej Shadura wrote:
> On Sat, 1 May 2021, at 14:48, Daniel Gröber wrote:
> > git-autofixup creates fixup commits from changes in the worktree. This
> > can save the tedious work of amending fixes into the appropriate
> > commits during codereview.
> > 
> > Changes to consider are parsed out of git-diff(1) and git-blame(1) is
> > used to assign hunks to commits since the revision given on the
> > commandline, which will typically represent a topic branch. Then it
> > creates fixup commits to be used with git rebase --autosquash.
> > 
> > - There is another program called git-absorb which performs
> >   essentially the same function as git-autofixup but is written in Rust
> >   instead of Perl. Since Perl is much easier to package in Debian I went
> >   for the latter ;)
> 
> Well, OTOH git-absorb already *is* in Debian :)

Could have fooled me, since the RFP is still open, haha. Guess I should
have checked in sid too :)

Another upside of the Perl implentation though: backporting to buster is
downright trivial. Though I guess with the bullseye release around the
corner that's not quite so important now.

> > - I plan to maintain this package myself, though I am looking for a
> >   sponsor.
> 
> I can probably sponsor it. Or you can ask in pkg-perl (cc'ed).

That'd be awesome, I'd be happy to put it under pkg-perl team-maintanance
as well though.

--Daniel



Bug#987884: ITP: git-autofixup -- Automatically fixup commits with related changes

2021-05-01 Thread Andrej Shadura
Hi,

On Sat, 1 May 2021, at 14:48, Daniel Gröber wrote:
> git-autofixup creates fixup commits from changes in the worktree. This
> can save the tedious work of amending fixes into the appropriate
> commits during codereview.
> 
> Changes to consider are parsed out of git-diff(1) and git-blame(1) is
> used to assign hunks to commits since the revision given on the
> commandline, which will typically represent a topic branch. Then it
> creates fixup commits to be used with git rebase --autosquash.
> 
> - There is another program called git-absorb which performs
>   essentially the same function as git-autofixup but is written in Rust
>   instead of Perl. Since Perl is much easier to package in Debian I went
>   for the latter ;)

Well, OTOH git-absorb already *is* in Debian :)

> - I plan to maintain this package myself, though I am looking for a
>   sponsor.

I can probably sponsor it. Or you can ask in pkg-perl (cc'ed).

-- 
Cheers,
  Andrej



Bug#987884: ITP: git-autofixup -- Automatically fixup commits with related changes

2021-05-01 Thread Daniel Gröber
Package: wnpp
Severity: wishlist
Owner: Daniel Gröber 

Hi list,

I am working on packaging git-autofixup a program to help with
amending git commits during code review.

* Package name: git-autofixup
  Version : 0.003001
  Upstream Author : Jordan Torbiak
* URL : https://github.com/torbiak/git-autofixup
* License : Artistic 2.0
  Programming Lang: Perl 5
  Description : Automatically fixup commits with related changes

git-autofixup creates fixup commits from changes in the worktree. This
can save the tedious work of amending fixes into the appropriate
commits during codereview.

Changes to consider are parsed out of git-diff(1) and git-blame(1) is
used to assign hunks to commits since the revision given on the
commandline, which will typically represent a topic branch. Then it
creates fixup commits to be used with git rebase --autosquash.

- There is another program called git-absorb which performs
  essentially the same function as git-autofixup but is written in Rust
  instead of Perl. Since Perl is much easier to package in Debian I went
  for the latter ;)

- I plan to maintain this package myself, though I am looking for a
  sponsor.

--Daniel