Can't access my subversion repository through internet with VS 2010 - linux

Okey so I have installed ankh svn plugin on Visual Studio 2010 and I am now trying to access
my subversion server through internet. My server is linux based, and is not using apache or
SASL, just the basic install of subversion. I can commit and add files to the server locally, but as I said not over the internet. Any suggestion as to where my problem may lie?
PS I try to access the server by entering the URL: svn://my-ip-address/myfirstproject/
in VS 2010 subversion window.
where my-ip-address is not local but a public ip.
Also I am using -r flag on svnserve so my path becomes relative.

Related

How to connect to git repository in a remote Linux machine using Visual Studio 2017?

I have a git repository installed in a remote Linux server, but would like to work on it and sync my changes to the git repository using Visual Studio Community Edition 2017.
Apologies if this is a repeat question; am new to this and have looked at the existing answers on SO but don't seem to have found a direct answer for this.
I have managed to use Team Explorer to connect directly to github, but would prefer to connect to the git repository on the Linux server instead.
Thank you.
Let's say you have a user on the linux machine, with a projects subfolder in your home directory, and under that you have a git project in a folder called myproject.
You should be able to run git clone username#server:projects/myproject at any remote terminal (including windows with git installed), assuming you have an ssh server enabled on the linux server above (you may have to install openssh-server first).

TF Command Line Executable not showing up on Jenkins

I have installed Jenkins on a Linux Server and I am trying to connect Jenkins to a TFS server. I have the TFS plug-in (4.0.0) installed on my Jenkins and I have also installed the tf command line tool (from here) on my Linux server.
When I create a new job in Jenkins, I get the TFS options to specify the URL, path, user name etc. I was also expecting the "TF command line executable" option to specify the path of the tf tool in my "Manage Jenkins" options but I am not seeing it. Any pointers on why I am not seeing it?
This answers it!
From the plugin notes for TFS on Jenkins:
Ever since release 4.0.0, a TFS command-line client or tool is no
longer necessary as all the interaction with the TFS server is done
using the TFS SDK for Java. The native libraries needed by the SDK are
automatically copied to a sub-directory under the agent user's home
folder.

SVN installed on windows to access from linux

I installed subversion server on windows server and started subversion server as windows service. I created some repositorys. The access from windows clients works fine (Tortoise; and with url: svn://Servername/RepositoryA/Entw
But now i want to access from a linux/debian client. I installed subclipse. But i cannot get an access to the svn Repository. I tried with several URL, but there are the answer:
svn: No repository found in ...
Can you help me?

Setting up PHPStorm with TortoiseSVN

I have installed the VisualSVN server on our Windows Server 2008 plus i did connect it with Dreamweaver on other client PC.
so Dreamweaver is ready to go.
But i also want to setup the PHPStorm on other Client PC with that visualSVN.
But i want PHPStorm to use TortoiseSVN to connect to VisualSVN.
I can't find its settings page, i am new to PHPStorm, Especially to this Subversion Control thingy.
I also searched for this over web, but i cant find specific PHPStorm Setup procedure with TortoiseSVN or connecting to VisualSVN Server.
Can anyone Guide me to the Right Path?
The accepted answer is not entirely accurate. It is possible to use TortoiseSVN through PHPStorm's External Tools configurations. This does not integrate into the project navigation directly, but does allow direct file manipulation (and allows for 'blame' support - something PHPStorm's subversion lacks).
Similar functionality is used in eclipse.
Example, paths/macros's might need to be altered:
Name: SVN View Log
Program: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Parameters: /command:log /path:"$FileName$"
Working Directory: $FileDir$
It's impossible to connect PhpStorm to TortoiseSVN as they are doing the same thing.
Then you have two choices :
Connect PhpStorm to your SVN server with his built-in feature.
Or use TortoiseSVN
I'll recommande using PhpStorm feature as it is directly in the IDE.
You can find documentation here : https://www.jetbrains.com/phpstorm/webhelp/using-subversion-integration.html
You can actually do this very easily and it will work inside PHP Storm 8. Install Tortoise SVN and make sure to include "Command Line Tools" as part of the installation. Then you can enable External client and select the "svn.exe" as the executable. This will enable SVN 1.8 format and still work within the IDE.
My solution:
Install TortoiseSVN
Install CollabNet Subversion with command-line binaries (32 or 64-bit)
Open phpStorm
File > Settings > Version Control > Subversion
Set path for your SVN command line client
e.g.
C:\Program Files\CollabNet\Subversion Client\svn.exe
Tortoise can be used as a GUI tool, whereas CollabNet Subversion command line tool can be used with phpStorm. Enjoy!

Samba, Apache and SVN. Getting the permissions right

I have two machines I work on:
Windows Client (Development Machine)
Linux Web Server (Ubuntu)
On the Linux server I have installed Apache, Samba and SVN.
I've created a samba share that maps to the htdocs/ directory so that I can access the web files from Windows.
The following illustrates my workflow:
From command line on Linux server I checkout working copies of web projects from remote server into my local Linux server's htdocs directory.
On the Windows machine I access these files (using samba) and edit them in my editor and test them in the web browsers
Back on the Linux machine I checkin my work to the remote server.
The problem I have is that currently for me to be able to edit the files on the Windows box via Samba I have to change the owner of the files to nobody (apache user) and set the Samba share to use SHARE permissions.
When I try to use SVN to commit and update etc. I can't because my Linux user is not 'nobody' and does not have permissions to do so. So I have to become root do an SVN [command] then change all the files back to 'nobody' so that I can't edit on Windows.
What I would like to be able to do is have the web files be owned by my local Linux user which would enable SVN commands to work and for Windows (over samba) to also use this same user.
How can I get this to work, is there a way to get Windows and Linux users to match?
Why use this strange workflow? A more logical one would be:
Checkout the files on the Windows Machine directly
Edit and test them
Check in when ready
Is there something special you need from the Linux server? Cant' you install apache on Windows (for testing purposes only?)
I've solved my problem by changing all the permissions to match and then using samba USER permissions and settings up a users.map file.

Resources