[opensuse-factory] Question about usage of the svn command
If I want to run: svn co https://github.com/liosha/osm2mp osm2mp on e.g. Leap or also TW, do I have to run the command as root (with sudo) or do I run it as user? What would be the consequence running it as user? I suppose, if it is possible, that I may not work at all. But if it would be restricted to that specific user it would be O.k. The whole thing is a converter script in perl that should transform gps data to a garmin/tomtom etc compatible format. _________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op donderdag 12 juli 2018 20:00:34 CEST schreef stakanov:
If I want to run:
svn co https://github.com/liosha/osm2mp osm2mp
Why use svn instead of 'git clone' ?
on e.g. Leap or also TW, do I have to run the command as root (with sudo) or do I run it as user?
As a user. Only install the result as root, if you want it systemwide
What would be the consequence running it as user? I suppose, if it is possible, that I may not work at all. But if it would be restricted to that specific user it would be O.k.
The whole thing is a converter script in perl that should transform gps data to a garmin/tomtom etc compatible format.
_________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2018-07-12 a las 20:38 +0200, Knurpht-openSUSE escribió:
Op donderdag 12 juli 2018 20:00:34 CEST schreef stakanov:
If I want to run:
svn co https://github.com/liosha/osm2mp osm2mp
Why use svn instead of 'git clone' ?
Because the instructions on the page he is following say to use svn :-) - -- Cheers Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAltH7XQACgkQja8UbcUWM1zFKAD7BQ2MTFZxulFOmgncE/07wiLO q5i5bUImozn1V8LG8dcA/iHvFMvmY6XNw5psAoAObrSSxT1tK6EG/YH1QaO954te =wRXw -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2018-07-12 a las 20:00 +0200, stakanov escribió:
If I want to run:
svn co https://github.com/liosha/osm2mp osm2mp
on e.g. Leap or also TW, do I have to run the command as root (with sudo) or do I run it as user?
As user. I answered this on another post. I'm not familiar with sm2mp, but I'm familiar enough with svn. As far as you are concerned, it is just a plain download command. The command is "svn checkout source_tree_link directory" and it just makes a copy of the source tree directory (or text files or whatever) into "directory". If it were the case of C source files you would _later_ make and install them as root later. That is _later_. The svn command is run as user. Note: my description of svn is (intentionally) not precise. For your use case, it suffices, though. If you want to be more precise, well, the svn server keeps a current copy of "text files", but also of all the modifications that those text files undergo, so that you can undo some modification or get a copy of the files as they were on an exact date (and second) a year ago. Writers upload the modifications, and people can "checkout" a copy. You are only getting a copy of the files as they are this instant. A checkout, or 'co' in short. This is the least of your worries. Just run the command as user and move on to your next step :-) - -- Cheers Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAltH7PsACgkQja8UbcUWM1z9XgD/X4klRcQHjwdIMRL09vwuK2Ga wcDHZnI5Y2Ra5Bb1BLMA/iePkyr4fqT2mrV8CTNReaiPQJz+K37SeCk26c7oJAQF =CSGH -----END PGP SIGNATURE-----
In data venerdì 13 luglio 2018 02:06:19 CEST, Carlos E. R. ha scritto:
El 2018-07-12 a las 20:00 +0200, stakanov escribió:
If I want to run:
svn co https://github.com/liosha/osm2mp osm2mp
on e.g. Leap or also TW, do I have to run the command as root (with sudo) or do I run it as user?
As user.
I answered this on another post.
I'm not familiar with sm2mp, but I'm familiar enough with svn. As far as you are concerned, it is just a plain download command.
The command is "svn checkout source_tree_link directory" and it just makes a copy of the source tree directory (or text files or whatever) into "directory".
If it were the case of C source files you would _later_ make and install them as root later. That is _later_. The svn command is run as user.
Note: my description of svn is (intentionally) not precise. For your use case, it suffices, though.
If you want to be more precise, well, the svn server keeps a current copy of "text files", but also of all the modifications that those text files undergo, so that you can undo some modification or get a copy of the files as they were on an exact date (and second) a year ago. Writers upload the modifications, and people can "checkout" a copy.
You are only getting a copy of the files as they are this instant. A checkout, or 'co' in short.
This is the least of your worries. Just run the command as user and move on to your next step :-)
-- Cheers Carlos E. R.
(from openSUSE 42.3 x86_64 "Malachite" (Minas Tirith))
Thank you all, especially for the last explanation that was fantasticly "down to earth". Cheers. _________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Knurpht-openSUSE
-
stakanov