dspinellis/git-issue

Implement "gi edit"

Closed this issue · 6 comments

Should work like "gi new", but load the issue file

Sounds like a worthwhile addition. Would you like to implement and document it?

Is it expected that this would change the sha of the issue? Or would it keep the sha and make changes in the issues repo?

The issue's identifier is its number (as is a branch's name), not its SHA. So yes the SHA can change.

When you say "its number", do you mean, for example, the first line of this output? (taken from git issues show [id], where id came from git issues list.

issue c1cdc6b920e9065d885398f7f96db80847dbe3f9
Author: Maxwell Bernstein <tekknolagi@gmail.com>
Date:   Tue, 5 Jun 2018 16:04:52 -0700
Tags:   open

    Test issue

I was under the impression that we also stored sequence numbers. Apparently we don't. For GitHub issues integration #27 we'll need that. This also solves the editing problem.

@dspinellis Perhaps this can be closed now. (Also, happy 100 commits 🎉 )