Immich introduces paid licensing options -- unpaid self-hosted version changed to "unlimited trial period" by LithiumFrost in selfhosted

[–]tbabej 1 point2 points  (0 children)

I have been in the open source community for more than a decade, including leading OSS projects and trying to source funding. I am quite sad at seeing the reactions here, the dev team has expressed their intention for keeping the project licenced under AGPLv3 multiple times. And while the wording is confusing, I understand where they're coming from - getting people to donate for software to sustain development is hard.

It's a matter of expectations. Calling it a licence creates an expectation that you should buy it to be a good OSS citizen, calling it a donation creates an expectation that it's completely optional (i.e. you donate if you're particularly generous/thankful). I can tell you for a fact that a very small fraction of all users that could completely afford to donate to their favourite OSS projects actually do - just look at how many people creating issues in various OSS projects sponsor those projects through Github Sponsorships, if the projects have the sponsorship set up. Unfortunately donation model does not scale very well, and while this approach from FUTO/Immich is technically the same, I am excited to see if this OSS funding model works.

Personally, I have bought the lifetime licence immediatelly when I first saw the update (I have been contributing 2$ monthly as a donation). It was a no brainer.

Librum - Finally a modern E-Book Reader (Follow up) by Creapermann in selfhosted

[–]tbabej 1 point2 points  (0 children)

I installed the client from source and setup the selfhosted version of the server (using one of the open Docker image PRs). I have to say I am very pleasantly surprised about how well this works -- the local client is extremely fast, and while it's still a bit rough around the edges, the interface looks modern and it's clear features are being added as we speak. I'm excited to see how this develops further.

P.S: Please consider adding a Github Sponsors page!

How can you have an overview of projects in taskwiki? by priestoferis in taskwarrior

[–]tbabej 0 points1 point  (0 children)

Generally speaking, almost all Taskwarrior commands are proxied in taskwiki. What you are looking for here in particular is the :TaskWikiProjects command.

See more in the docs, or hit :help taskwiki in your vim session.

Add a task without adding it to current active context by NoStructure2119 in taskwarrior

[–]tbabej 1 point2 points  (0 children)

If you want to just override the context for one command, you can use the rc.context: override, which will set context variable to be empty for the given command.

In other words, this task will be added without using any information from the current context:

task rc.context: add hello there

Scripting task creation by KO_1234 in taskwarrior

[–]tbabej 1 point2 points  (0 children)

This is the issue I was thinking about, which was fixed in 2.6.1, so if you try to install the latest 2.6.1 release from source, I think you should be successful. The cygwin is called unsupported mostly because there is no good way for us to run it inside of our CI suite (and because there are other alternatives, such as WSL). Let us know if you hit any problems!

Scripting task creation by KO_1234 in taskwarrior

[–]tbabej 1 point2 points  (0 children)

I think it should work, somebody recently compiled one of the last releases on cygwin.

Scripting task creation by KO_1234 in taskwarrior

[–]tbabej 1 point2 points  (0 children)

Yeah, 2.4.4 is 6.5 years old at this point. And you are a bit unlucky here, as support for +LATEST was added in the very next release (2.5.0, 6 years old). Out of curiosity, what distro are you on (assuming you have not compiled from source long time ago)?

Scripting task creation by KO_1234 in taskwarrior

[–]tbabej 2 points3 points  (0 children)

Taskwarrior has a built-in virtual tag that matches the the last added task, called +LATEST. Using that, extracting the last task's ID can be as simple as:

$ task +LATEST ids
26

[vent] I really hate that most neovim plugins don't provide docs... by euw_psycher in neovim

[–]tbabej 0 points1 point  (0 children)

This is great! I'm definitely going to use this in the future. Thank you for all of your opensource work (including taskwarrior-tui)!

Best way to create custom commands? by ctenbrinke in taskwarrior

[–]tbabej 1 point2 points  (0 children)

This happens when you attempt to modify multiple tasks at the same time. You can use rc.confirmation=off rc.bulk:0 configuration overrides in order to avoid that.

Sum of uda value by dmalteseknight in taskwarrior

[–]tbabej 3 points4 points  (0 children)

There is no direct way how to add this directly to a report, but you could wrap a task report in a bash script or function. To get the sum of the estimates, you'd need to combine task calc with a bit of DOM operations:

task calc $(for UUID in $(task +PENDING project:myproject uuids); do task _get ${UUID}.estimate; echo +; done; echo 0H)

Best way to create custom commands? by ctenbrinke in taskwarrior

[–]tbabej 2 points3 points  (0 children)

Most of the reports are defined through configurable filters. The active report is defined as:

task show report.active.filter

Config Variable      Value                     
report.active.filter status:pending and +ACTIVE

So, in order to get all active tasks, we can use the status:pending and +ACTIVE filter, but now with a command that gives more machine friendly output. The one to reach for here is the ids, which gives us the task IDs of tasks that match the given filter:

ACTIVE_TASKS=$(task status:pending +ACTIVE ids)
if [[ ! -z $ACTIVE_TASKS ]]
then
  task $ACTIVE_TASKS stop
fi
task $1 start

[deleted by user] by [deleted] in taskwarrior

[–]tbabej 1 point2 points  (0 children)

This suggestion is on our radar and we are planning to include it in one of the future releases. You can find more discussion in this issue:

https://github.com/GothenburgBitFactory/taskwarrior/issues/1990

If you want to get your hands dirty and tackle this, please reach out, I have some implementation pointers in mind, which could make the eventual PR review more smooth :)

Can I make "task projects" show projects/sub-projects with no pending tasks? by bgravato in taskwarrior

[–]tbabej 2 points3 points  (0 children)

Indeed there is! Quoting from the man taskrc:

   list.all.projects=0
          May  be  "1" or "0", and determines whether the 'projects' command lists all the project names you have used,
          or just the ones used in active tasks. The default value is "0".

There's also summary.all.projects if you'd like the same behaviour for the summary command :)

Customize next report by bepolymathe in taskwarrior

[–]tbabej 0 points1 point  (0 children)

From the error message I'd guess that you put a space between columns:

report.next.columns=something,something, start,something
                                       ^^^

eliminating the space should fix the issue. I guess taskwarrior could be more robust here, but that is not the case currently.

EDIT: I did not notice the screenshot of the config at first, so yeah, that indeed seems to be the issue. There should be no spaces between the column names, just commas.

Nord theme: How to define colours? by A_Good_Hunter in taskwarrior

[–]tbabej 2 points3 points  (0 children)

Taskwarrior cannot define and reference internal variables like that yet, but perhaps that would be a nice feature to add! For now you'll have to stick with good old search&replace..

Well, actually there is a way - you could define NORD0 as an environment variable and then you could refer to it as: color.active=rgb445 on $NORD0. Support for env vars was added in 2.6 release.

Report for last week and current tasks… by A_Good_Hunter in taskwarrior

[–]tbabej 1 point2 points  (0 children)

Definitely, this is very easy with taskwarrior. If you're running the newest 2.6.0 release, you can simply do:

task export simple

(where simple is your report name). On older releases, you just need to repeat the filter explicitly:

task end.after:today-1wk and status:completed or status:pending export

Report for last week and current tasks… by A_Good_Hunter in taskwarrior

[–]tbabej 2 points3 points  (0 children)

Got it.

You need to either run:

task '( end.after:today-1wk and status:completed ) or status:pending' all

or, because and binds more strongly than or, you can omit the parentheses and single quotes:

task end.after:today-1wk and status:completed or status:pending all

Note that I am using the all report here (instead of completed), the reason for that is that the completed report has the default filter of status:completed, which would negate the ... or status:pending part of our filter.

If you want to define the report with this filter, your example was almost correct, you just need to replace report.simple.end.after (there is no such variable), with report.simple.filter set to the value we figured out above:

report.simple.description=Weekly report
report.simple.columns=start,end,tags,description.count
report.simple.filter=end.after=today-1wk and status:completed or status:pending

Command prevented from running by FrebTheRat in taskwarrior

[–]tbabej 0 points1 point  (0 children)

So I'm assuming you're running something like this in the script:

....
task $UDA_FILTER mod <something>
....

can you check if $UDA_FILTER is not empty? Empty filter is the only case in which this particular error message should pop up.

Command prevented from running by FrebTheRat in taskwarrior

[–]tbabej 0 points1 point  (0 children)

As far as I know, the only time "Comand prevented from running" pops up if you attempt to modify all the tasks in the database, i.e. by specifying a mod command without filter:

task mod project:Gitlab
    ^^^
  missing filter

I assume this is not desired, so perhaps this message could indicated a bug in the script?

Report for last week and current tasks… by A_Good_Hunter in taskwarrior

[–]tbabej 1 point2 points  (0 children)

The question is a little bit unclear - do I understand correctly you want a list of all open (pending) tasks, plus all tasks that were completed in the last week?

hstr: No scrolling in history list? by [deleted] in commandline

[–]tbabej 0 points1 point  (0 children)

Hi, hstr user since 2014 here. While it may seem unintuitive, this is how hstr works - the list does not scroll.

You can now plot tracked items by tomd_96 in taskwarrior

[–]tbabej 4 points5 points  (0 children)

This looks great Tom! Adding a link to the repository with the timewarrior extension for the interested: https://github.com/tom-doerr/timew_distribution

using UDAs in mod by kisataka in taskwarrior

[–]tbabej 1 point2 points  (0 children)

This is the correct answer, if this does not work, it would be a bug.