Search issues & pulls (eg via GH / lucene search syntax) #323

Open
opened 2021-01-12 16:51:47 +00:00 by noerw · 3 comments
Member

Different options:

  1. (a) as part of tea issues ls, or (b) in a new command tea issues search similar to repos

  2. (a) using flags (--labels, --milestones...), or (b) using githubs search syntax (is:open author:norwin). The parser for this query syntax could be a part of code.gitea.io/sdk as this probably is a common use case.

Personally I'd prefer variant 1-a, 2-b

Different options: 1. (a) as part of `tea issues ls`, or (b) in a new command `tea issues search` similar to repos 2. (a) using flags (`--labels`, `--milestones`...), or (b) using githubs search syntax (`is:open author:norwin`). The parser for this query syntax could be a part of code.gitea.io/sdk as this probably is a common use case. - [example parser](https://gitea.com/jolheiser/sip/src/branch/master/qualify/qualify.go) Personally I'd prefer variant 1-a, 2-b
noerw added the
kind
feature
label 2021-01-12 16:51:47 +00:00
Owner

Befor adding it to the sdk we could evolve it in tea and when its working nicely move it ...

Befor adding it to the sdk we could evolve it in tea and when its working nicely move it ...
noerw added this to the v0.8.0 milestone 2021-03-12 11:53:55 +00:00
Author
Member

@jolheiser would you be fine if I include your qualify parser for this feature in tea, and we attribute it like the rest of the code as "© The Gitea Authors"?

@jolheiser would you be fine if I include your [qualify parser](https://gitea.com/jolheiser/sip/src/branch/master/qualify/qualify.go) for this feature in tea, and we attribute it like the rest of the code as "© The Gitea Authors"?
Owner

@jolheiser would you be fine if I include your qualify parser for this feature in tea, and we attribute it like the rest of the code as "© The Gitea Authors"?

That's fine with me. Although, a few things come to mind.

  1. That code is a bit old and could probably do with a cleanup/refactor
  2. Perhaps a separate package altogether?
    • That way you could make it more extensible (e.g. you wanted variants for a-1 vs a:1)
    • It could be used by both projects (if I have time to get back to sip, that is...)
    • Could possibly be used in Gitea itself if we want to implement it there
> @jolheiser would you be fine if I include your [qualify parser](https://gitea.com/jolheiser/sip/src/branch/master/qualify/qualify.go) for this feature in tea, and we attribute it like the rest of the code as "© The Gitea Authors"? That's fine with me. Although, a few things come to mind. 1. That code is a bit old and could probably do with a cleanup/refactor 2. Perhaps a separate package altogether? * That way you could make it more extensible (e.g. you wanted variants for `a-1` vs `a:1`) * It could be used by both projects (if I have time to get back to sip, that is...) * Could possibly be used in Gitea itself if we want to implement it there
6543 modified the milestone from v0.8.0 to v0.9.0 2021-08-16 12:54:28 +00:00
noerw changed title from Search / filter issues & pulls to Search issues & pulls (eg via GH / lucene search syntax) 2021-09-14 10:09:31 +00:00
noerw modified the milestone from v0.9.0 to v0.10.0 2022-09-13 18:05:39 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#323
No description provided.