Skip to content
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

sort out path to svn directories #2

Open
GregorRyb opened this issue Jul 17, 2023 · 3 comments
Open

sort out path to svn directories #2

GregorRyb opened this issue Jul 17, 2023 · 3 comments

Comments

@GregorRyb
Copy link
Contributor

the run script should point to something like ../../shared-svn
See: https://wiki.vsp.tu-berlin.de/node/165 --> VSP convention

@Janekdererste
Copy link
Contributor

I think the ../../shared-svn thing is a stupid convention. How do you know where people put their repos and projects. \

You could instad require path/to/shared-svn as a command line parameter and then have relative paths like projects/germany.... in your code

@kainagel
Copy link
Contributor

kainagel commented Jul 18, 2023 via email

@Janekdererste
Copy link
Contributor

Janekdererste commented Jul 18, 2023

I never use sym links 😬. I guess it doesn't matter anyway, as the shared-svn is used for internal data and everybody with access knows how to alter a run script.

One can also have a command line parameter for the repository root and let it default to ../../share-svn. This way it is one place to change in the run script in case someone (like me) doesn't know how sym links while it works by default for those who adhere to that folder structure.

The actual paths would then be built like
var networkPath = sharedSvnRoot.resolve("/path/to/project/network.xml.gz")

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

No branches or pull requests

3 participants