mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-06 08:27:25 +02:00
Release 3.4.0 (#3811)
This commit is contained in:
parent
f73b42d23f
commit
063325b052
5 changed files with 44 additions and 5 deletions
|
@ -160,6 +160,7 @@ std::vector<NewsItem> NewsItem::all() {
|
|||
version3_1_0(items);
|
||||
version3_2_0(items);
|
||||
version3_3_0(items);
|
||||
version3_4_0(items);
|
||||
return items;
|
||||
}
|
||||
|
||||
|
@ -530,6 +531,21 @@ void NewsItem::version3_3_0(std::vector<NewsItem>& items) {
|
|||
items.push_back(info);
|
||||
}
|
||||
|
||||
void NewsItem::version3_4_0(std::vector<NewsItem>& items) {
|
||||
Version version("3.4.0");
|
||||
NewsItem info{version,
|
||||
/*title=*/"Read-Only Access",
|
||||
/*bg_title=*/"",
|
||||
/*background=*/"",
|
||||
/*punchline=*/"Some Taskwarrior commands operate faster in read-only mode",
|
||||
/*update=*/
|
||||
"Some commands do not need to write to the DB, so can open it in read-only\n"
|
||||
"mode and thus more quickly. This does not include reports (task lists),\n"
|
||||
"unless the `gc` config is false. Use `rc.gc=0` in command-lines to allow\n"
|
||||
"read-only access.\n\n"};
|
||||
items.push_back(info);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdNews::execute(std::string& output) {
|
||||
auto words = Context::getContext().cli2.getWords();
|
||||
|
|
|
@ -53,6 +53,7 @@ class NewsItem {
|
|||
static void version3_1_0(std::vector<NewsItem>&);
|
||||
static void version3_2_0(std::vector<NewsItem>&);
|
||||
static void version3_3_0(std::vector<NewsItem>&);
|
||||
static void version3_4_0(std::vector<NewsItem>&);
|
||||
|
||||
private:
|
||||
NewsItem(Version, const std::string&, const std::string& = "", const std::string& = "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue