Skip to content

flexible source dir - #72

Open
rukyr97 wants to merge 5 commits into
tkn-tub:app-ns-3.36+from
rukyr97:app-ns-3.36+
Open

flexible source dir#72
rukyr97 wants to merge 5 commits into
tkn-tub:app-ns-3.36+from
rukyr97:app-ns-3.36+

Conversation

@rukyr97

@rukyr97 rukyr97 commented Oct 14, 2022

Copy link
Copy Markdown
Contributor

With this patch, users no longer need to move the full ns3-gym repo into the contrib folder of ns-3. Instead, they can use symbolic links.
This wasn't possible without this patch because the code was dependent of the output of os.getcwd(). Herein, the default behavior remains the same. However, we can specify with the optional source_dir parameter, what is the working directory that we want to define as the source directory.

@pgawlowicz
pgawlowicz force-pushed the app-ns-3.36+ branch 2 times, most recently from 72996bb to 6007f4b Compare May 9, 2023 18:50
@pgawlowicz

pgawlowicz commented May 9, 2023

Copy link
Copy Markdown
Contributor

Thank you for explanation. Indeed, might be a nice feature for some users. Could you clean the commit history and provide only 1 commit with the feature? The two first commits are already in main repo, so just the code allowing to set the src dir.

@rukyr97
rukyr97 force-pushed the app-ns-3.36+ branch 2 times, most recently from e67cfa3 to bc10b33 Compare May 10, 2023 09:33
@rukyr97

rukyr97 commented May 18, 2023

Copy link
Copy Markdown
Contributor Author

It is done :)

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