Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic RSS support #569

Closed
3 tasks done
dfrrt5r6uyfrt opened this issue Jan 3, 2017 · 24 comments · Fixed by #16002 or #19055
Closed
3 tasks done

Basic RSS support #569

dfrrt5r6uyfrt opened this issue Jan 3, 2017 · 24 comments · Fixed by #16002 or #19055
Assignees
Labels
hacktoberfest issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/summary This issue aggregates a bunch of other issues
Milestone

Comments

@dfrrt5r6uyfrt
Copy link

dfrrt5r6uyfrt commented Jan 3, 2017

Add an RSS feed for

@lunny lunny added this to the 1.x.x milestone Jan 3, 2017
@lunny lunny added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Jan 3, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Jan 6, 2017

This is needed for Activity-log API so #64

@bkcsoft
Copy link
Member

bkcsoft commented Jan 6, 2017

gogs/gogs#2301

@Pofilo
Copy link
Contributor

Pofilo commented Apr 20, 2018

+1

@bkcsoft
Copy link
Member

bkcsoft commented Apr 28, 2018

If anyone wanna have a go at this, I suggest https://github.com/gorilla/feeds as it's well maintained

EDIT: especially since the Activity API would need Atom feeds :)

@stevenroose
Copy link

I'm very interested in this. I might try to work on this a bit in September/October.

It shouldn't be that hard, right? GitHub has an Atom feed for every repo with commits, releases and tags. Apart from these, I think "issues" (including PRs) and "issues+comments" (including PRs and comments) would make a lot of sense. Do you think splitting Issues and PRs is better than having them combined?

I'd basically like the e-mail notifications (GitHub-style), to be found in an Atom feed.

@stale
Copy link

stale bot commented Jan 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Jan 23, 2019
@SamWhited
Copy link

Ping; since this is being marked as stale I'd like to say that I also have a use case for this. As a package maintainer, and someone who creates software, I have a lot of dependencies that I need to keep up with. For dependencies in software and software that I package on Arch, if it is on GitHub I generally subscribe to the Atom feed for "Releases" and "Tags" and if either of those are updated I can update my package, or check if there is a reason to update my dependency. I get a lot of emails, and this is something that I don't need cluttering up my inbox and don't need to reply to, so I prefer to use a feed. It would be nice to be able to do the same thing on Gitea if anyone has the time; and if not, it would be great if this issue could be kept open for future contributors to find.

Thank you for your time and consideration of this feature request.

@stale stale bot removed the issue/stale label Jan 23, 2019
@MarkusAmshove
Copy link
Contributor

A RSS feed for /notifications would also be really handy and might solve some of the proposed features if you're watching a repository.

@nickho
Copy link

nickho commented Feb 18, 2019

We are currently migrating from Gitblit to Gitea and this is a feature i will miss. It is very handy to monitor actual works on repositories without spaming your inbox.

@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Feb 18, 2019
@immanuelfodor
Copy link

As Gitea is often self-hosted, it would be great to have separate repo commit and release feeds, otherwise, you need to create an account on every single instance you have a repo to follow. Like Github has "watch only releases" and "watch all" options, but RSS feeds for Gitea as a means of decentralized notifications.

@SoulSeekkor
Copy link

+1

@6543
Copy link
Member

6543 commented Oct 19, 2020

what do you think of: GET gitea.com/user/repo.rss, GET gitea.com/user/repo.atom, GET gitea.com/user.rss and GET gitea.com/user.atom as endpoints?

@Pofilo
Copy link
Contributor

Pofilo commented Oct 19, 2020

About GET gitea.com/user/repo.rss and GET gitea.com/user/repo.atom, what will we get ? A new RSS entry for each commit ?

It could be usefull for the ones who want to see every commits.
GET gitea.com/user/repo/releases.rss and GET gitea.com/user/repo/releases.atom would be awesome to have only the entries concerning all new releases.

@6543
Copy link
Member

6543 commented Oct 19, 2020

A new RSS entry for each commit ? - what about repo "Activeties" ?

@Zocker1999NET
Copy link

I would suggest to add an endpoint containing all "activities" like commits / releases / new branches / issues / … and another few for each type (one for "commits on branch xy", one for releases, one for new issues), if this is possible and does not require to much performance

@mpldr
Copy link
Contributor

mpldr commented Nov 18, 2020

I'd like to suggest to make it GitHub-ish
Releases: https://github.com/go-gitea/gitea/releases.atom
Commits: https://github.com/go-gitea/gitea/commits.atom

I don't really see a need to add additional endpoints to get branches and so on. That's what an API is for. Maybe a way to filter the commits.atom like commits.atom?branch[]=master&branch[]=develop&author[]=poldi1405

@bendem
Copy link

bendem commented Nov 18, 2020

How about we provide rss/atom for the places that already exist displaying what's already displayed at those places?

  • Commits are currently located at $repo/commits/branch/$x -> use $repo/commits/branch/$x.rss
  • Releases are currently located at $repo/releases -> use $repo/releases.rss
  • Activity is at /activity -> use $repo/activity.rss

The only one I'd had is $repo/commits.rss which would serve the same content as $repo/commits/branch/$default_branch.

Content negation could even be used to avoid adding new routes at all, just pass in the correct accept header. Though I understand the use of the extension for ease of use.

@mxmilkiib
Copy link

mxmilkiib commented Dec 1, 2020

It would be nice if Gitea could do what GitHub and GitLab don't yet by providing both date elements as well as separate release and tag feeds.

Edit: I also found this gitea-feed-workaround (Google cache link as source is down).

@6543 6543 modified the milestones: 1.x.x, 1.16.0 Jul 12, 2021
@6543
Copy link
Member

6543 commented Sep 9, 2021

#16002 (comment)

for those looking for this issue - please look at ☝️

@6543 6543 added the type/summary This issue aggregates a bunch of other issues label Sep 10, 2021
@6543 6543 reopened this Oct 16, 2021
@6543
Copy link
Member

6543 commented Oct 16, 2021

update: user now supported, org next (wip)

@lunny lunny modified the milestones: 1.16.0, 1.17.0 Nov 9, 2021
@6543 6543 mentioned this issue Nov 18, 2021
4 tasks
@mxmilkiib
Copy link

N.b. having the [unique] id element for release feeds be something that reflects the release tag/version, something that can be easily parsed, would be very handy. GitHub does this, SourceForge and a few others use a hash, and if there the release title is made hard to parse by a developer (by not including the release number, being inconsistent with formatting, etc.) then there's no happy way to consume/use the feed (and SF feeds also unfortunately mix releases and news posts).

@6543
Copy link
Member

6543 commented Mar 1, 2022

pull for org support is ready to test ... -> #17714 merged

6543 added a commit that referenced this issue Mar 10, 2022
@6543
Copy link
Member

6543 commented Mar 10, 2022

-> #19055

@6543 6543 changed the title RSS support Basic RSS support Mar 13, 2022
@6543
Copy link
Member

6543 commented Mar 13, 2022

to extend this ... -> #19071

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hacktoberfest issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/summary This issue aggregates a bunch of other issues
Projects
None yet