- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 214
 
Environment variables for portable apps #4
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
Conversation
…ER_DOWNLOAD_DIR were added\fixed
| 
           You can already use GPODDER_HOME in the current version, can't you? As far as I can tell, the only requirement that you have that isn't satisfied yet is the GPODDER_DOWNLOAD_DIR variable to control downloads? But then again, the idea is that GPODDER_HOME now works as download directory, anyway?  | 
    
| 
           My whole point was to separate the downloads directory from the config files, example(s): 1, if you have a smaller USB drive, you could redirect the downloads to the local drive or their music directory. 2. Using Google Drive (or other web service) to sync the config files and not the podcast downloads (because they could have large file sizes). I do know about gpodder sync service. Just thought it would be nice to give people some choices.  | 
    
| 
           In that case, can you rewrite the patch so that the GPODDER_DOWNLOAD_DIR can be set by the environment? For this, you have to do the following: 
 Your patch should also add information about how to use GPODDER_DOWNLOAD_DIR to the README file, similar to how GPODDER_HOME usage is described there. I guess this change would then allow you to achieve what you want? You can then set the data directory using GPODDER_HOME and the downloads directory using GPODDER_DOWNLOAD_DIR. If you don't specify GPODDER_DOWNLOAD_DIR, but do specify GPODDER_HOME, the Downloads directory will be below GPODDER_HOME, just like now.  | 
    
| 
           I believe your last commit "Merge remote-tracking branch 'upstream/master'" messed up something, it contains lots of unrelated changes. Can you rebase your patch as a single commit on top of the current master branch? If not, I'll just go ahead and probably implement the GPODDER_DOWNLOAD_DIR environment variable support myself, as discussed in bug 466: http://gpodder.org/bug/466 - please comment if for some reason this won't cover all the use cases that you want to satisfy with your patch, and I'm happy to discuss on what else needs adding/fixing.  | 
    
| 
           im really new using git. im still trying to understand it.  | 
    
Based on an initial patch by Alessandro Guido, but updated to conform to PEP-8. Also added 2 doctests.
The Flattr integration was causing the dialog to re-appear if it is closed to quickly, because of its asynchronous nature, so it has been ripped out for now. Also, the section changing wasn't working, so instead of having a comboboxentry, we now have a combo box and a button that will open a text entry dialog and allow a new section name to be entered. This will arguably also improve the user experience.
Implement extension script that will minimize (iconify) the main window of the Gtk+ UI on startup (like the old config option).
| 
           Does this mean, the ability to chose a separate download directory is now present in the original gpodder trunk? + How is it possible?  | 
    
| 
           Implemented in a similar way in commit 15e8137 (see http://gpodder.org/bug/466 for details).  | 
    
patched to allows u to change the download directory, so u can make it more portable, ex. (portableapps.com)