Anyway to know if a repo/code/project is updated?

What I mean is that without having to go to every single repo/code/project that I use, isn’t there a way to get an email that says, “Hey, this project has been updated!”

There’s times where I’m a few days behind on getting updates because I have no idea if there was one.

What’s the point of Watching and Starring a code/project if you don’t get any info when there’s a change? I’ve checked the settings and there’s nothing there for that.

Sorry, I honestly don’t know what you call these things. Whatever it is that shows when you click “Code” on the page.

I’ve seen Repo, Code and Project thrown around for the same thing, so I don’t know what it’s officially called :slight_smile:

1 Like

It depends on what you mean by “updated”. Watching a repo will notify you any time a new PR is opened and subscribe you to that PR, so you would get a notification when the PR is merged. You can also subscribe to an RSS feed of a repository’s releases, which would notify you of new tags that are pushed to the repository. Unfortunately, if a project is not creating tags or using PRs, then no, there aren’t notifications for “a branch was created” or “commits were pushed” built-in to GitHub. There are some tools that provide that level of notification, for example the GitHub Slack integration does so, but you have to be an owner or admin of the repository in order to subscribe in that way.

I hope that helps!

Sorry. I’m knew to the phrases that get used on here, so I’m likely using the wrong terms.

Take this for example:

https://github.com/nls0/C-Hero-Calc

The last version I have is 3.0.2.0g:

https://github.com/nls0/C-Hero-Calc/commit/668c0dfed5e7635c64bf1b7895897ce9cd74f8dd

The current version is 3.0.7.1b

https://github.com/nls0/C-Hero-Calc/commit/f01cc8abd2427f13c80ff9515b551812d4e0b445

I’m 3 updates/commits behind. I don’t recieve emails when this is updated. I’m Watching and Stared it (the main one of course). This is not my repo (or whatever it’s called).

Is there a setting that I am missing that will send me an update when there is an update of ANYTHING on the main page? If 1 out of 20 files is changed, that an email would be sent out?

I’ve gotten emails when Issues are posted.

I’ve gotten emails when the owner has merged a commit that someone else wrote up

As an example, nls0 wrote up a change/commit to something else that I Watch/Star, and when Wiedmolol merged it, I got an email for that.

https://github.com/Wiedmolol/CQMacroCreator/pull/21

But I can’t get an email when the owner themselves makes an update? Doesn’t quite make sense to me.

Watching a repository, whether it is yours or someone else’s, will notify you of all new issues and pull requests on that repo. “Repo” is shorthand for “repository”. Watching a repository will not notify you of other activity, such as what you’re collectively calling “updates” to files. Files are changed in repositories only through commits being added to the repository. Commits are added via “branches” and the repository’s “default branch” is what you see on the main page of the repository.

No, there is no setting built-in to GitHub that will notify you of literally any change to a repository or even to only the default branch of the repository. You could set up a tool of some sort via the GitHub API that would do that for you.

Because the project owner does not use Pull Requests for their own changes to their repo, you are not getting notified of the changes they make. Some project owners use Pull Requests for all changes they make as a historic record of what they did and why they did it. Other project owners use Pull Requests only for “important” changes and only create new commits for “housekeeping” changes like updating documentation or configuration files. It’s all up to people’s preference on how they like to work and how much interaction they want or expect from others.I hope that helps!

2 Likes

Github services used to provide for a reasonable workaround for this omission:  Repo owners could have commit emails sent to a mailing list, then folks could subscribe to the mailing list.

Unfortunately, with the loss of github services, this basic capability is also getting lost.