Adding unix timestamp to executable name on projects with name that conflicts with items on project root#2377
Open
discollizard wants to merge 1 commit intodrogonframework:masterfrom
Conversation
Member
|
@discollizard thanks so much for your patch, I prefer changing the folder name rather than the executable name, what do u think? |
Contributor
Author
|
I changed the executable name because by changing it, it should never conflict with any of the folders or files; if I changed the name of the test folder only, the conflict would still appear if the project was named something else on the folder (I tested by naming a project "views" and the error still ocurred). I'm still open to suggestions, though 🙏 |
Collaborator
|
I don’t fully understand your use case here. Could you explain why it is worth adding additional complexity for this (slightly confusing) function? At this point, I’m not sure if it’s more of a workstation configuration problem than a Drogon issue. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Good evening. This PR concerns this issue: #2370
The solution I found to avoid conflict between the generated executable file and the various folders and files on the drogon_ctl generated project root folder was to add a
_<unix_timestamp>to it.