mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
Deprecation
- Removed deprecated 'report.X.limit' feature.
This commit is contained in:
parent
ca9683d912
commit
fa58c24c66
4 changed files with 3 additions and 11 deletions
|
@ -140,6 +140,7 @@
|
||||||
- Display debug/release build type in the diagnostics command.
|
- Display debug/release build type in the diagnostics command.
|
||||||
- Removed obsolete task-faq.5 and task-tutorial.5 man pages.
|
- Removed obsolete task-faq.5 and task-tutorial.5 man pages.
|
||||||
- French localization (thanks to leowzukw).
|
- French localization (thanks to leowzukw).
|
||||||
|
- Removed deprecated 'report.X.limit' feature.
|
||||||
|
|
||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -46,6 +46,8 @@ Removed features in 2.4.0
|
||||||
- Removed the 'tasksh' program from the Taskwarrior distribution. It is now
|
- Removed the 'tasksh' program from the Taskwarrior distribution. It is now
|
||||||
a separate project.
|
a separate project.
|
||||||
- Removed the 'complete.all.projects' setting that was not used.
|
- Removed the 'complete.all.projects' setting that was not used.
|
||||||
|
- Removed support for 'report.X.limit', which can now be set in the report
|
||||||
|
filter 'limit:N'.
|
||||||
|
|
||||||
Known Issues
|
Known Issues
|
||||||
|
|
||||||
|
|
|
@ -1199,11 +1199,6 @@ report. See the
|
||||||
.B annotations
|
.B annotations
|
||||||
variable for details on the possible values. Deprecated.
|
variable for details on the possible values. Deprecated.
|
||||||
|
|
||||||
.TP
|
|
||||||
.B report.X.limit
|
|
||||||
An optional value to a report limiting the number of displayed tasks in the
|
|
||||||
generated report. Deprecated.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
Taskwarrior comes with a number of predefined reports, which are:
|
Taskwarrior comes with a number of predefined reports, which are:
|
||||||
|
|
||||||
|
|
|
@ -88,12 +88,6 @@ std::string legacyCheckForDeprecatedVariables ()
|
||||||
std::map <std::string, std::string>::const_iterator it;
|
std::map <std::string, std::string>::const_iterator it;
|
||||||
for (it = context.config.begin (); it != context.config.end (); ++it)
|
for (it = context.config.begin (); it != context.config.end (); ++it)
|
||||||
{
|
{
|
||||||
// report.*.limit
|
|
||||||
if (it->first.length () > 13 &&
|
|
||||||
it->first.substr (0, 7) == "report." &&
|
|
||||||
it->first.substr (it->first.length () - 6) == ".limit")
|
|
||||||
deprecated.push_back (it->first);
|
|
||||||
|
|
||||||
// report.*.annotations
|
// report.*.annotations
|
||||||
if (it->first.length () > 19 &&
|
if (it->first.length () > 19 &&
|
||||||
it->first.substr (0, 7) == "report." &&
|
it->first.substr (0, 7) == "report." &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue