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

Add optional auto-update feature #102

Open
marlonrichert opened this issue Aug 9, 2021 Discussed in #97 · 5 comments · May be fixed by #270
Open

Add optional auto-update feature #102

marlonrichert opened this issue Aug 9, 2021 Discussed in #97 · 5 comments · May be fixed by #270
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@marlonrichert
Copy link
Owner

marlonrichert commented Aug 9, 2021

This needs to be smart enough that it does not try to update repos where the work tree is dirty or where you have unpushed commits.

Discussed in #97

Originally posted by xenoterracide August 4, 2021
Does zsnap do any lazy evalution? such as I don't want to do any evaluation until conditions such as prompt available or command pattern matched for completion?

do you have any comparison times with other frameworks?

how does zsnap update plugins and itself? do I need to write a cron/timer?

@marlonrichert marlonrichert added the enhancement New feature or request label Aug 9, 2021
@xenoterracide
Copy link

xenoterracide commented Aug 9, 2021

I still think that cron jobs should be enough, with sample files for system. I think I might go make a system bug asking for an implementation of crontab CLI or something; the dirty tree thing might still be a thing to enhance the update command.

@marlonrichert marlonrichert self-assigned this Aug 19, 2021
@marlonrichert marlonrichert added the help wanted Extra attention is needed label Nov 6, 2021
@srobinson
Copy link

I still think that cron jobs should be enough, with sample files for system. I think I might go make a system bug asking for an implementation of crontab CLI or something; the dirty tree thing might still be a thing to enhance the update command.

git maintenance run will fetch hourly

@marlonrichert
Copy link
Owner Author

marlonrichert commented Apr 11, 2022

@srobinson But it doesn’t pull.

@marlonrichert marlonrichert removed their assignment Jun 22, 2022
@hawktang
Copy link

need to add the function of self update

@marlonrichert
Copy link
Owner Author

@hawktang Please make a new issue for that.

rcloran added a commit to rcloran/zsh-snap that referenced this issue Oct 10, 2023
@rcloran rcloran linked a pull request Oct 10, 2023 that will close this issue
4 tasks
rcloran added a commit to rcloran/zsh-snap that referenced this issue Oct 10, 2023
rcloran added a commit to rcloran/zsh-snap that referenced this issue Oct 10, 2023
rcloran added a commit to rcloran/zsh-snap that referenced this issue Oct 10, 2023
rcloran added a commit to rcloran/zsh-snap that referenced this issue Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants