Skip to content

We need a USER_DIR to install BiglyBT globally on Linux#2159

Open
sergiomb2 wants to merge 1 commit intoBiglySoftware:masterfrom
sergiomb2:let_have_INSTALL_DIR
Open

We need a USER_DIR to install BiglyBT globally on Linux#2159
sergiomb2 wants to merge 1 commit intoBiglySoftware:masterfrom
sergiomb2:let_have_INSTALL_DIR

Conversation

@sergiomb2
Copy link
Contributor

Regarding issue #2157 , I noticed that -Djava.library.path= and -Dazureus.install.path are always equal but can be different , let install plugins on homedir while main jar is installed java.library.path , fix my packaging problem .

@ferdnyc
Copy link
Contributor

ferdnyc commented Nov 27, 2021

@sergiomb2

My only suggestion (bikeshedders, assemble!) would be to go with something other than INSTALL_DIR, if the example path is going to be pointed at the user's $HOME/.biglybt directory. That's not really any kind of "install" dir. CONFIG_DIR or SETTINGS_DIR or USER_PLUGINS_DIR or something like that strikes me as more descriptive, if that's where it's expected to point.

And if that's not where it's expected to point (like, say, it's pointing instead to a shared plugins path), then I'd still go with PLUGINS_DIR or something like that. PROGRAM_DIR and INSTALL_DIR sound like the exact same thing, to me.

@sergiomb2 sergiomb2 force-pushed the let_have_INSTALL_DIR branch from 9d56993 to 11b81c9 Compare June 1, 2022 14:04
@sergiomb2 sergiomb2 force-pushed the let_have_INSTALL_DIR branch 2 times, most recently from 7ee3d72 to 012c5c6 Compare January 14, 2024 07:59
@sergiomb2
Copy link
Contributor Author

@sergiomb2

My only suggestion (bikeshedders, assemble!) would be to go with something other than INSTALL_DIR, if the example path is going to be pointed at the user's $HOME/.biglybt directory. That's not really any kind of "install" dir. CONFIG_DIR or SETTINGS_DIR or USER_PLUGINS_DIR or something like that strikes me as more descriptive, if that's where it's expected to point.

And if that's not where it's expected to point (like, say, it's pointing instead to a shared plugins path), then I'd still go with PLUGINS_DIR or something like that. PROGRAM_DIR and INSTALL_DIR sound like the exact same thing, to me.

indeed, USER_PLUGINS_DIR is more intuitive , with USER_PLUGINS_DIR we may install plugins in our home directory and have biglybt installed on system, /usr/share/java/biglybt .

thanks for the suggestion

@sergiomb2 sergiomb2 force-pushed the let_have_INSTALL_DIR branch from 012c5c6 to 7b64508 Compare November 23, 2025 04:37
@sergiomb2
Copy link
Contributor Author

I changed the commit message to: [1] and the commit also already uses USER_PLUGINS_DIR as suggested.

[1]
We need a USER_PLUGINS_DIR

so that BiglyBT can be installed in the PROGRAM_DIR without write permission for the user, and the user can store their    
own plugins in their USER_PLUGINS_DIR.    

@sergiomb2 sergiomb2 changed the title Let have a different INSTALL_DIR and PROGRAM_DIR We need a USER_PLUGINS_DIR to provide a local plugin directory, while PROGRAM_DIR define the global location. Nov 23, 2025
@sergiomb2 sergiomb2 changed the title We need a USER_PLUGINS_DIR to provide a local plugin directory, while PROGRAM_DIR define the global location. We need a USER_PLUGINS_DIR to provide a local plugin directory, while PROGRAM_DIR defines the global location. Nov 23, 2025
so that BiglyBT can be installed in the PROGRAM_DIR without write permission for the user, and the user can store their
own plugins in their USER_DIR.
@sergiomb2 sergiomb2 force-pushed the let_have_INSTALL_DIR branch from 7b64508 to 7b4fa0b Compare December 16, 2025 17:21
@sergiomb2 sergiomb2 changed the title We need a USER_PLUGINS_DIR to provide a local plugin directory, while PROGRAM_DIR defines the global location. We need a USER_DIR to install BiglyBT globally on Linux Dec 16, 2025
@sergiomb2
Copy link
Contributor Author

sergiomb2 commented Dec 16, 2025

We need a USER_DIR to install BiglyBT globally on Linux

so that BiglyBT can be installed in the PROGRAM_DIR, where users do not have write permissions, while users can store their plugins and configuration in the USER_DIR.

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

Successfully merging this pull request may close these issues.

2 participants