Skip to content
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

XDG Specification for the bridge folder #323

Open
untainsYD opened this issue Aug 30, 2023 · 6 comments
Open

XDG Specification for the bridge folder #323

untainsYD opened this issue Aug 30, 2023 · 6 comments

Comments

@untainsYD
Copy link

On linux this plugin creates $HOME/.bridge folder, and it is an ignorance of XDG specification, it should create that folder in $XDG_CONFIG_HOME to fit the specification.
I am the user, that trying to fit this specification and this plugin ignores it.

Also, it may be an env variable or VSCode plugin setting to set the path for the .bridge folder.

@hsubramanianaks
Copy link
Collaborator

hsubramanianaks commented Sep 25, 2023

@untainsYD Thanks for raising this issue. this sounds like an enhancement which isn't supported today. It is also not handled by vscode extension, it is handled by main repo here. Is it okay to transfer this issue to actual main repo? This repo is specifically for vscode extension only. Please let me know.

@untainsYD
Copy link
Author

Is it okay to transfer this issue to actual main repo? This repo is specifically for vscode extension only. Please let me know.
Yes, of course as you wish.

@hsubramanianaks hsubramanianaks transferred this issue from Azure/vscode-bridge-to-kubernetes Oct 3, 2023
@devholland
Copy link

Hello, this issue got marked as completed, that means we can move the ~/.bridge folder somewhere else now? How can this be done?

@hsubramanianaks
Copy link
Collaborator

@devholland @untainsYD we closed all the older issues which didn't had any response from OP, this issue was closed by mistake, apologies for it. I am reopening it and we need more details about what the request is for?

so, if I am understanding correctly, you are using linux with XDG specifications and want to specify different folder or directory name for $HOME/.bridge as env variable ? we also want to know what is issue or error happening if this is not set correct ? Please let us know. Thank you.

@devholland
Copy link

devholland commented Jan 25, 2024

Hi @hsubramanianaks, I would like to clean up my $HOME directory according to the XDG specifications. Almost all of the programs I'm using can be configured this way, usually by setting an environment variable (e.g. tmux, git, awscli, vim, zsh, pyenv, etc.).

Only very few apps can not be configured this way and the B2K is unfortunately one of them. There is no error happening with the ~/.bridge folder, it is just a question of being able to have a more modern and cleaned up $HOME directory. I don't particularly care about the ~/.bridge folder and having it stored away in .local/share or .cache would be one step closer to having a XDG conforming system.

@untainsYD
Copy link
Author

so, if I am understanding correctly, you are using linux with XDG specifications and want to specify different folder or directory name for $HOME/.bridge as env variable ? we also want to know what is issue or error happening if this is not set correct ? Please let us know. Thank you.

I don't have any errors, only folder ~/.bridge in my home directory instead of .config/bridge or .config/cache/bridge, etc. I would like this folder to be in fit with XDG specification on linux, instead of putting it in home directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants