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

Implement upstream Git Cola update detection. #452

Closed
Vdragon opened this issue May 4, 2015 · 3 comments
Closed

Implement upstream Git Cola update detection. #452

Vdragon opened this issue May 4, 2015 · 3 comments

Comments

@Vdragon
Copy link
Contributor

Vdragon commented May 4, 2015

Hi Git Cola developers!
It would be great if Git Cola supports detecting new releases from GitHub on Git Cola(in case that user build the software without using any maintained software sources).

@Vdragon Vdragon changed the title Detect Git Cola updates. Detect upstream Git Cola updates. May 5, 2015
@Vdragon Vdragon changed the title Detect upstream Git Cola updates. Implement upstream Git Cola update detection. May 5, 2015
@kkofler
Copy link

kkofler commented May 13, 2015

The problem with this RFE is that, as a packager, I explicitly DON'T want this. I don't want my users to get notified of updates that are not yet available to them.

@Vdragon
Copy link
Contributor Author

Vdragon commented May 13, 2015

@kkofler Make an option to disable this feature?

@davvid
Copy link
Member

davvid commented May 30, 2015

I manage my git-cola installs at $dayjob using the distro-provided package manager and homegrown pacakges, so I wouldn't really use this feature myself. But, it is pretty easy to implement a custom guitool command that provides this feature if someone really wanted it.

Add the following to .gitconfig:

[guitool "Update git-cola"]
    cmd = git-cola-update

And provide a ~/bin/git-cola-update shell script:

#!/bin/sh
cd "$HOME/src/git-cola" &&
git fetch origin &&
git rebase origin/master

This will make an "Update git-cola" action appear in the Actions menu. It's not quite automatic, but at least it's only a few clicks away.

@davvid davvid closed this as completed May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants