langelescu
langelescu
CC#
Created by langelescu on 5/2/2023 in #help
❔ How to deal with paths and file system files in a Win/Linux cross platform NET 6 application?
@OneWholesomeDev But in terms of maintaining sets of application-level configuration paths that are platform specific but accessing them through the same group of symbols, think almost like a Static class that resolves its paths at runtime. So I could invoke (for the purpose of this example) MyClass.LogsFolder anywhere this is used in the code and on Windows it would give me something like C:\User\AppData\MyApp\Logs and on Linux \usr\local\MyApp\Logs. You think this is a good idea?
17 replies
CC#
Created by langelescu on 5/2/2023 in #help
❔ How to deal with paths and file system files in a Win/Linux cross platform NET 6 application?
It sounds like this is inherently messy... which is what I expected...
17 replies
CC#
Created by langelescu on 5/2/2023 in #help
❔ How to deal with paths and file system files in a Win/Linux cross platform NET 6 application?
There's one catch. The hundreds of configuration files that are built into the system contain paths that are Windows specific. E.g. C:\This white space\Path\Is\Annoying. Is there something clever I can do to update these files such that the paths here can be used in both environments. Maybe I can use a sort of relative file path for the configuration and append that to platform specific locations, but not sure this is the way to go.
17 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
So in theory, one would be able to take a service pack branch, let's say SP (originally branched off 'Product/develop') and merge it back into 'Product/x_develop'
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
But not sure if I need to redo it manually, or it will just track the commit nodes, and essentially just work despite the renaming.
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
But I do not want to rename the service pack branches. Those names are set. I just want to preserve somehow the parenting relationship
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
Are the old service pack branches going to 'just work' with respect to the new 'Product/x_develop' branch?
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
And I want the service packs that were branched off what was 'Product/develop' now to point to 'Product /x_develop', the new name for the old branch.
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
I don't want to lose data. I do expect this will require notifications and reconfiguraitons for the developers affected, but I don't want to get into some sort of irrecoverable data situation.
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
And the old branch put away for just service packs.
15 replies
CC#
Created by langelescu on 4/27/2023 in #help
✅ How to "rename" Git remote branch?
I apologize, I've messed up the description in a fundamental way (perhaps). I've updated the name of the first branch from 'x/Develop' to 'Product/develop'. The takeaway is that I want the new branch to take the name of the old branch.
15 replies