-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Native Windows Support #2159
Comments
I'm pretty ignorant on this topic but curious: why does Cygwin not cover your needs? Is it because it is a large installation that you would prefer to avoid for wanting to just use this one program? i.e., is it because you don't have enough disk space? |
Both Cygwin and the Linux subsystem for Windows are solutions. No need for anything native. |
Thanks for the response. For instance, the However, if this lib use TaskWarrior as a backend, then calling functions provided by Say if I want to extend my python program vimscript or whatever with a lib like Then, a more natural way is to just provide a Hope this makes the request clear. |
Thanks for writing that explanation out. That satisfies my curiosity. So from what I understand, there are Taskwarrior extensions that cannot be installed in Cygwin, and thus those won't work well. That makes sense.
Indeed, and (not to crush your hopes, but just to set expectations) it doesn't seem there is support for this. Part of the problem I think is that there is no developer on the team who uses Windows without Cygwin. I'm not confident in this claim though so it could be wrong. |
Thanks for the explanation. OK, I quickly tried to cmake the package on Windows native. Simple search showed it either need a static uuid lib: or some other replacement for Windows. My ability ends here... No means to push, just put here as a reference in case someone someday would like to make it possible. |
I use the Windows Subsystem for Linux (WSL) and have no problems with it |
@JonasDralle that's great to know. Is there any specific setup that you needed to do regarding VIT? Are you using VIT 2.0? |
I'm not exactly sure what you mean with VIT. Installing WSL is quite straightforward. I didn't have any particular troubles. I have a headless ubuntu on my Windows Laptop. Installed I store the |
One could bundle all of the required libs inside the windows application enviroment and add some glue code to behave well with other windows systems. BUT
and also (but that's a personal reason and not a good argument)
So for me, TaskWarrior took me out of the MS Windows world. It was not the sole reason but it was the reason which made Linux finally sexy enough to migrate. |
Oops, I was confused. Thanks for all of the information that you gave! I'm sure others will find it useful when they come across this issue. |
I'm actually quite interested in seeing if this can be built on Windows as a native binary and so I've taken a fork of the project and plan on having a look in my spare time. If I manage to make any sensible progress I'll create a PR for the mainline project. Note: I'm not making any promises - it depends on how much free time I can find. |
@evilrix I did a brief examination some time ago, and it seems not that easy as the taskwarrior package has more dependence than I expected on the Linux distro. I was thinking a potential replacement of the backend using the |
Hello, I am already using task from WSL and it works great, the problem I have is integration with vimwiki, that I use from the native neovim win32 environment. |
edit: actually, an even easier way is to set a windows environment variable: @MartyLake based on some trial-and-error I figured out that the mingw binary looks for Therefore, nesting
in the parent directory should net you the folder structure below:
run note: home can also just be a regular folder, if symbolic links aren't an option (e.g. developer mode not enabled, or no admin privilege), but it must have a subfolder that matches your windows username. |
I'm also really interested to see native windows taskwarrior, I'm nearly have access to all my linux tools through package manager like scoop, relying on wsl (i just use it for docker backend) or cygwin is overkill for what I'm doing, and one benefits in working with native windows tool is that you can expect less weird bugs. will be really happy to see that, thanks for hard work. |
My solution is to install it in WSL, then add PowerShell functions as shortcuts to call TaskWarrior from PowerShell. # Task Warrior WSL aliases
function task {
wsl task $args
}
function t {
wsl task $args
}
function ta {
wsl task add $args
} Now you can see your tasks from either WSL or PowerShell! |
Hello, I am using task warrior in WSL, well, kind of forced to as this excellent software is unfortunately not available in windows. problem with cygwin is task calendar is not available there. In fact there is no terminal calendar available in cygwin. A native windows port will be very much appreciated. |
I'm curious why I imagine that one of the difficulties porting Some comments earlier in this thread mention things like |
Hello. Stumbled across this issue while searching for taskwarrior native windows support. I understand the argument that WSL and/or Cygwin is a workable solution for most, but I wanted to point out that some people can't install those. The hospital where I work does not allow me to install these, but a native standalone(-ish) Windows application might actually be workable. Not saying this changes the situation and not to force changes, but just pointing it out. Thanks for all the work. I enjoy using the tool. |
I'm using the same thing. But the problem is it takes eternity to first launch wsl which starts the wsl daemon, then enable the subsystem of Linux. and run then taskwarrior. Running taskwarrior plugins (that used python libs in my case, similar to what OP is doing), is a bit of a hassle. I would recommend as well as request to the taskwarrior devs for a native support. It will definitely save a lot of time and extra efforts for me. |
@aniketgm just add a script or short cut to the start up items folder on window to launch WSL at boot - then it will already be preloaded.
|
If any of you know someone with the skills and time to make this work, windows support would be a great addition! I don't know much about Windows, but I'm aware that the command-line processing that CMD.EXE does is substantially different from that of typical UNIX shells, so I suspect that might be a particular challenge since |
For those that are using "scoop", you can install "MSYS2" through scoop and then install TaskWarrior through MSYS2. It might not be native but it is an alternative and does not require Admin on the Windows box to install. Furthermore, you can compile TimeWarrior through MSYS2 and have it connected to TaskWarrior. You can also create a Powershell wrapper function that calls the msys2 shell and passes along arguments, therefore you end up with TaskWarrior functionality directly from your Powershell terminal (for those of us stuck on Windows for whatever reason). Scoop: https://scoop.sh/ |
Hi, thanks for the great software.
Since there's already an issue here, but quite old:
#1245
I'd like to ask again if it is possible to provide native windows support.
I've seen plugins that build on top of this software, like
tasklib
,taskwiki
etc, but since TaskWarrior only support linux environment, there's no way to use these outside the WSL environment for Windows users.The growing number of cmd tools for windows users as well as package management system like
scoop
andchoco
are making native Windows development more and more popular.native Windows support will be really a nice thing to have. Please support!
The text was updated successfully, but these errors were encountered: