-
Notifications
You must be signed in to change notification settings - Fork 135
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
Stashed tasks functionality #558
Comments
So. There's the How exactly would "enqueue a task without removing from stash" look like? Enqueueing means to put it inside of the queue. Why should it stay stashed? |
well for common pueue commands, you could stash them, But on the first point: |
What do you mean with "common pueue commands"? Could you explain your usecase in a bit more detail? If you're talking about the fzf scripts in the wiki, those aren't part of the official project and rather snippets provided by the community. Regarding the first point: |
I use this script to help me select. The input method is kinda scuffed but its convenient.
edit: one reason not to pop a queued job from stash is that could open the way for pu to run repeated scheduled jobs like cron maybe? - okay i saw this is not in scope in another issue, it's good to know that pueue could theoretically be made to serve this purpose, it's so much nicer than using cron/systemd in many ways relevant to my use case already. (user tasks which can be failable) After some thought, if u have the time, my lingering question is really about why have stashed and queue be different commands, why not stash+queue in one go rather than having to do one extra, admittedly easy step with the ID's? |
I'm still very much confused. When you do a Tasks only ever get stashed when the user explicitly decides to do so, which can also be done at any time via the Stashed tasks can then be enqueued via the I feel like you're confusing |
Thx for the diagram, I was a little curious about which states there were. |
Correct. Stashing is mostly for when you add a task and notice that now is not the time to run it. Your proposed usecase is already implemented with the A For
That just isn't a good ui design. Also, I haven't heard of somebody actually adding loads of stashed tasks and removing them. |
|
A detailed description of the feature you would like to see added.
Not sure if undocumented, but I couldn't find any options for handling stashed tasks in the cli.
Like maybe you want to enqueue a task without removing it from stashed
Or you want to remove all stashed tasks
Explain your usecase of the requested feature
This came up because I didn't find any better way to remove all stashed tasks without starting them than by parsing for their id's. Since kill only kills running tasks?
Alternatives
No response
Additional context
If this fits the project's scope, I'd be interested in submitting a pull request.
The text was updated successfully, but these errors were encountered: