-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
string folding / unfolding [question] #384
Comments
I've found the answer. For string folding / unfolding, we need these 4 files only:
They also work under Windows for string (un)folding. |
Hi @jabbalaci - |
Hi, Line 26 in 805dd0c
os.geteuid() doesn't work under Windows.Well, a platform-independent separate package that would do string (un)folding would be useful. As I said, I don't do Linux clustering at all. However, your string (un)folding implementation works well with general strings too, thus this part could be generalized and put into a sub-package. |
I think we should be able to fix setup.py in order to fix pip issue under Windows. |
@degremont : it's also a good solution. There's no need to slice the project. |
@jabbalaci Could you confirm that, if you remove the |
@degremont : I tried that and it works like that under Windows. That is, I removed the |
Fixes #384. Change-Id: Ic84358a75192a40fde15e86c986ca98775ea409f
Fix proposal for 'ClusterShell timers are too fast' Fixes cea-hpc#384
I found this project because I needed string folding / unfolding, i.e. convert "node[1-3]" to a list of strings (["node1", "node2", "node3"]) and vice versa. Actually, I needed it for URLs.
I included ClusterShell in my project but I figured out later that it doesn't exist for Windows :( And I develop a cross-platform software. Could someone, who knows well ClusterShell from inside, give me a hint how I could extract just the string (un)folding part? Or do you know a project that can do this advanced string manipulation?
Thanks.
The text was updated successfully, but these errors were encountered: