git-bug icon indicating copy to clipboard operation
git-bug copied to clipboard

project board

Open MichaelMure opened this issue 2 years ago • 4 comments

MichaelMure avatar Aug 13 '22 10:08 MichaelMure

I started looking this over yesterday but didn't finish. This morning, I realized that the "research" I'd promised which looked at how the GitHub and GitLab APIs represented Kanban is STILL on the computer at home.

The essence is:

Board <-- 1:n --> Columns <-- 1:n --> Bug (issue)

There shouldn't be a lot of operations changing columns on a board once they've been set up, but there will be a ton of adding and moving bugs around the columns, so caching should really help there. I had also looked at Github Projects and that's a whole different data structure (I'm assuming out-of-scope WRT Kanban).

In any case, Board looks like I'd expect. My only suggestion is that Board might want an open/closed status like bug.

smoyer64 avatar Aug 15 '22 11:08 smoyer64

I had also looked at Github Projects and that's a whole different data structure (I'm assuming out-of-scope WRT Kanban).

Isn't that just a board with some form of transition rules?

My only suggestion is that Board might want an open/closed status like bug.

You mean that the board itself should support being "closed" ?

MichaelMure avatar Aug 18 '22 14:08 MichaelMure

Projects can be cross-repository, so I think it's structurally similar to a board but how would the importer handle this? I also got the impression that it was possible to add cards to columns that weren't issues but it's been a few months and I'd have to look again. I'd be happy to be proven wrong too!

And yes, at least on GitHub you can mark boards as closed. I can take a look at the JSON I saved when I get back to my other computer on Monday. Better yet, I can attach the JSON to this repository for reference.

smoyer64 avatar Aug 18 '22 20:08 smoyer64

Projects can be cross-repository, so I think it's structurally similar to a board but how would the importer handle this?

Import multiple remote repo within the same local git repo?

MichaelMure avatar Aug 18 '22 21:08 MichaelMure