davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Branch deletes should up in "Activity" feeds #550

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete a remote branch

What is the expected output? What do you see instead?
I expect that to show up under activity feeds. It does however show up under 
the reflog for that repo.

What version of the product are you using? On what operating system?
1.6.2 on Windows

Original issue reported on code.google.com by oliver.steven on 22 Jan 2015 at 8:39

GoogleCodeExporter commented 9 years ago
For clarification, I mean *remote* branches.

Original comment by oliver.steven on 22 Jan 2015 at 8:39

GoogleCodeExporter commented 9 years ago
TL;DR: Not a priority for me, but I think eventually this will be resolved.

The activity feeds don't use the reflog.  They are built from the commit 
history.  The primary failure here is that Gitblit has too many use-cases and 
takes a lowest-common denominator approach for some features.

In this case, activity feeds are built from the commit history because:

1. Gitblit can be a viewer for repos served by another tool (gitolite, Gerrit)
2. Gitblit can be a viewer for local clones
3. Gitblit does not assume it is always serving repositories

Eventually, I think Gitblit will become more opinionated and less flexible to 
provide a better experience for it's intended purpose: repository serving.

Original comment by James.Mo...@gmail.com on 26 Feb 2015 at 2:34