I've looked in the Wiki and still none the wiser....
So I have two versions of GC (and separate athlete data) on my machine, a stable release for every day use, and a development version, so what I want to enter two separate command lines that open the different versions and their associated athlete date, but it just doesn't seem to work...
The last open directory or athlete seems to be problematic, and GC just opens an empty select Athlete dialog, so the commands I'd like to include in my desktop icons:
Stable
C:\Program Files\Golden Cheetah\GoldenCheetah.exe D:\Quick Access\Golden Cheetah Paul
Dev:
D:\Coding\GoldenCheetah\src\release\GoldenCheetah.exe D:\Coding\GoldenCheetah\Library Paul_test
I've looked in the Wiki and still none the wiser....
So I have two versions of GC (and separate athlete data) on my machine, a stable release for every day use, and a development version
Mark & Ale,Thank you for your help, I did read the link you sent earlier and moving my test data now it now works.But I thought from the --usage option that the path & athlete [[directory] Athlete] parameters could specified, then it would override the default location or last opened location functionality.The reason why this would be useful is I like to keep my data (D drive) and applications (C Drive aka Win10 drive) separate for backup purposes, I'm not a fan of Windows storing data in AppData as this complicates my backups, I can recover my C drive from downloads from the internet, whilst my D drive holds primary state data/original files.My Stable setup isC:\Program Files\Golden Cheetah\GoldenCheetah.exeGC Data path : D:\Quick Access\Golden_Cheetah_DataAthlete : Paul (stored in D:\Quick Access\Golden_Cheetah_Data)My development setup isGC : D:\Coding\GoldenCheetah\src\release\GoldenCheetah.exeGC Data path : D:\Quick Access\Golden_Cheetah_DataAthlete : Paul_Test (stored in D:\Quick Access\Golden_Cheetah_Data)so it would be nice to be able to execute GC passing the path & athleteStable --> C:\Program Files\Golden Cheetah\GoldenCheetah.exe D:\Quick Access\Golden_Cheetah_Data PaulDev --> D:\Coding\GoldenCheetah\src\release\GoldenCheetah.exe D:\Quick Access\Golden_Cheetah_Data Paul_Testor even better as a single parameterStable --> C:\Program Files\Golden Cheetah\GoldenCheetah.exe D:\Quick Access\Golden_Cheetah_Data\PaulDev --> D:\Coding\GoldenCheetah\src\release\GoldenCheetah.exe D:\Quick Access\Golden_Cheetah_Data\Paul_TestSorry if I'm missing the point somewhere....
Looking at https://github.com/GoldenCheetah/GoldenCheetah/wiki/UG_Special-Topics_Setting-the-athlete-library would require me to edit this value each time I switched between stable and development builds, what I'm after is being able to define this on the command line, so I can have a batch file to launch stable and another for Dev.
Hi Ale,
Yes I understand and appreciate that re-factorings and changes without prior discussion aren't always going to well received, so maybe I'm I missing another discussion group that covers future changes and/or direction of the project?
As I have some time on my hands due to Covid, and keen to get involved to help improve/maintain GC, as I switched from SportsTracks a year or so back and use GC exclusively now as its great.So my proposed changes to main.cpp aren't about style, just hopefully making the processing easier to understand whilst fixing a problem with the parsing of the command line parameters.Mark has already told me to use K&R brackets... I'll eventually get with the programme :)
Hi Ale,
Thank you for assistance, and patience with my joining the project, trying to understand the processes, and my proposed changes.
I see in the project backlog there are two functions to develop/fix regarding overwriting files on import (#1706 & #621), I'm wondering how I go about taking on those changes, how do I know someone else isn't working on them?