1234- / gitblit

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

RSS feed in branch points to global feed #556

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to use the RSS feed accessible from the branch page to get only the 
changes related to this particular branch, but the URL points to the global 
feed.

Any chance to get branch specific RSS feeds, so I could differentiate better 
the changes in the master and the other branches?

Original issue reported on code.google.com by MartinLe...@gmail.com on 30 Jan 2015 at 8:24

GoogleCodeExporter commented 9 years ago
Have you reviewed this?

http://gitblit.com/rpc.html#H3

Should be doable.  You will have to construct your URL manually.

Original comment by James.Mo...@gmail.com on 30 Jan 2015 at 2:32

GoogleCodeExporter commented 9 years ago
Ok - I got confused by the returned feed.

The feed I access with ...
    http://server:port/feed/repository.git?h=refs%2Fheads%2FbranchName
... contains not only all the pushed commits only pushed into this specific 
branch.

As explanation:
- we have next to the master branch, one branch per (technical) release
- if we fixed a bug, we merge through all branches up to the master branch

In the feed for a specific branch I find all pushed commits of all branches 
"below" the current and I do not find those from the "above" branches up to the 
master branch.

I would like to have really only those commits of one branch.

Original comment by MartinLe...@gmail.com on 30 Jan 2015 at 3:30

GoogleCodeExporter commented 9 years ago
Sorry, I don't understand your request.

If I read the feed for master:
https://dev.gitblit.com/feed/gitblit.git?h=refs/heads/master

It returns the commits pushed to master.

If I read the feed for develop:
https://dev.gitblit.com/feed/gitblit.git?h=refs/heads/develop

It returns the commits pushed to develop.

My develop is ahead of my master but they share the same lineage.  Eventually 
if I go far enough back in develop history I will see commits that are also on 
master.

If you are looking for a feed of "what is on this branch but not on another", 
Gitblit does not presently support that use-case.

Original comment by James.Mo...@gmail.com on 30 Jan 2015 at 3:50