(RFC) feat: make the default project optional - #1007
Draft
karaolidis wants to merge 1 commit into
Draft
Conversation
init can now be run with --no-project/--no-board. Without a default project, list commands span all projects; create/clone/epic commands still require -p. Passing -p to `issue create` resolves issue types from the API instead of the cached config. Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
POC for making the default project optional (#942, #611, #760, probably others).
Not asking to merge immediately, just want to know if this direction is acceptable before cleaning up.
Today project is required and the answer is raw JQL (#420). This PR makes the following changes:
init --no-project/--no-board, and init now asks instead of forcing it (backwards incompatible)issue list/epic listspan all projectsissue create -p OTHERresolves issue types live, so any project works per-commandBuilds on the existing hasProjectFilter/Raw() code from #395 (rewrote the regex
as a tokenizer so
projectinside quotes isn't matched).