This commit is contained in:
Adam Porter 2021-06-21 01:11:46 -05:00
parent 57c737b322
commit 4424830d0f

114
NOTES.org
View file

@ -20,24 +20,16 @@
** Bugs ([[org-ql-search:todo%253A%2520tags%253Abug?super-groups=%2528%2528%253Aauto-property%2520%2522Milestone%2522%2529%2529&sort=%2528todo%2529&title=%2522Bugs%2522][view]]) ** Bugs ([[org-ql-search:todo%253A%2520tags%253Abug?super-groups=%2528%2528%253Aauto-property%2520%2522Milestone%2522%2529%2529&sort=%2528todo%2529&title=%2522Bugs%2522][view]])
#+BEGIN: org-ql :query "todo: tags:bug" :columns ((priority "P") ((property "milestone") "M") (todo "Keyword") heading) :sort (priority todo date) :ts-format "%Y-%m-%d %H:%M" #+BEGIN: org-ql :query "todo: tags:bug" :columns ((priority "P") ((property "milestone") "M") (todo "Keyword") heading) :sort (priority todo date) :ts-format "%Y-%m-%d %H:%M"
| P | M | Keyword | Heading | | P | M | Keyword | Heading |
|---+-----+---------+----------------------------------------------------------| |---+-----+----------+----------------------------------------------------------|
| A | 0.6 | PROJECT | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] | | A | 0.6 | PROJECT | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] |
| A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] | | A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] |
| | | TODO | [[Add tests for ts-related predicates][Add tests for ts-related predicates]] | | | | TODO | [[Move from-to-on argument processing to query normalizers][Move from-to-on argument processing to query normalizers]] |
| | | TODO | [[deadline][deadline]] | | | | TODO | [[clocked][clocked]] |
| | | TODO | [[clocked][clocked]] | | | | TODO | [[closed][closed]] |
| | | TODO | [[closed][closed]] | | | | TODO | [[Remove old ~--from-to-on~ macro completely][Remove old ~--from-to-on~ macro completely]] |
| | | TODO | [[planning][planning]] | | | | NEXT | [[Check Org 9.4 source code for second argument][Check Org 9.4 source code for second argument]] |
| | | TODO | [[ts][ts]] | | | | UNDERWAY | [[ts][ts]] |
| | | TODO | [[Move from-to-on argument processing to query normalizers][Move from-to-on argument processing to query normalizers]] |
| | | TODO | [[deadline][deadline]] |
| | | TODO | [[scheduled][scheduled]] |
| | | TODO | [[clocked][clocked]] |
| | | TODO | [[closed][closed]] |
| | | TODO | [[planning][planning]] |
| | | TODO | [[ts][ts]] |
| | | NEXT | [[Check Org 9.4 source code for second argument][Check Org 9.4 source code for second argument]] |
#+END: #+END:
** Milestones ([[org-ql-search:todo%253A?super-groups=%2528%2528%253Aauto-property%2520%2522milestone%2522%2529%2529&sort=%2528todo%2529&title=%2522Milestones%2522][view]]) ** Milestones ([[org-ql-search:todo%253A?super-groups=%2528%2528%253Aauto-property%2520%2522milestone%2522%2529%2529&sort=%2528todo%2529&title=%2522Milestones%2522][view]])
@ -61,8 +53,10 @@
#+BEGIN: org-ql :query (or (todo "UNDERWAY") (and (todo "PROJECT") (descendants (todo "UNDERWAY")))) :columns (((property "milestone") "M") (priority "P") (todo "Keyword") heading) :sort (priority date) :ts-format "%Y-%m-%d %H:%M" #+BEGIN: org-ql :query (or (todo "UNDERWAY") (and (todo "PROJECT") (descendants (todo "UNDERWAY")))) :columns (((property "milestone") "M") (priority "P") (todo "Keyword") heading) :sort (priority date) :ts-format "%Y-%m-%d %H:%M"
| M | P | Keyword | Heading | | M | P | Keyword | Heading |
|-----+---+----------+--------------------------------------------------------------------| |-----+---+----------+--------------------------------------------------------------------|
| 0.6 | A | PROJECT | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] |
| 0.7 | B | PROJECT | [[Optimized, date-specific timestamp regexps][Optimized, date-specific timestamp regexps]] | | 0.7 | B | PROJECT | [[Optimized, date-specific timestamp regexps][Optimized, date-specific timestamp regexps]] |
| 0.7 | B | PROJECT | [[Group tag support][Group tag support]] | | 0.7 | B | PROJECT | [[Group tag support][Group tag support]] |
| | | UNDERWAY | [[ts][ts]] |
| | | UNDERWAY | [[~clocked~][~clocked~]] | | | | UNDERWAY | [[~clocked~][~clocked~]] |
| | | UNDERWAY | [[~closed~][~closed~]] | | | | UNDERWAY | [[~closed~][~closed~]] |
| | | UNDERWAY | [[~deadline~][~deadline~]] | | | | UNDERWAY | [[~deadline~][~deadline~]] |
@ -87,15 +81,15 @@
** Stuck projects ([[org-ql-search:%2528and%2520%2528todo%2520%2522PROJECT%2522%2529%2520%2528not%2520%2528descendants%2520%2528todo%2520%2522NEXT%2522%2520%2522UNDERWAY%2522%2529%2529%2529%2529?super-groups=%2528%2528%253Aauto-property%2520%2522milestone%2522%2529%2529&sort=%2528priority%2529&title=%2522Stuck%2520Projects%2522][view]]) ** Stuck projects ([[org-ql-search:%2528and%2520%2528todo%2520%2522PROJECT%2522%2529%2520%2528not%2520%2528descendants%2520%2528todo%2520%2522NEXT%2522%2520%2522UNDERWAY%2522%2529%2529%2529%2529?super-groups=%2528%2528%253Aauto-property%2520%2522milestone%2522%2529%2529&sort=%2528priority%2529&title=%2522Stuck%2520Projects%2522][view]])
#+BEGIN: org-ql :query (and (todo "PROJECT") (not (descendants (todo "NEXT" "UNDERWAY")))) :columns (((property "milestone") "M") (priority "P") heading) :sort (priority date) :take 7 #+BEGIN: org-ql :query (and (todo "PROJECT") (not (descendants (todo "NEXT" "UNDERWAY")))) :columns (((property "milestone") "M") (priority "P") heading) :sort (priority date) :take 7
| M | P | Heading | | M | P | Heading |
|--------+---+---------------------------------------------------------| |--------+---+-----------------------------------------|
| 0.6 | A | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] | | | A | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] |
| | A | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] | | 0.6 | A | [[Reverse sorting][Reverse sorting]] |
| 0.6 | A | [[Reverse sorting][Reverse sorting]] | | | A | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] |
| | A | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] | | | B | [[Outline path predicate][Outline path predicate]] |
| | B | [[Outline path predicate][Outline path predicate]] | | | B | [[Document the sorting functions][Document the sorting functions]] |
| | B | [[Document the sorting functions][Document the sorting functions]] | | future | B | [[Recursive queries][Recursive queries]] |
| future | B | [[Recursive queries][Recursive queries]] | | future | B | [[Timeline view][Timeline view]] |
#+END: #+END:
* [#A] Tasks * [#A] Tasks
@ -358,41 +352,63 @@ When tag inheritance is enabled, and the given tags aren't file-level tags, we c
** PROJECT [#A] Timestamp predicates using relative dates break caching :bug: ** PROJECT [#A] Timestamp predicates using relative dates break caching :bug:
:PROPERTIES: :PROPERTIES:
:milestone: 0.6 :milestone: 0.6
:branch: wip/fix-223
:issue-link: [[https://github.com/alphapapa/org-ql/issues/223][Cache is not invalidated for relative date/time queries · Issue #223 · alphapapa/org-ql · GitHub]]
:END: :END:
+ [[https://github.com/alphapapa/org-ql/issues/223][Cache is not invalidated for relative date/time queries · Issue #223 · alphapapa/org-ql · GitHub]]
Could fix this in a 0.5.3 release, but I think too much code changes are involved for a bugfix release. Could fix this in a 0.5.3 release, but I think too much code changes are involved for a bugfix release.
*** TODO Add tests for ts-related predicates *** TODO Move from-to-on argument processing to query normalizers
I think it's necessary to do this for every one, unfortunately.
**** TODO deadline
**** TODO clocked **** TODO clocked
+ [ ] Use new ~--normalize-from-to-on~ macro
+ [ ] Remove old ~--from-to-on~ from ~--query-predicate~
+ [ ] Add tests
- [ ] Query normalization
- [ ] Results
**** TODO closed **** TODO closed
**** TODO planning + [ ] Use new ~--normalize-from-to-on~ macro
+ [ ] Remove old ~--from-to-on~ from ~--query-predicate~
+ [ ] Add tests
- [ ] Query normalization
- [ ] Results
**** TODO ts **** TODO Remove old ~--from-to-on~ macro completely
**** UNDERWAY ts
+ [ ] Use new ~--normalize-from-to-on~ macro
+ [ ] Remove old ~--from-to-on~ from ~--query-predicate~
+ [-] Add tests
- [X] Query normalization
- [ ] Results
**** DONE planning
+ [X] Use new ~--normalize-from-to-on~ macro
+ [X] Remove old ~--from-to-on~ from ~--query-predicate~
+ [X] Add tests
- [X] Query normalization
- [X] Results
**** DONE deadline
+ [X] Use new ~--normalize-from-to-on~ macro
+ [X] Remove old ~--from-to-on~ from ~--query-predicate~
+ [X] Add tests
- [X] Query normalization
- [X] Results
**** DONE scheduled **** DONE scheduled
*** TODO Move from-to-on argument processing to query normalizers + [X] Use new ~--normalize-from-to-on~ macro
+ [X] Remove old ~--from-to-on~ from ~--query-predicate~
**** TODO deadline + [X] Add tests
- [X] Query normalization
**** TODO scheduled - [X] Results
**** TODO clocked
**** TODO closed
**** TODO planning
**** TODO ts
** PROJECT [#A] Compatibility with Org 9.4 custom link changes :bug: ** PROJECT [#A] Compatibility with Org 9.4 custom link changes :bug:
:PROPERTIES: :PROPERTIES: