-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration of zuliprc location to a config directory #1503
Open
Niloth-p
wants to merge
12
commits into
zulip:main
Choose a base branch
from
Niloth-p:config-zuliprc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+143
−29
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
59828e4
refactor: run: Rename fetch_zuliprc function, and add docstring.
Niloth-p 8d17aa9
refactor: run: Split parse_zuliprc() to create a separate function.
Niloth-p ebd394f
refactor: run: Set zuliprc_path via login_and_save().
Niloth-p 1bde5fd
refactor: run: Use a constant for the default zuliprc path.
Niloth-p c0a0726
platform_code: Add a function that gets the path to XDG_CONFIG_HOME.
Niloth-p d866880
run: Use the new config directory as a default zuliprc path.
Niloth-p a4038b2
run: Create account-wise zuliprc files in the new config path.
Niloth-p ffdd5ee
run: Add new positional argument `account-alias` to load config.
Niloth-p 330d6c9
run: Add new argument `--list-accounts`.
Niloth-p 27473c1
run: List all accounts when the user enters an invalid account alias.
Niloth-p 817b46a
refactor: run: Stop passing zuliprc_path to login_and_save().
Niloth-p 9681331
run: Add new argument `--new--account` to create a new account.
Niloth-p File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed parametrize as there's only one test case remaining, moved the values inside the test function.
The test function could be renamed to be more specific too.